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

Unified Diff: src/gpu/GrGpu.h

Issue 664193002: Oval and stroke AA rect now batch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 2 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/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 54fe471c88c2fceccbed9013337333277d8a4e72..5a625ed228e0c66ad644ad3c122589a887b334bc 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -142,6 +142,13 @@ public:
*/
GrIndexBuffer* createIndexBuffer(size_t size, bool dynamic);
+ //TODO comment
+ GrIndexBuffer* createIndexBufferPattern(const uint16_t* pattern,
bsalomon 2014/10/22 17:51:50 I like this... but maybe we should call it createI
+ int patternSize,
+ int reps,
+ int vertCount,
+ bool isDynamic = false);
+
/**
* Returns an index buffer that can be used to render quads.
* Six indices per quad: 0, 1, 2, 0, 2, 3, etc.
« no previous file with comments | « src/gpu/GrAARectRenderer.cpp ('k') | src/gpu/GrGpu.cpp » ('j') | src/gpu/GrGpu.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698