no need to use semaphore to lock the dirty rectangle

This commit is contained in:
Vincent Wei
2020-03-16 22:58:24 +08:00
parent 77c76c53ae
commit 19372b2fbb
+3 -11
View File
@@ -165,18 +165,10 @@ typedef struct _SharedSurfaceHeader {
} GAL_SharedSurfaceHeader;
#endif /* IS_COMPOSITING_SCHEMA */
/*
* The header for shadow surface; used to store the dirty rectangle.
*/
/* The header for shadow screen; used to store the dirty rectangle. */
typedef struct _ShadowSurfaceHeader {
#if IS_SHAREDFB_SCHEMA_PROCS
/* The POSIX semaphore for lock the dirty rectangle;
only available for sharedfb schema and MiniGUI-Processes runmode. */
sem_t sem_lock;
#endif
/* The dirty information */
RECT dirty_rc;
/* The dirty rectangle */
RECT dirty_rc;
} GAL_ShadowSurfaceHeader;
/*