remove code about semaphhore for shared surface

This commit is contained in:
Vincent Wei
2023-09-08 18:14:20 +08:00
parent b131f00a79
commit 7513d461bf
7 changed files with 29 additions and 20 deletions
+2 -2
View File
@@ -1889,7 +1889,7 @@ MG_EXPORT const char *GUIAPI GetSharedSurfaceInfo (HSURF surf, int *fd,
* \brief Locks the shared surface for read.
*
* This function lock the given shared surface \a surf and returns
* the dirty age.
* the dirty information.
*
* \param surf The handle to the shared surface.
* \param dirty_age The pointer to a buffer of unsigned integer to
@@ -1899,7 +1899,7 @@ MG_EXPORT const char *GUIAPI GetSharedSurfaceInfo (HSURF surf, int *fd,
* \param dirty_rects The pointer to a buffer of (const RECT *) for the array
* of dirty rectangles; nullable.
*
* \return 1 for locked; 0 for not locked; -1 for failure.
* \return TRUE for locked; FALSE for failure.
*
* \note This function only available when _MGSCHEMA_COMPOSITING is defined.
*
+1 -1
View File
@@ -2018,7 +2018,7 @@ const CompositorOps* __ex_compositor_get (const char* name,
*
* \sa RegisterRequestHandler
*/
#define MAX_SYS_REQID 0x0024
#define MAX_SYS_REQID 0x0023
/**
* \def MAX_REQID