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

Unified Diff: src/gpu/batches/GrAtlasTextBatch.h

Issue 1459343006: Small tidys GrAtlasTextContext (Closed) Base URL: https://skia.googlesource.com/skia.git@text2
Patch Set: small tidys Created 5 years, 1 month 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 | « no previous file | src/gpu/batches/GrAtlasTextBatch.cpp » ('j') | src/gpu/batches/GrAtlasTextBatch.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/batches/GrAtlasTextBatch.h
diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h
index 63dfa30e6bb53076bc89fbd262c97c8ac8c7ad92..f4625d3b23a53d1230c24fac3b0ce1141d54db46 100644
--- a/src/gpu/batches/GrAtlasTextBatch.h
+++ b/src/gpu/batches/GrAtlasTextBatch.h
@@ -170,12 +170,14 @@ private:
kLCDDistanceField_MaskType == fMaskType;
}
- inline void regenerateTextureCoords(GrGlyph* glyph, intptr_t vertex, size_t vertexStride);
+ inline void regenerateTextureCoords(const GrGlyph* glyph, void* vertices, int glyphIdx,
+ size_t vertexStartIndex, size_t vertexStride);
- inline void regenerateColors(intptr_t vertex, size_t vertexStride, GrColor color);
+ inline void regenerateColors(void* vertices, int glyphIdx, size_t vertexStartIndex,
+ size_t vertexStride, GrColor color);
- inline void regeneratePositions(intptr_t vertex, size_t vertexStride, SkScalar transX,
- SkScalar transY);
+ inline void regeneratePositions(void* vertices, int glyphIdx, size_t vertexStartIndex,
+ size_t vertexStride, SkScalar transX, SkScalar transY);
inline void flush(GrVertexBatch::Target* target, FlushInfo* flushInfo);
« no previous file with comments | « no previous file | src/gpu/batches/GrAtlasTextBatch.cpp » ('j') | src/gpu/batches/GrAtlasTextBatch.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698