8#ifndef skgpu_graphite_DrawList_DEFINED
9#define skgpu_graphite_DrawList_DEFINED
89 SkDEBUGCODE(
bool hasCoverageMaskDraws()
const {
return fCoverageMaskShapeDrawCount > 0; })
92 friend class DrawPass;
118 int fCoverageMaskShapeDrawCount = 0;
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
const Rect & dstCopyBounds() const
const Transform & deduplicateTransform(const Transform &)
SkTBlockList< Transform, 16 > fTransforms
SkTBlockList< Draw, 16 > fDraws
int renderStepCount() const
static constexpr int kMaxRenderSteps
void recordDraw(const Renderer *renderer, const Transform &localToDevice, const Geometry &geometry, const Clip &clip, DrawOrder ordering, const PaintParams *paint, const StrokeStyle *stroke)
static AI Rect InfiniteInverted()
static float max(float r, float g, float b)
static SkColor4f transform(SkColor4f c, SkColorSpace *src, SkColorSpace *dst)
const Renderer * fRenderer
std::optional< PaintParams > fPaintParams
Draw(const Renderer *renderer, const Transform &transform, const Geometry &geometry, const Clip &clip, DrawOrder order, const PaintParams *paint, const StrokeStyle *stroke)