37 void append(GLuint handle);
93 std::mutex lists_mutex_;
105 GLuint handle_start, handle_end;
112 struct FrameQueries {
117 void process_frame_timings();
120 GLContext(
void *ghost_window, GLSharedOrphanLists &shared_orphan_list);
130 void flush()
override;
170 static void orphans_add(
Vector<GLuint> &orphan_list, std::mutex &list_mutex, GLuint
id);
171 void orphans_clear();
173 MEM_CXX_CLASS_ALLOC_FUNCS(
"GLContext")
StateManager * state_manager
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
void memory_statistics_get(int *r_total_mem, int *r_free_mem) override
static bool explicit_location_support
static void buffer_free(GLuint buf_id)
void debug_capture_scope_end(void *scope) override
static GLint max_ssbo_binds
static bool debug_layer_workaround
static GLStateManager * state_manager_active_get()
void begin_frame() override
void debug_group_end() override
static void shader_free(GLuint shader_id)
static GLint max_ubo_binds
static void check_error(const char *info)
GLContext(void *ghost_window, GLSharedOrphanLists &shared_orphan_list)
void vao_cache_unregister(GLVaoCache *cache)
static bool direct_state_access_support
static bool texture_filter_anisotropic_support
static void texture_free(GLuint tex_id)
static bool unused_fb_slot_workaround
void deactivate() override
bool debug_capture_scope_begin(void *scope) override
static bool multi_bind_support
static GLint max_cubemap_size
void vao_free(GLuint vao_id)
static bool texture_barrier_support
static bool native_barycentric_support
static void program_free(GLuint program_id)
static bool multi_bind_image_support
void end_frame() override
static bool generate_mipmap_workaround
void debug_unbind_all_ssbo() override
void vao_cache_register(GLVaoCache *cache)
void fbo_free(GLuint fbo_id)
static void clear(Message &msg)