[haiku-development] Re: VMWare Graphics Driver Synchronization Needed?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 30 Dec 2007 16:36:51 +0100 CET

Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx> wrote:
> So my question then is, are accelerator calls automatically 
> synchronized
> by the app_server, or has the accelerator care about synchronization?

The 2D engine must take care about synchronization itself.
AFAICT, your change to SCREEN_TO_SCREEN_BLIT() shouldn't have been 
necessary, as the app_server must sync the screen before accessing bits 
that might have been clobbered by the acceleration engine - if it 
doesn't do this, either the app_server or your engine synchronization 
code is broken.

Bye,
   Axel.


Other related posts: