Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: src/gpu/text/GrStencilAndCoverTextContext.h

Issue 2240623002: Move GrAtlasTextContext to GrDrawingManager, so we only have one. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix alignment Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/text/GrStencilAndCoverTextContext.h
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.h b/src/gpu/text/GrStencilAndCoverTextContext.h
index d4f1abd38ace05e217b3f4f8594390cb2043885e..3c92b39eb754ce3d5629634eb1094167abae0f62 100644
--- a/src/gpu/text/GrStencilAndCoverTextContext.h
+++ b/src/gpu/text/GrStencilAndCoverTextContext.h
@@ -29,7 +29,7 @@ class SkSurfaceProps;
*/
class GrStencilAndCoverTextContext {
public:
- static GrStencilAndCoverTextContext* Create();
+ static GrStencilAndCoverTextContext* Create(GrAtlasTextContext* fallbackTextContext);
void drawText(GrContext*, GrDrawContext* dc,
const GrClip&, const GrPaint&, const SkPaint&,
@@ -50,7 +50,7 @@ public:
virtual ~GrStencilAndCoverTextContext();
private:
- GrStencilAndCoverTextContext();
+ GrStencilAndCoverTextContext(GrAtlasTextContext* fallbackTextContext);
bool canDraw(const SkPaint& skPaint, const SkMatrix&) {
return this->internalCanDraw(skPaint);

Powered by Google App Engine
This is Rietveld 408576698