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

Unified Diff: src/gpu/GrAAHairLinePathRenderer.h

Issue 22900007: Add direct bezier cubic support for GPU shaders (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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
« no previous file with comments | « no previous file | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | src/gpu/GrPathUtils.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAAHairLinePathRenderer.h
diff --git a/src/gpu/GrAAHairLinePathRenderer.h b/src/gpu/GrAAHairLinePathRenderer.h
index 064fc18c92aa8ec24ed65f20c320d249ffb87a41..e786b150736cf67e8464a6d1b7e0393b28c4e892 100644
--- a/src/gpu/GrAAHairLinePathRenderer.h
+++ b/src/gpu/GrAAHairLinePathRenderer.h
@@ -31,18 +31,21 @@ protected:
private:
GrAAHairLinePathRenderer(const GrContext* context,
const GrIndexBuffer* fLinesIndexBuffer,
- const GrIndexBuffer* fQuadsIndexBuffer);
+ const GrIndexBuffer* fQuadsIndexBuffer,
+ const GrIndexBuffer* fCubicsIndexBuffer);
bool createGeom(const SkPath& path,
GrDrawTarget* target,
int* lineCnt,
int* quadCnt,
int* conicCnt,
+ int* cubicCnt,
GrDrawTarget::AutoReleaseGeometry* arg,
SkRect* devBounds );
const GrIndexBuffer* fLinesIndexBuffer;
const GrIndexBuffer* fQuadsIndexBuffer;
+ const GrIndexBuffer* fCubicsIndexBuffer;
typedef GrPathRenderer INHERITED;
};
« no previous file with comments | « no previous file | src/gpu/GrAAHairLinePathRenderer.cpp » ('j') | src/gpu/GrPathUtils.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698