303 if (re_viewport_system_gpu_context !=
nullptr) {
325 if (re_viewport_system_gpu_context !=
nullptr) {
348void *DRW_system_gpu_context_get()
362void *DRW_xr_blender_gpu_context_get()
369void DRW_xr_drawing_begin()
377void DRW_xr_drawing_end()
TicketMutex * BLI_ticket_mutex_alloc(void)
void BLI_ticket_mutex_unlock(TicketMutex *ticket)
bool BLI_ticket_mutex_lock_check_recursive(TicketMutex *ticket)
void BLI_ticket_mutex_lock(TicketMutex *ticket)
void BLI_ticket_mutex_free(TicketMutex *ticket)
int BLI_thread_is_main(void)
#define UNUSED_VARS_NDEBUG(...)
bool GPU_use_main_context_workaround()
GPUContext * GPU_context_create(void *ghost_window, void *ghost_context)
void GPU_context_main_lock()
void GPU_context_begin_frame(GPUContext *ctx)
GPUContext * GPU_context_active_get()
void GPU_context_main_unlock()
void GPU_context_discard(GPUContext *)
void GPU_context_end_frame(GPUContext *ctx)
void GPU_context_active_set(GPUContext *)
void * system_gpu_context_
void disable(bool restore=false)
GPUContext * blender_gpu_context_
void DRW_gpu_context_destroy()
static void drw_gpu_preview_context_disable()
void DRW_submission_end()
bool DRW_gpu_context_is_enabled()
void DRW_gpu_context_disable()
void DRW_gpu_context_disable_ex(bool restore)
void DRW_gpu_context_enable_ex(bool)
void DRW_system_gpu_render_context_enable(void *re_system_gpu_context)
void DRW_gpu_context_enable()
void DRW_gpu_context_create()
void DRW_gpu_context_activate(bool drw_state)
static TicketMutex * submission_mutex
void DRW_render_context_disable(Render *render)
void DRW_blender_gpu_render_context_disable(void *)
static ContextShared * viewport_context
bool DRW_gpu_context_try_enable()
void DRW_system_gpu_render_context_disable(void *re_system_gpu_context)
void DRW_submission_start()
static void drw_gpu_preview_context_enable()
static TicketMutex * draw_mutex
bool DRW_gpu_context_release()
void DRW_render_context_enable(Render *render)
static ContextShared * preview_context
void DRW_blender_gpu_render_context_enable(void *re_gpu_context)
void * RE_blender_gpu_context_ensure(Render *re)
void * RE_system_gpu_context_get(Render *re)
void * WM_system_gpu_context_create()
void wm_window_reset_drawable()
void WM_system_gpu_context_dispose(void *context)
void WM_system_gpu_context_activate(void *context)
void WM_system_gpu_context_release(void *context)