Lisp HUG Maillist Archive

without atomic redisplay

Unable to parse email body. Email id is 9506

Re: without atomic redisplay

Unable to parse email body. Email id is 9507

RE: without atomic redisplay

> Bonus points if anyone can tell me where :draw-pinboard-objects is
> documented.

Doesn't seem to be officially documented anywhere - balloons.lisp is the only place. I really think there should be info on this feature (double buffering) in the actual docs. Common Graphics (ACL) treats this topic in some depth.

> ;; 1. T - draw directly to the pinboard-layout.
> ;; 2. :BUFFER - draw directly to the global pixmap and blt the
> ;; relevant data to the screen.
> ;; 3. :LOCAL-BUFFER - draw directly the pixmap owned by the pinboard
> ;; layout and then blt the relevant data to the screen.
>
> of which 2 and 3 don't appear to any difference in the end
> results. graphics/draw-pinboard-objects-once.lisp uses
> :draw-pinboard-objects :once but it doesn't explain what that does and
> when I took that out I couldn't spot any change.

Essentially what CAPI is doing in the background is drawing to an off-screen pixmap and then copying (bliting) pixels to the displayed pane. You can manage all this yourself by creating your own pixmap. I was doing this for a while before I discovered the :DRAW-PINBOARD-OBJECTS option.

Chris


Download Messenger onto your mobile for free. Learn more.

Re: without atomic redisplay

Unable to parse email body. Email id is 9518

Updated at: 2020-12-10 08:40 UTC