Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemX11.h
| Show First 20 Lines • Show All 165 Lines • ▼ Show 20 Lines | createWindow( | ||||
| GHOST_TUns32 height, | GHOST_TUns32 height, | ||||
| GHOST_TWindowState state, | GHOST_TWindowState state, | ||||
| GHOST_TDrawingContextType type, | GHOST_TDrawingContextType type, | ||||
| GHOST_GLSettings glSettings, | GHOST_GLSettings glSettings, | ||||
| const bool exclusive = false, | const bool exclusive = false, | ||||
| const GHOST_TEmbedderWindowID parentWindow = 0 | const GHOST_TEmbedderWindowID parentWindow = 0 | ||||
| ); | ); | ||||
| /** | |||||
| * Create a new offscreen context. | |||||
| * Never explicitly delete the context, use disposeContext() instead. | |||||
| * \return The new context (or 0 if creation failed). | |||||
| */ | |||||
| GHOST_IContext * | |||||
| createOffscreenContext( | |||||
| ); | |||||
| /** | |||||
| * Dispose of a context. | |||||
| * \param context Pointer to the context to be disposed. | |||||
| * \return Indication of success. | |||||
| */ | |||||
| GHOST_TSuccess | |||||
| disposeContext( | |||||
| GHOST_IContext *context | |||||
| ); | |||||
| /** | /** | ||||
| * Retrieves events from the system and stores them in the queue. | * Retrieves events from the system and stores them in the queue. | ||||
| * \param waitForEvent Flag to wait for an event (or return immediately). | * \param waitForEvent Flag to wait for an event (or return immediately). | ||||
| * \return Indication of the presence of events. | * \return Indication of the presence of events. | ||||
| */ | */ | ||||
| bool | bool | ||||
| processEvents( | processEvents( | ||||
| bool waitForEvent | bool waitForEvent | ||||
| ▲ Show 20 Lines • Show All 231 Lines • Show Last 20 Lines | |||||