|
|
|
|
DisableDirectAccess
Disables direct access to display memory.
Declaration
void NAPI GA_2DStateFuncs::DisableDirectAccess(void)
Prototype In
snap/graphics.h
Description
This function disables direct framebuffer access and turns on the hardware accelerator again. The primary purpose of this function is to correctly arbitrate video memory access between the accelerator and the application. You must call this function before you perform any accelerated rendering again if the EnableDirectAccess function pointer was not NULL.
Note that if you are using the buffer manager functions, you should avoid using this function but instead use the LockBuffer and UnlockBuffer functions to hide the complexity of managing offscreen memory blocks.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com