Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemCocoa.h
| Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | GHOST_IWindow *createWindow(const STR_String &title, | ||||
| const bool exclusive = false, | const bool exclusive = false, | ||||
| const GHOST_TEmbedderWindowID parentWindow = 0); | const GHOST_TEmbedderWindowID parentWindow = 0); | ||||
| /** | /** | ||||
| * Create a new offscreen context. | * Create a new offscreen context. | ||||
| * Never explicitly delete the context, use disposeContext() instead. | * Never explicitly delete the context, use disposeContext() instead. | ||||
| * \return The new context (or 0 if creation failed). | * \return The new context (or 0 if creation failed). | ||||
| */ | */ | ||||
| GHOST_IContext *createOffscreenContext(); | GHOST_IContext *createOffscreenContext( | ||||
| GHOST_PlatformSupportCallbackPtr platform_support_callback); | |||||
| /** | /** | ||||
| * Dispose of a context. | * Dispose of a context. | ||||
| * \param context Pointer to the context to be disposed. | * \param context Pointer to the context to be disposed. | ||||
| * \return Indication of success. | * \return Indication of success. | ||||
| */ | */ | ||||
| GHOST_TSuccess disposeContext(GHOST_IContext *context); | GHOST_TSuccess disposeContext(GHOST_IContext *context); | ||||
| ▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines | |||||