Blender  V3.3
Typedefs | Functions
GPU_context.h File Reference
#include "GPU_batch.h"
#include "GPU_common.h"
#include "GPU_platform.h"

Go to the source code of this file.

Typedefs

typedef struct GPUContext GPUContext
 

Functions

bool GPU_backend_supported (void)
 
eGPUBackendType GPU_backend_get_type (void)
 
GPUContextGPU_context_create (void *ghost_window)
 
void GPU_context_discard (GPUContext *)
 
void GPU_context_active_set (GPUContext *)
 
GPUContextGPU_context_active_get (void)
 
void GPU_context_begin_frame (GPUContext *ctx)
 
void GPU_context_end_frame (GPUContext *ctx)
 
void GPU_context_main_lock (void)
 
void GPU_context_main_unlock (void)
 
void GPU_render_begin (void)
 
void GPU_render_end (void)
 
void GPU_render_step (void)
 

Detailed Description

This interface allow GPU to manage VAOs for multiple context and threads.

Definition in file GPU_context.h.

Typedef Documentation

◆ GPUContext

typedef struct GPUContext GPUContext

Opaque type hiding blender::gpu::Context.

Definition at line 24 of file GPU_context.h.

Function Documentation

◆ GPU_backend_get_type()

eGPUBackendType GPU_backend_get_type ( void  )

◆ GPU_backend_supported()

bool GPU_backend_supported ( void  )

◆ GPU_context_active_get()

GPUContext* GPU_context_active_get ( void  )

◆ GPU_context_active_set()

void GPU_context_active_set ( GPUContext ctx_)

◆ GPU_context_begin_frame()

void GPU_context_begin_frame ( GPUContext ctx)

◆ GPU_context_create()

GPUContext* GPU_context_create ( void ghost_window)

◆ GPU_context_discard()

void GPU_context_discard ( GPUContext ctx_)

◆ GPU_context_end_frame()

void GPU_context_end_frame ( GPUContext ctx)

◆ GPU_context_main_lock()

void GPU_context_main_lock ( void  )

◆ GPU_context_main_unlock()

void GPU_context_main_unlock ( void  )

◆ GPU_render_begin()

void GPU_render_begin ( void  )

◆ GPU_render_end()

void GPU_render_end ( void  )

◆ GPU_render_step()

void GPU_render_step ( void  )