mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 18:31:57 +08:00
add lock_count to support recursive lock
This commit is contained in:
@@ -1162,6 +1162,9 @@ typedef struct _ZNODEHEADER {
|
||||
/** Client id of the z-node. */
|
||||
int cli;
|
||||
|
||||
/** The lock count (only for compositing schema). */
|
||||
int lock_count;
|
||||
|
||||
#ifdef _MGSCHEMA_COMPOSITING
|
||||
/** The count for changes of the content. */
|
||||
unsigned int changes;
|
||||
@@ -1190,6 +1193,8 @@ typedef struct _ZNODEHEADER {
|
||||
#else
|
||||
/** The z-node change age; no use for compositing schema */
|
||||
unsigned int age;
|
||||
/** The dirty recetangle of this z-node; no use for compositing schema */
|
||||
RECT dirty_rc;
|
||||
#endif
|
||||
} ZNODEHEADER;
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ typedef struct _ZORDERNODE {
|
||||
|
||||
RECT rc; /* rect on the screen */
|
||||
int cli; /* which client? */
|
||||
unsigned int lock_count; /* the lock count */
|
||||
|
||||
#ifdef _MGSCHEMA_COMPOSITING
|
||||
unsigned int changes; /* count for changes of content */
|
||||
@@ -87,7 +88,7 @@ typedef struct _ZORDERNODE {
|
||||
const RECT* dirty_rcs; /* the pointer to the dirty rectangles */
|
||||
#else /* defined _MGSCHEMA_COMPOSITING */
|
||||
unsigned int age; /* znode age */
|
||||
RECT dirty_rc; /* dirty rect */
|
||||
RECT dirty_rc; /* dirty rectangle */
|
||||
#endif /* not defined _MGSCHEMA_COMPOSITING */
|
||||
|
||||
int idx_mask_rect; /* the first position of the mask rects. */
|
||||
|
||||
Reference in New Issue
Block a user