On Tue, 21 Jan 2003, Neil Pilgrim wrote: > So will this remove the problem (bug) fresco had with the new ggi and > its pointers? Or is this related to something else?
Yeah it should: set the flag when you open the visual, you don't have to bother to check if the flag is available. Then, whenever you draw into a directbuffer, make sure you have aquired the write lock for the buffer. Once you have acquired the lock, ggiFlushRegion will *always* flush the requested region. Note if you are using any primitives like ggiDrawBox while that lock is being held, you may need to call ggiFlushRegion; the primitive will not necessarily flush itself in this mode. -- Brian