diff options
Diffstat (limited to 'src/gpu/ops/GrAtlasTextOp.h')
-rw-r--r-- | src/gpu/ops/GrAtlasTextOp.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/gpu/ops/GrAtlasTextOp.h b/src/gpu/ops/GrAtlasTextOp.h index 0738ce7f20..07627367cc 100644 --- a/src/gpu/ops/GrAtlasTextOp.h +++ b/src/gpu/ops/GrAtlasTextOp.h @@ -28,12 +28,13 @@ public: typedef GrAtlasTextBlob Blob; struct Geometry { SkMatrix fViewMatrix; - Blob* fBlob; + SkIRect fClipRect; + Blob* fBlob; SkScalar fX; SkScalar fY; - int fRun; - int fSubRun; - GrColor fColor; + int fRun; + int fSubRun; + GrColor fColor; }; static std::unique_ptr<GrAtlasTextOp> MakeBitmap(GrPaint&& paint, GrMaskFormat maskFormat, @@ -173,11 +174,7 @@ private: static constexpr auto kMaxTextures = 4; - // TODO just use class params - sk_sp<GrGeometryProcessor> setupDfProcessor(const SkMatrix& viewMatrix, SkColor luminanceColor, - GrColor color, - const sk_sp<GrTextureProxy> [kMaxTextures]) const; - + sk_sp<GrGeometryProcessor> setupDfProcessor() const; // The minimum number of Geometry we will try to allocate. enum { kMinGeometryAllocated = 4 }; |