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

Unified Diff: src/gpu/GrEffect.cpp

Issue 12462008: Add GrEllipseEdgeEffect (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Add dynamic vertex attributes for Effects Created 7 years, 9 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/GrEffect.cpp
===================================================================
--- src/gpu/GrEffect.cpp (revision 8019)
+++ src/gpu/GrEffect.cpp (working copy)
@@ -90,6 +90,10 @@
fTextureAccesses.push_back(access);
}
+void GrEffect::addVertexAttrib(GrSLType type) {
+ fVertexAttribTypes.push_back(type);
+}
+
void* GrEffect::operator new(size_t size) {
return GrEffect_Globals::GetTLS()->allocate(size);
}

Powered by Google App Engine
This is Rietveld 408576698