Hello everyone, I'm using surface locks for some custom graphical engine tests, and don't understand the following behavior of directfb :
layer->CreateSurface(&surface, DOUBLE_BUFFERED) surface->Lock (&ptr, CPU_READ|CPU_WRITE); Here directfb return a ptr = 0x42424242 for example. Then I execute the following steps : surface->Unlock() surface->FillRectangle(0, 0, 42, 42); surface->Lock(&ptr, CPU_READ|CPU_WRITE); Here ptr has changed from its previous value. Why ? I didn't require a Flip. Should I own the lock all the time ? Thanks for answers. -- Lionel Landwerlin
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev