restore shared znode info and add mem_dc field for compositing schema

This commit is contained in:
Vincent Wei
2020-01-14 11:59:44 +08:00
parent 8d2adaa61d
commit cd5c13bf3e

View File

@@ -236,10 +236,8 @@ typedef struct _MG_Layer
/** Internal field. */
void* zorder_info;
#ifdef _MGSCHEMA_SHAREDFB
/** Internal field. */
int zorder_shmid;
#endif
} MG_Layer;
/*screen attr type*/
@@ -971,6 +969,13 @@ typedef struct _ZNODEINFO
* with WS_EX_CTRLASMAINWIN style.
*/
HWND main_win;
#ifdef _MGSCHEMA_COMPOSITING
/**
* The memory DC for this znode.
*/
HDC mem_dc;
#endif
} ZNODEINFO;
/**