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

Unified Diff: cc/output/gl_renderer_draw_cache.h

Issue 2418173002: Fix HTML5 video blurry (Closed)
Patch Set: fix nits Created 4 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer_draw_cache.h
diff --git a/cc/output/gl_renderer_draw_cache.h b/cc/output/gl_renderer_draw_cache.h
index e02b73b4e381c10bb02decbd40ac0ee00ebce184..b083ff02a8154949a463776b55250cadaa217143 100644
--- a/cc/output/gl_renderer_draw_cache.h
+++ b/cc/output/gl_renderer_draw_cache.h
@@ -38,6 +38,7 @@ struct TexturedQuadDrawCache {
// Information about the program binding that is required to draw.
int uv_xform_location;
+ int tex_clamp_rect_location = -1;
int background_color_location;
int vertex_opacity_location;
int matrix_location;
@@ -45,6 +46,7 @@ struct TexturedQuadDrawCache {
// A cache for the coalesced quad data.
std::vector<Float4> uv_xform_data;
+ std::vector<Float4> tex_clamp_rect_data;
std::vector<float> vertex_opacity_data;
std::vector<Float16> matrix_data;
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/renderer_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698