mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-26 12:27:58 +08:00
Tune layout of struct _SharedSurfaceHeader; Change interface of GetWindowSharedSurfaceFD()
This commit is contained in:
+3
-4
@@ -1905,11 +1905,10 @@ MG_EXPORT BOOL GUIAPI LockSharedSurfaceIfDirty (HSURF surf,
|
||||
|
||||
/**
|
||||
* \fn BOOL GUIAPI UnlockSharedSurface (HSURF surf, BOOL clear_dirty)
|
||||
* \brief Unocks the shared surface and clears the dirty information.
|
||||
* \brief Unlocks the shared surface and clears the dirty information.
|
||||
*
|
||||
* This function compares the dirty age of the shared surface with the value
|
||||
* containing in \a dirty_age, and lock the shared surface if it has
|
||||
* a larger dirty age value.
|
||||
* This function unlocks the shared surface \a surf, and clears its dirty
|
||||
* information if \a clear_dirty is TRUE.
|
||||
*
|
||||
* \param surf The handle to the shared surface.
|
||||
* \param clear_dirty A boolean value indicates whether to clear the dirty
|
||||
|
||||
+4
-2
@@ -7238,7 +7238,8 @@ MG_EXPORT BOOL GUIAPI SetMainWindowGestureFlags (HWND hWnd, DWORD dwFlags);
|
||||
#ifdef _MGSCHEMA_COMPOSITING
|
||||
|
||||
/**
|
||||
* \fn int GUIAPI GetWindowSharedSurfaceFD (HWND hwnd)
|
||||
* \fn int GUIAPI GetWindowSharedSurfaceFD (HWND hwnd, size_t *map_size,
|
||||
* DWORD *flags)
|
||||
* \brief Gets the file descriptor of the surface buffer for a window or
|
||||
* the main window it locates.
|
||||
*
|
||||
@@ -7258,7 +7259,8 @@ MG_EXPORT BOOL GUIAPI SetMainWindowGestureFlags (HWND hWnd, DWORD dwFlags);
|
||||
*
|
||||
* Since 5.0.13
|
||||
*/
|
||||
MG_EXPORT int GUIAPI GetWindowSharedSurfaceFD (HWND hWnd);
|
||||
MG_EXPORT int GUIAPI GetWindowSharedSurfaceFD (HWND hWnd, size_t *map_size,
|
||||
DWORD *flags);
|
||||
|
||||
/**
|
||||
* \fn BOOL GUIAPI SetMainWindowCompositing (HWND hWnd,
|
||||
|
||||
Reference in New Issue
Block a user