Flutter Engine
The Flutter Engine
|
#include <RendererProvider.h>
Public Member Functions | |
~RendererProvider () | |
const Renderer * | stencilTessellatedCurvesAndTris (SkPathFillType type) const |
const Renderer * | stencilTessellatedWedges (SkPathFillType type) const |
const Renderer * | convexTessellatedWedges () const |
const Renderer * | tessellatedStrokes () const |
const Renderer * | coverageMask () const |
const Renderer * | bitmapText (bool useLCDText) const |
const Renderer * | sdfText (bool useLCDText) const |
const Renderer * | vertices (SkVertices::VertexMode mode, bool hasColors, bool hasTexCoords) const |
const Renderer * | analyticRRect () const |
const Renderer * | perEdgeAAQuad () const |
const Renderer * | analyticBlur () const |
SkSpan< const Renderer *const > | renderers () const |
const RenderStep * | lookup (uint32_t uniqueID) const |
Static Public Member Functions | |
static bool | IsVelloRendererSupported (const Caps *) |
Friends | |
class | Context |
Graphite defines a limited set of renderers in order to increase the likelihood of batching across draw calls, and reducing the number of shader permutations required. These Renderers are stateless singletons and remain alive for the life of the Context and its Recorders.
Because Renderers are immutable and the defined Renderers are created at context initialization, RendererProvider is trivially thread-safe.
Definition at line 34 of file RendererProvider.h.
|
default |
|
inline |
Definition at line 74 of file RendererProvider.h.
|
inline |
Definition at line 69 of file RendererProvider.h.
|
inline |
Definition at line 58 of file RendererProvider.h.
|
inline |
Definition at line 51 of file RendererProvider.h.
|
inline |
Definition at line 55 of file RendererProvider.h.
|
static |
Definition at line 35 of file RendererProvider.cpp.
const RenderStep * skgpu::graphite::RendererProvider::lookup | ( | uint32_t | uniqueID | ) | const |
Definition at line 160 of file RendererProvider.cpp.
|
inline |
Definition at line 72 of file RendererProvider.h.
Definition at line 81 of file RendererProvider.h.
|
inline |
Definition at line 59 of file RendererProvider.h.
|
inline |
Definition at line 45 of file RendererProvider.h.
|
inline |
Definition at line 48 of file RendererProvider.h.
|
inline |
Definition at line 52 of file RendererProvider.h.
|
inline |
Definition at line 62 of file RendererProvider.h.
|
friend |
Definition at line 96 of file RendererProvider.h.