Flutter Engine
 
Loading...
Searching...
No Matches
fl_compositor_opengl.h File Reference

Go to the source code of this file.

Functions

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE (FlCompositorOpenGL, fl_compositor_opengl, FL, COMPOSITOR_OPENGL, FlCompositor) FlCompositorOpenGL *fl_compositor_opengl_new(FlTaskRunner *task_runner
 
void fl_compositor_opengl_render (FlCompositorOpenGL *compositor, size_t width, size_t height)
 

Variables

G_BEGIN_DECLS FlOpenGLManager * opengl_manager
 
G_BEGIN_DECLS FlOpenGLManager gboolean shareable
 

Function Documentation

◆ fl_compositor_opengl_render()

void fl_compositor_opengl_render ( FlCompositorOpenGL *  compositor,
size_t  width,
size_t  height 
)

fl_compositor_opengl_render: @compositor: an #FlCompositorOpenGL. @width: output width in pixels. @height: output height in pixels.

Renders the current frame.

◆ G_DECLARE_FINAL_TYPE()

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE ( FlCompositorOpenGL  ,
fl_compositor_opengl  ,
FL  ,
COMPOSITOR_OPENGL  ,
FlCompositor   
)

FlCompositorOpenGL:

#FlCompositorOpenGL is class that implements compositing using OpenGL. fl_compositor_opengl_new: @task_runner: an #FlTaskRunnner. @opengl_manager: an #FlOpenGLManager @shareable: TRUE if the can use a framebuffer that is shared between contexts.

Creates a new OpenGL compositor.

Returns: a new #FlCompositorOpenGL.

Variable Documentation

◆ opengl_manager

G_BEGIN_DECLS FlOpenGLManager* opengl_manager

Definition at line 42 of file fl_compositor_opengl.h.

Referenced by fl_compositor_opengl_new(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ shareable

G_BEGIN_DECLS FlOpenGLManager gboolean shareable