Flutter Engine
The Flutter Engine
|
#include <SubRunData.h>
Public Member Functions | |
SubRunData ()=delete | |
SubRunData (const SubRunData &subRun)=default | |
SubRunData (SubRunData &&)=delete | |
SubRunData (const sktext::gpu::AtlasSubRun *subRun, sk_sp< SkRefCnt > supportDataKeepAlive, Rect deviceBounds, const SkM44 &deviceToLocal, int startGlyphIndex, int glyphCount, SkColor luminanceColor, bool useGammaCorrectDistanceTable, SkPixelGeometry pixelGeometry, Recorder *recorder, sktext::gpu::RendererData rendererData) | |
~SubRunData ()=default | |
SubRunData & | operator= (SubRunData &&)=delete |
SubRunData & | operator= (const SubRunData &that)=default |
Rect | bounds () const |
const SkM44 & | deviceToLocal () const |
const sktext::gpu::AtlasSubRun * | subRun () const |
int | startGlyphIndex () const |
int | glyphCount () const |
SkColor | luminanceColor () const |
bool | useGammaCorrectDistanceTable () const |
SkPixelGeometry | pixelGeometry () const |
Recorder * | recorder () const |
const sktext::gpu::RendererData & | rendererData () const |
SubRunData represents an AtlasSubRun subspan for which per-pixel coverage data comes from a persistent glyph atlas texture.
The bounds() represent the bounds of the entire AtlasSubRun and does not directly map to the local coordinates of this particular subspan. Rather, the dimensions and offset coordinates of a subspan are defined in a coordinate space that is partially transformed by a decomposition of the local-to-device matrix computed by the AtlasSubRun per instance. The transform of the draw is the rest of the decomposed transform (often only a translation) that maps this intermediate space to the device-space coordinates of the draw.
The local coordinates used in shading are derived by transforming the final device coordinates using the inverse of the local-to-device matrix.
Definition at line 36 of file SubRunData.h.
|
delete |
|
default |
|
delete |
|
inline |
Definition at line 42 of file SubRunData.h.
|
default |
|
inline |
Definition at line 73 of file SubRunData.h.
|
inline |
Definition at line 76 of file SubRunData.h.
|
inline |
Definition at line 81 of file SubRunData.h.
|
inline |
Definition at line 82 of file SubRunData.h.
|
default |
|
delete |
|
inline |
Definition at line 84 of file SubRunData.h.
|
inline |
Definition at line 85 of file SubRunData.h.
|
inline |
Definition at line 86 of file SubRunData.h.
|
inline |
Definition at line 80 of file SubRunData.h.
|
inline |
Definition at line 79 of file SubRunData.h.
|
inline |
Definition at line 83 of file SubRunData.h.