#include <cairo/cairo.h>
#include "flutter/shell/platform/embedder/embedder.h"
#include "flutter/shell/platform/linux/fl_compositor.h"
#include "flutter/shell/platform/linux/fl_renderable.h"
Go to the source code of this file.
Functions | |
G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (FlCompositorSoftware, fl_compositor_software, FL, COMPOSITOR_SOFTWARE, FlCompositor) FlCompositorSoftware *fl_compositor_software_new() |
gboolean | fl_compositor_software_render (FlCompositorSoftware *compositor, cairo_t *cr, gint scale_factor) |
gboolean fl_compositor_software_render | ( | FlCompositorSoftware * | compositor, |
cairo_t * | cr, | ||
gint | scale_factor | ||
) |
fl_compositor_software_render: @compositor: an #FlCompositorSoftware. @cr: the cairo context to draw to. @scale_factor: pixel scale factor.
Render the current frame.
Returns: TRUE if rendered.
Definition at line 93 of file fl_compositor_software.cc.
References TRUE.
Referenced by software_draw_cb(), and TEST().
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | FlCompositorSoftware | , |
fl_compositor_software | , | ||
FL | , | ||
COMPOSITOR_SOFTWARE | , | ||
FlCompositor | |||
) |
FlCompositorSoftware:
#FlCompositorSoftware is a class that implements compositing using software rendering. fl_compositor_software_new:
Creates a new software rendering compositor.
Returns: a new #FlCompositorSoftware.