35 void clear(
FunctionRef<
void(GLuint, GLuint *)> free_fn);
36 void append(GLuint handle);
97 std::mutex lists_mutex_;
116 struct FrameQueries {
121 void process_frame_timings();
138 void flush()
override;
178 static void orphans_add(
Vector<GLuint> &orphan_list, std::mutex &list_mutex, GLuint
id);
179 void orphans_clear();
181 MEM_CXX_CLASS_ALLOC_FUNCS(
"GLContext")
StateManager * state_manager
void vao_cache_register(GLVaoCache *cache)
void * debug_capture_scope_create(const char *name) override
static bool stencil_texturing_support
void debug_unbind_all_ubo() override
static bool layered_rendering_support
void debug_capture_end() override
static bool debug_layer_support
bool debug_capture_begin(const char *title) override
uint16_t bound_ssbo_slots
void debug_group_begin(const char *name, int index) override
static bool framebuffer_fetch_support
static void buffer_free(GLuint buf_id)
void fbo_free(GLuint fbo_id)
static void shader_free(GLuint shader_id)
void debug_capture_scope_end(void *scope) override
static GLint max_ssbo_binds
void vao_free(GLuint vao_id)
static bool debug_layer_workaround
static bool vertex_shader_layer_support
static GLStateManager * state_manager_active_get()
static void texture_free(GLuint tex_id)
void debug_group_end() override
void vao_cache_unregister(GLVaoCache *cache)
static GLint max_ubo_binds
static void check_error(const char *info)
void begin_frame() override
static bool direct_state_access_support
static bool texture_filter_anisotropic_support
void deactivate() override
static bool unused_fb_slot_workaround
void memory_statistics_get(int *r_total_mem, int *r_free_mem) override
bool debug_capture_scope_begin(void *scope) override
static bool multi_bind_support
static GLint max_cubemap_size
static bool texture_barrier_support
static bool native_barycentric_support
static bool multi_bind_image_support
void debug_unbind_all_ssbo() override
static void program_free(GLuint program_id)
void end_frame() override
GLContext(GHOST_IWindow *ghost_window, GHOST_IContext *ghost_context, GLSharedOrphanLists &shared_orphan_list)
static bool vertex_shader_viewport_index_support
static bool derivative_control_support