#include "flutter/shell/platform/linux/fl_renderer.h"
Go to the source code of this file.
Functions | |
G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (FlRendererGdk, fl_renderer_gdk, FL, RENDERER_GDK, FlRenderer) FlRendererGdk *fl_renderer_gdk_new() |
void | fl_renderer_gdk_set_window (FlRendererGdk *renderer, GdkWindow *window) |
gboolean | fl_renderer_gdk_create_contexts (FlRendererGdk *renderer, GError **error) |
GdkGLContext * | fl_renderer_gdk_get_context (FlRendererGdk *renderer) |
gboolean fl_renderer_gdk_create_contexts | ( | FlRendererGdk * | renderer, |
GError ** | error | ||
) |
fl_renderer_gdk_create_contexts: @renderer: an #FlRendererGdk. @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 95 of file fl_renderer_gdk.cc.
Referenced by create_context_cb().
GdkGLContext* fl_renderer_gdk_get_context | ( | FlRendererGdk * | renderer | ) |
fl_renderer_gdk_get_context: @renderer: an #FlRendererGdk.
Returns: the main context used for rendering.
Definition at line 125 of file fl_renderer_gdk.cc.
Referenced by create_context_cb().
void fl_renderer_gdk_set_window | ( | FlRendererGdk * | renderer, |
GdkWindow * | window | ||
) |
fl_renderer_gdk_set_window: @renderer: an #FlRendererGdk. @window: the window that is being rendered on.
Set the window that is being rendered on. This is only called once when the window is available.
Definition at line 88 of file fl_renderer_gdk.cc.
Referenced by create_context_cb().
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | FlRendererGdk | , |
fl_renderer_gdk | , | ||
FL | , | ||
RENDERER_GDK | , | ||
FlRenderer | |||
) |
FlRendererGdk:
#FlRendererGdk is an implementation of #FlRenderer that renders by OpenGL ES. fl_renderer_gdk_new:
Creates an object that allows Flutter to render by OpenGL ES.
Returns: a new #FlRendererGdk.