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

Unified Diff: src/gpu/GrInOrderDrawBuffer.cpp

Issue 452823002: Separate GL path rendering state from GrGpuGL to GrGLPathRendering (Closed) Base URL: https://skia.googlesource.com/skia.git@00xx-cherrypick-pathrendering-class
Patch Set: beautify Created 6 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/GrInOrderDrawBuffer.cpp
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index 954437c933cc915bbc8fa359c7feaf63397bbba9..fd7c73aa03a5171f87751cb7bb91ebfbd11bea09 100644
--- a/src/gpu/GrInOrderDrawBuffer.cpp
+++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -453,7 +453,7 @@ void GrInOrderDrawBuffer::onDrawPaths(const GrPathRange* pathRange,
memcpy(dp->fIndices, indices, sizeof(uint32_t) * count);
dp->fCount = count;
- const int transformsLength = PathTransformSize(transformsType) * count;
+ const int transformsLength = GrPathRendering::PathTransformSize(transformsType) * count;
dp->fTransforms = SkNEW_ARRAY(float, transformsLength);
memcpy(dp->fTransforms, transforms, sizeof(float) * transformsLength);
dp->fTransformsType = transformsType;
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/GrPathRendering.h » ('j') | src/gpu/GrPathRendering.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698