mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-26 12:27:58 +08:00
tune
This commit is contained in:
@@ -58,6 +58,11 @@
|
||||
#include "gdi.h"
|
||||
#include "constants.h"
|
||||
|
||||
#if IS_COMPOSITING_SCHEMA
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define DISABLE_THREADS
|
||||
#define GAL_mutex int
|
||||
|
||||
@@ -526,7 +531,7 @@ void GAL_FreeSharedSurfaceData (GAL_Surface *surface);
|
||||
GAL_Surface *GAL_AttachSharedRGBSurface (int fd, size_t map_size,
|
||||
Uint32 flags, BOOL with_rw);
|
||||
|
||||
void GAL_DettachSharedRGBSurfaceData (GAL_Surface *surface);
|
||||
void GAL_DettachSharedSurfaceData (GAL_Surface *surface);
|
||||
|
||||
#else /* _MGUSE_SHAREDFD */
|
||||
|
||||
|
||||
@@ -596,14 +596,6 @@ void TerminateGUI (int rcByGUI)
|
||||
client_ClientCleanup ();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if IS_COMPOSITING_SCHEMA
|
||||
mg_TerminateSemManager();
|
||||
#endif
|
||||
|
||||
mg_TerminateMisc ();
|
||||
mg_TerminateFixStr ();
|
||||
mg_TerminateSliceAllocator();
|
||||
}
|
||||
#endif /* ifndef _MG_MINIMALGDI */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user