Revision history for displayioShowDisplay

Revision [397]

Last edited on 2010-09-12 20:48:26 by JohnMcIntosh
See iPhone
There are two choices.
(a) We use a tiled layer of CALayers that point to GCImage's. When the view is resized or created that triggers building a set of 4x4 tiles. The bottom, and right most tiles may not be the same size as the other tiles due to size/4 math. When the displayioShowDisplay happens we mark tiles that intersect with the drawing rectangle target as dirty. No actual drawing takes place.
Mostly uses the macintosh quartz logic, loads the RGB display space CGColorSpaceCreateDeviceRGB. But does not do the drawing here, a form is created and queued for processing. Later the flush display frame logic bundles up the pending queue of draw events and asks the main thread to draw them which is done by invalidating the unioned window rectangles. Later the operating system asks to update the drawing area which then removes the bundle of draw events from the queue and renders them to the drawing area.

Revision [181]

Edited on 2008-10-16 22:54:12 by JohnMcIntosh
Somewhat simular to the sprit of the macintosh implementation but uses hand craft C code to perform the different depth conversion from the Form to the Display device. It's unclear if color mapping is respected.

Revision [180]

The oldest known version of this page was created on 2008-10-16 22:53:03 by JohnMcIntosh
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki