Flutter Engine
The Flutter Engine
|
#include <VertexFiller.h>
Public Member Functions | |
VertexFiller (skgpu::MaskFormat maskFormat, const SkMatrix &creationMatrix, SkRect creationBounds, SkSpan< const SkPoint > leftTop, bool canDrawDirect) | |
int | unflattenSize () const |
void | flatten (SkWriteBuffer &buffer) const |
void | fillInstanceData (skgpu::graphite::DrawWriter *dw, int offset, int count, unsigned short flags, skvx::ushort2 ssboIndex, SkSpan< const Glyph * > glyphs, SkScalar depth) const |
std::tuple< skgpu::graphite::Rect, skgpu::graphite::Transform > | boundsAndDeviceMatrix (const skgpu::graphite::Transform &localToDevice, SkPoint drawOrigin) const |
std::tuple< bool, SkRect > | deviceRectAndCheckTransform (const SkMatrix &positionMatrix) const |
skgpu::MaskFormat | grMaskType () const |
bool | isLCD () const |
int | count () const |
Static Public Member Functions | |
static VertexFiller | Make (skgpu::MaskFormat maskType, const SkMatrix &creationMatrix, SkRect creationBounds, SkSpan< const SkPoint > positions, SubRunAllocator *alloc, FillerType fillerType) |
static std::optional< VertexFiller > | MakeFromBuffer (SkReadBuffer &buffer, SubRunAllocator *alloc) |
Definition at line 60 of file VertexFiller.h.
sktext::gpu::VertexFiller::VertexFiller | ( | skgpu::MaskFormat | maskFormat, |
const SkMatrix & | creationMatrix, | ||
SkRect | creationBounds, | ||
SkSpan< const SkPoint > | leftTop, | ||
bool | canDrawDirect | ||
) |
Definition at line 37 of file VertexFiller.cpp.
std::tuple< Rect, Transform > sktext::gpu::VertexFiller::boundsAndDeviceMatrix | ( | const skgpu::graphite::Transform & | localToDevice, |
SkPoint | drawOrigin | ||
) | const |
Definition at line 54 of file GraphiteVertexFiller.cpp.
|
inline |
Definition at line 114 of file VertexFiller.h.
std::tuple< bool, SkRect > sktext::gpu::VertexFiller::deviceRectAndCheckTransform | ( | const SkMatrix & | positionMatrix | ) | const |
Definition at line 355 of file VertexFiller.cpp.
void sktext::gpu::VertexFiller::fillInstanceData | ( | skgpu::graphite::DrawWriter * | dw, |
int | offset, | ||
int | count, | ||
unsigned short | flags, | ||
skvx::ushort2 | ssboIndex, | ||
SkSpan< const Glyph * > | glyphs, | ||
SkScalar | depth | ||
) | const |
Definition at line 25 of file GraphiteVertexFiller.cpp.
void sktext::gpu::VertexFiller::flatten | ( | SkWriteBuffer & | buffer | ) | const |
Definition at line 80 of file VertexFiller.cpp.
|
inline |
Definition at line 111 of file VertexFiller.h.
bool sktext::gpu::VertexFiller::isLCD | ( | ) | const |
Definition at line 350 of file VertexFiller.cpp.
|
static |
Definition at line 46 of file VertexFiller.cpp.
|
static |
Definition at line 57 of file VertexFiller.cpp.
|
inline |
Definition at line 78 of file VertexFiller.h.