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

Unified Diff: cc/gl_renderer_draw_cache.h

Issue 11506019: Moves sampler binding from init to draw time during batched drawing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « cc/gl_renderer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/gl_renderer_draw_cache.h
diff --git a/cc/gl_renderer_draw_cache.h b/cc/gl_renderer_draw_cache.h
index c0a2b6900d8b9b34846f3813baf020225002947a..4ba4c657ff2c275336f33020ce203059982501c1 100644
--- a/cc/gl_renderer_draw_cache.h
+++ b/cc/gl_renderer_draw_cache.h
@@ -32,6 +32,7 @@ struct TexturedQuadDrawCache {
int alpha_location;
int uv_xform_location;
int matrix_location;
+ int sampler_location;
// A cache for the coalesced quad data.
std::vector<Float4> uv_xform_data;
« no previous file with comments | « cc/gl_renderer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698