#include "fl_compositor_software.h"Go to the source code of this file.
Classes | |
| struct | _FlCompositorSoftware |
Functions | |
| static void | fl_compositor_software_class_init (FlCompositorSoftwareClass *klass) |
| static void | fl_compositor_software_init (FlCompositorSoftware *self) |
| FlCompositorSoftware * | fl_compositor_software_new () |
| gboolean | fl_compositor_software_composite_layers (FlCompositorSoftware *self, cairo_t *cr, const FlutterLayer **layers, size_t layers_count) |
|
static |
Definition at line 13 of file fl_compositor_software.cc.
| gboolean fl_compositor_software_composite_layers | ( | FlCompositorSoftware * | compositor, |
| cairo_t * | cr, | ||
| const FlutterLayer ** | layers, | ||
| size_t | layers_count | ||
| ) |
fl_compositor_software_composite_layers: @compositor: an #FlCompositorSoftware. @cr: a Cairo rendering context to draw the layers into. @layers: layers to be composited. Each layer must be a backing store layer (kFlutterLayerContentTypeBackingStore) backed by a software backing store (kFlutterBackingStoreTypeSoftware). @layers_count: number of layers.
Combines and draws the provided layers into @cr. The caller is responsible for managing the surface that @cr writes into.
Returns TRUE if successful.
Definition at line 23 of file fl_compositor_software.cc.
References i, layers, layers_count, and TRUE.
Referenced by TEST_F().
|
static |
Definition at line 16 of file fl_compositor_software.cc.
| FlCompositorSoftware* fl_compositor_software_new | ( | ) |
Definition at line 18 of file fl_compositor_software.cc.
Referenced by FlCompositorSoftwareTest::SetUp().