87 std::mutex lists_mutex_;
105 void flush()
override;
125 static void buf_free(GLuint buf_id);
126 static void tex_free(GLuint tex_id);
143 static void orphans_add(
Vector<GLuint> &orphan_list, std::mutex &list_mutex, GLuint
id);
144 void orphans_clear();
146 MEM_CXX_CLASS_ALLOC_FUNCS(
"GLContext")
StateManager * state_manager
void * debug_capture_scope_create(const char *name) override
static bool stencil_texturing_support
static void buf_free(GLuint buf_id)
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 shader_draw_parameters_support
static bool explicit_location_support
void debug_capture_scope_end(void *scope) override
static GLint max_ssbo_binds
static bool debug_layer_workaround
static float derivative_signs[2]
static GLStateManager * state_manager_active_get()
void begin_frame() override
void debug_group_end() override
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 GLint max_ubo_size
static bool direct_state_access_support
static void tex_free(GLuint tex_id)
static bool texture_filter_anisotropic_support
static bool clear_texture_support
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 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 bool multi_draw_indirect_support
Vector< GLuint > textures