GPUState: Encapsulate glFlush and glFinish inside the GLContext
Part of the Vulkan task T68990 Isolate the few remaining gl functions.
This commit is contained in:
@@ -97,6 +97,10 @@ class GLContext : public GPUContext {
|
||||
|
||||
void activate(void) override;
|
||||
void deactivate(void) override;
|
||||
|
||||
void flush(void);
|
||||
void finish(void);
|
||||
|
||||
void memory_statistics_get(int *total_mem, int *free_mem) override;
|
||||
|
||||
static inline GLStateManager *state_manager_active_get()
|
||||
|
||||
Reference in New Issue
Block a user