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

Unified Diff: cc/output/gl_renderer_draw_cache.h

Issue 558083002: [cc] Add nearest neighbor filtering for TextureLayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to WebExternalTextureLayer::setNearestNeighbor. Created 6 years, 1 month 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: 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 f8284184f0c0771a61f61fedb6d26799582b3f99..a16c8a5bde8bf122d9f36c8e2032076851c066ac 100644
--- a/cc/output/gl_renderer_draw_cache.h
+++ b/cc/output/gl_renderer_draw_cache.h
@@ -33,6 +33,7 @@ struct TexturedQuadDrawCache {
int program_id;
int resource_id;
bool needs_blending;
+ bool nearest_neighbor;
danakj 2014/11/17 17:39:41 please init this variable in the constructor
jackhou1 2014/11/17 22:46:35 Done.
SkColor background_color;
// Information about the program binding that is required to draw.

Powered by Google App Engine
This is Rietveld 408576698