mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-24 00:54:18 +08:00
add real_name and shadow_name for double buffering
This commit is contained in:
@@ -73,11 +73,11 @@ typedef struct GAL_PrivateVideoData {
|
||||
#else /* defined _MGSCHEMA_COMPOSITING */
|
||||
/* When double buffering supported, the real surface represents the ultimate
|
||||
* scan-out frame buffer, and the shadow screen represents the rendering
|
||||
* surface. When double buffering disabled, both are NULL. */
|
||||
* surface. When double buffering disabled, shadow_screen is NULL. */
|
||||
GAL_Surface *real_screen, *shadow_screen;
|
||||
|
||||
/* the global name of the surface buffer */
|
||||
uint32_t buff_name;
|
||||
/* the global names of real screen and shadow screen */
|
||||
uint32_t real_name, shadow_name;
|
||||
#endif /* not defined _MGSCHEMA_COMPOSITING */
|
||||
|
||||
char dev_name[LEN_DEVICE_NAME + 1];
|
||||
|
||||
Reference in New Issue
Block a user