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

Unified Diff: src/gpu/GrPathRendering.h

Issue 563283004: Use per-typeface sets of glyphs for nvpr text (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_glyphmemorypath
Patch Set: Created 6 years, 3 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/GrPathRendering.h
diff --git a/src/gpu/GrPathRendering.h b/src/gpu/GrPathRendering.h
index 863da270c79719c3119255ec905d6c29776af331..6e39c20fc4a5716d5069bbf1620f3bc4e964d3b2 100644
--- a/src/gpu/GrPathRendering.h
+++ b/src/gpu/GrPathRendering.h
@@ -9,10 +9,12 @@
#define GrPathRendering_DEFINED
#include "SkPath.h"
+#include "GrPathRange.h"
class SkStrokeRec;
+class SkDescriptor;
+class SkTypeface;
class GrPath;
-class GrPathRange;
class GrGpu;
/**
@@ -60,7 +62,8 @@ public:
}
virtual GrPath* createPath(const SkPath&, const SkStrokeRec&) = 0;
- virtual GrPathRange* createPathRange(size_t size, const SkStrokeRec&) = 0;
+ virtual GrPathRange* createPathRange(GrPathRange::PathGenerator*, const SkStrokeRec&) = 0;
+ virtual GrPathRange* createGlyphs(const SkTypeface*, const SkDescriptor*, const SkStrokeRec&) = 0;
virtual void stencilPath(const GrPath*, SkPath::FillType) = 0;
virtual void drawPath(const GrPath*, SkPath::FillType) = 0;
virtual void drawPaths(const GrPathRange*, const uint32_t indices[], int count,

Powered by Google App Engine
This is Rietveld 408576698