Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_context.h
| Show All 36 Lines | |||||
| typedef struct GPUContext GPUContext; | typedef struct GPUContext GPUContext; | ||||
| GPUContext *GPU_context_create(GLuint default_framebuffer); | GPUContext *GPU_context_create(GLuint default_framebuffer); | ||||
| void GPU_context_discard(GPUContext *); | void GPU_context_discard(GPUContext *); | ||||
| void GPU_context_active_set(GPUContext *); | void GPU_context_active_set(GPUContext *); | ||||
| GPUContext *GPU_context_active_get(void); | GPUContext *GPU_context_active_get(void); | ||||
| void GPU_context_main_lock(void); | |||||
fclem: Maybe add a comment here to remember what it is for. | |||||
| void GPU_context_main_unlock(void); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __GPU_CONTEXT_H__ */ | #endif /* __GPU_CONTEXT_H__ */ | ||||
Maybe add a comment here to remember what it is for.