diff options
Diffstat (limited to 'source/blender/gpu/GPU_context.h')
-rw-r--r-- | source/blender/gpu/GPU_context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_context.h b/source/blender/gpu/GPU_context.h index 0d9e1014803..e3d47cfe084 100644 --- a/source/blender/gpu/GPU_context.h +++ b/source/blender/gpu/GPU_context.h @@ -35,6 +35,14 @@ extern "C" { typedef struct GPUContext GPUContext; +typedef enum eGPUBackendType { + GPU_BACKEND_NONE = 0, + GPU_BACKEND_OPENGL, +} eGPUBackendType; + +void GPU_backend_init(eGPUBackendType backend); +void GPU_backend_exit(void); + GPUContext *GPU_context_create(void *ghost_window); void GPU_context_discard(GPUContext *); |