Go to the source code of this file.
Classes | |
struct | _FlOpenGLManager |
Functions | |
static void | fl_opengl_manager_dispose (GObject *object) |
static void | fl_opengl_manager_class_init (FlOpenGLManagerClass *klass) |
static void | fl_opengl_manager_init (FlOpenGLManager *self) |
FlOpenGLManager * | fl_opengl_manager_new () |
gboolean | fl_opengl_manager_create_contexts (FlOpenGLManager *self, GdkWindow *window, GError **error) |
GdkGLContext * | fl_opengl_manager_get_context (FlOpenGLManager *self) |
void | fl_opengl_manager_make_current (FlOpenGLManager *self) |
void | fl_opengl_manager_make_resource_current (FlOpenGLManager *self) |
void | fl_opengl_manager_clear_current (FlOpenGLManager *self) |
|
static |
Definition at line 33 of file fl_opengl_manager.cc.
References fl_opengl_manager_dispose().
void fl_opengl_manager_clear_current | ( | FlOpenGLManager * | manager | ) |
fl_opengl_manager_clear_current: @manager: an #FlOpenGLManager.
Clears the current rendering context.
Definition at line 90 of file fl_opengl_manager.cc.
Referenced by fl_compositor_opengl_present_layers(), fl_engine_gl_clear_current(), present_layers_task_cb(), and realize_cb().
gboolean fl_opengl_manager_create_contexts | ( | FlOpenGLManager * | manager, |
GdkWindow * | window, | ||
GError ** | error | ||
) |
fl_opengl_manager_create_contexts: @manager: an #FlOpenGLManager. @window: the window that is being rendered on. @error: (allow-none): #GError location to store the error occurring, or NULL to ignore.
Create rendering contexts.
Returns: TRUE if contexts were created, FALSE if there was an error.
Definition at line 45 of file fl_opengl_manager.cc.
References error, TRUE, and window.
Referenced by create_context_cb().
|
static |
GdkGLContext* fl_opengl_manager_get_context | ( | FlOpenGLManager * | manager | ) |
fl_opengl_manager_get_context: @manager: an #FlOpenGLManager.
Returns: the main context used for rendering.
Definition at line 77 of file fl_opengl_manager.cc.
Referenced by create_context_cb().
|
static |
Definition at line 37 of file fl_opengl_manager.cc.
void fl_opengl_manager_make_current | ( | FlOpenGLManager * | manager | ) |
fl_opengl_manager_make_current: @manager: an #FlOpenGLManager.
Makes the rendering context current.
Definition at line 82 of file fl_opengl_manager.cc.
Referenced by collect_opengl_backing_store(), create_opengl_backing_store(), fl_compositor_opengl_new(), fl_compositor_opengl_present_layers(), fl_engine_gl_make_current(), present_layers_task_cb(), and unrealize_cb().
void fl_opengl_manager_make_resource_current | ( | FlOpenGLManager * | manager | ) |
fl_opengl_manager_make_resource_current: @manager: an #FlOpenGLManager.
Makes the resource rendering context current.
Definition at line 86 of file fl_opengl_manager.cc.
Referenced by fl_engine_gl_make_resource_current().
FlOpenGLManager* fl_opengl_manager_new | ( | ) |