Flutter Engine
The Flutter Engine
|
#include <SlugImpl.h>
Public Member Functions | |
SlugImpl (SubRunAllocator &&alloc, gpu::SubRunContainerOwner subRuns, SkRect sourceBounds, SkPoint origin) | |
~SlugImpl () override=default | |
void | doFlatten (SkWriteBuffer &buffer) const override |
SkRect | sourceBounds () const override |
SkRect | sourceBoundsWithOrigin () const override |
const SkMatrix & | initialPositionMatrix () const |
SkPoint | origin () const |
const gpu::SubRunContainerOwner & | subRuns () const |
void | operator delete (void *p) |
void * | operator new (size_t) |
void * | operator new (size_t, void *p) |
Public Member Functions inherited from sktext::gpu::Slug | |
sk_sp< SkData > | serialize () const |
size_t | serialize (void *buffer, size_t size) const |
void | draw (SkCanvas *canvas, const SkPaint &paint) const |
virtual SkRect | sourceBounds () const =0 |
virtual SkRect | sourceBoundsWithOrigin () const =0 |
virtual void | doFlatten (SkWriteBuffer &) const =0 |
uint32_t | uniqueID () const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static sk_sp< SlugImpl > | Make (const SkMatrix &viewMatrix, const sktext::GlyphRunList &glyphRunList, const SkPaint &paint, SkStrikeDeviceInfo strikeDeviceInfo, sktext::StrikeForGPUCacheInterface *strikeCache) |
static sk_sp< Slug > | MakeFromBuffer (SkReadBuffer &buffer, const SkStrikeClient *client) |
Static Public Member Functions inherited from sktext::gpu::Slug | |
static sk_sp< Slug > | ConvertBlob (SkCanvas *canvas, const SkTextBlob &blob, SkPoint origin, const SkPaint &paint) |
static sk_sp< Slug > | Deserialize (const void *data, size_t size, const SkStrikeClient *client=nullptr) |
static sk_sp< Slug > | MakeFromBuffer (SkReadBuffer &buffer) |
static void | AddDeserialProcs (SkDeserialProcs *procs, const SkStrikeClient *client=nullptr) |
Definition at line 34 of file SlugImpl.h.
sktext::gpu::SlugImpl::SlugImpl | ( | SubRunAllocator && | alloc, |
gpu::SubRunContainerOwner | subRuns, | ||
SkRect | sourceBounds, | ||
SkPoint | origin | ||
) |
Definition at line 30 of file SlugImpl.cpp.
|
overridedefault |
|
overridevirtual |
Implements sktext::gpu::Slug.
Definition at line 39 of file SlugImpl.cpp.
|
inline |
Definition at line 54 of file SlugImpl.h.
|
static |
Definition at line 74 of file SlugImpl.cpp.
|
static |
Definition at line 46 of file SlugImpl.cpp.
|
inline |
Definition at line 61 of file SlugImpl.h.
|
inline |
Definition at line 62 of file SlugImpl.h.
|
inline |
Definition at line 63 of file SlugImpl.h.
|
inline |
Definition at line 55 of file SlugImpl.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
Definition at line 57 of file SlugImpl.h.