class SkCanvas; class SkPictureData; class SkReadBuffer;
// The basic picture playback class replays the provided picture into a canvas. class SkPicturePlayback final : SkNoncopyable { public:
SkPicturePlayback(const SkPictureData* data)
: fPictureData(data)
, fCurOffset(0) {
}
// TODO: remove the curOp calls after cleaning up GrGatherDevice // Return the ID of the operation currently being executed when playing // back. 0 indicates no call is active.
size_t curOpID() const { return fCurOffset; } void resetOpID() { fCurOffset = 0; }
private: const SkPictureData* fPictureData;
// The offset of the current operation when within the draw method
size_t fCurOffset;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.