Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_ISystem.h
| Show First 20 Lines • Show All 256 Lines • ▼ Show 20 Lines | public: | ||||
| */ | */ | ||||
| virtual GHOST_TSuccess disposeWindow(GHOST_IWindow *window) = 0; | virtual GHOST_TSuccess disposeWindow(GHOST_IWindow *window) = 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). | ||||
| */ | */ | ||||
| virtual GHOST_IContext *createOffscreenContext() = 0; | virtual GHOST_IContext *createOffscreenContext( | ||||
| GHOST_PlatformSupportCallbackPtr platform_support_callback) = 0; | |||||
| /** | /** | ||||
| * 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. | ||||
| */ | */ | ||||
| virtual GHOST_TSuccess disposeContext(GHOST_IContext *context) = 0; | virtual GHOST_TSuccess disposeContext(GHOST_IContext *context) = 0; | ||||
| ▲ Show 20 Lines • Show All 186 Lines • Show Last 20 Lines | |||||