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

Unified Diff: src/gpu/GrAtlasTextContext.cpp

Issue 1352813003: add a ClassID function to GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 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/GrAtlasTextContext.cpp
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
index fa96a8dddabfc9e3ed2e2aec8f7e8f91bbe60920..66bdc94c778715c655d740fd919df0742d5a263a 100644
--- a/src/gpu/GrAtlasTextContext.cpp
+++ b/src/gpu/GrAtlasTextContext.cpp
@@ -1444,6 +1444,8 @@ public:
SkScalar fTransY;
};
robertphillips 2015/09/17 14:56:06 Can this be first ? Everywhere else too ?
+ BATCH_CLASS_ID
+
static TextBatch* CreateBitmap(GrMaskFormat maskFormat, int glyphCount,
GrBatchFontCache* fontCache) {
TextBatch* batch = new TextBatch;
« no previous file with comments | « gm/convexpolyeffect.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | src/gpu/batches/GrBatch.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698