Flutter Engine
The Flutter Engine
|
#include <PatchWriter.h>
Public Member Functions | |
template<typename... Args> | |
PatchWriter (PatchAttribs attribs, Args &&... allocArgs) | |
~PatchWriter () | |
PatchAttribs | attribs () const |
void | setShaderTransform (const wangs_formula::VectorXform &xform, float maxScale=1.f) |
ENABLE_IF (kTrackJoinControlPoints) writeDeferredStrokePatch() | |
ENABLE_IF (JoinAttrib::kEnabled) updateJoinControlPointAttrib(SkPoint lastControlPoint) | |
ENABLE_IF (FanPointAttrib::kEnabled) updateFanPointAttrib(SkPoint fanPoint) | |
ENABLE_IF (StrokeAttrib::kEnabled) updateStrokeParamsAttrib(StrokeParams strokeParams) | |
ENABLE_IF (StrokeAttrib::kEnabled) updateUniformStrokeParams(StrokeParams strokeParams) | |
ENABLE_IF (ColorAttrib::kEnabled) updateColorAttrib(const SkPMColor4f &color) | |
ENABLE_IF (DepthAttrib::kEnabled) updatePaintDepthAttrib(float depth) | |
updateSsboIndexAttrib (skvx::ushort2 ssboIndex) | |
AI void | writeCubic (float2 p0, float2 p1, float2 p2, float2 p3) |
AI void | writeCubic (const SkPoint pts[4]) |
AI void | writeConic (float2 p0, float2 p1, float2 p2, float w) |
AI void | writeConic (const SkPoint pts[3], float w) |
AI void | writeQuadratic (float2 p0, float2 p1, float2 p2) |
AI void | writeQuadratic (const SkPoint pts[3]) |
AI void | writeLine (float4 p0p1) |
AI void | writeLine (float2 p0, float2 p1) |
AI void | writeLine (SkPoint p0, SkPoint p1) |
AI void | writeTriangle (float2 p0, float2 p1, float2 p2) |
AI void | writeTriangle (SkPoint p0, SkPoint p1, SkPoint p2) |
AI void | writeCircle (SkPoint p) |
Definition at line 208 of file PatchWriter.h.
|
inline |
Definition at line 270 of file PatchWriter.h.
|
inline |
Definition at line 291 of file PatchWriter.h.
|
inline |
Definition at line 298 of file PatchWriter.h.
|
inline |
Definition at line 361 of file PatchWriter.h.
|
inline |
Definition at line 375 of file PatchWriter.h.
|
inline |
Definition at line 342 of file PatchWriter.h.
|
inline |
Definition at line 332 of file PatchWriter.h.
|
inline |
Definition at line 310 of file PatchWriter.h.
|
inline |
Definition at line 348 of file PatchWriter.h.
|
inline |
Definition at line 355 of file PatchWriter.h.
|
inline |
Definition at line 302 of file PatchWriter.h.
|
inline |
Definition at line 382 of file PatchWriter.h.
|
inline |
Definition at line 502 of file PatchWriter.h.
|
inline |
Definition at line 433 of file PatchWriter.h.
|
inline |
Definition at line 418 of file PatchWriter.h.
|
inline |
Definition at line 410 of file PatchWriter.h.
|
inline |
writeX functions for supported patch geometry types. Every geometric type is converted to an equivalent cubic or conic, so this will always write at minimum 8 floats for the four control points (cubic) or three control points and {w, inf} (conics). The PatchWriter additionally writes the current values of all attributes enabled in its PatchAttribs flags.
Definition at line 395 of file PatchWriter.h.
|
inline |
Definition at line 479 of file PatchWriter.h.
|
inline |
Definition at line 464 of file PatchWriter.h.
|
inline |
Definition at line 480 of file PatchWriter.h.
|
inline |
Definition at line 457 of file PatchWriter.h.
|
inline |
Definition at line 442 of file PatchWriter.h.
|
inline |
Definition at line 486 of file PatchWriter.h.
|
inline |
Definition at line 494 of file PatchWriter.h.