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

Unified Diff: src/gpu/GrTextContext.h

Issue 1019633002: Initial change to move text blob to GrTextContext (Closed) Base URL: https://skia.googlesource.com/skia.git@text-blob2
Patch Set: Created 5 years, 9 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
« no previous file with comments | « include/core/SkTextBlob.h ('k') | src/gpu/GrTextContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrTextContext.h
diff --git a/src/gpu/GrTextContext.h b/src/gpu/GrTextContext.h
index da585eb69507e52ca4cbf79df5a51d8ebf4b6079..11f03019bfabb9df253e42328b163b337a3b3036 100644
--- a/src/gpu/GrTextContext.h
+++ b/src/gpu/GrTextContext.h
@@ -19,7 +19,9 @@ class GrClip;
class GrContext;
class GrDrawTarget;
class GrFontScaler;
+class SkDrawFilter;
class SkGpuDevice;
+class SkTextBlob;
/*
* This class wraps the state for a single text render
@@ -36,6 +38,9 @@ public:
const char text[], size_t byteLength,
const SkScalar pos[], int scalarsPerPosition,
const SkPoint& offset, const SkIRect& clipBounds);
+ void drawTextBlob(GrRenderTarget*, const GrClip&, const SkPaint&,
robertphillips 2015/03/18 20:05:12 It is probably relevant that this is the viewMatri
+ const SkMatrix&, const SkTextBlob*, SkScalar x, SkScalar y,
+ SkDrawFilter*, const SkIRect& clipBounds);
protected:
GrTextContext* fFallbackTextContext;
« no previous file with comments | « include/core/SkTextBlob.h ('k') | src/gpu/GrTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698