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

Unified Diff: cc/blink/web_external_texture_layer_impl.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
« no previous file with comments | « no previous file | cc/blink/web_external_texture_layer_impl.cc » ('j') | cc/output/gl_renderer_draw_cache.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_external_texture_layer_impl.h
diff --git a/cc/blink/web_external_texture_layer_impl.h b/cc/blink/web_external_texture_layer_impl.h
index 853b1a079258e5c6771a6167b5d47c82d0120ae4..7914e690a3b84378715fc77ee07b027a3768852a 100644
--- a/cc/blink/web_external_texture_layer_impl.h
+++ b/cc/blink/web_external_texture_layer_impl.h
@@ -11,6 +11,7 @@
#include "cc/blink/cc_blink_export.h"
#include "cc/layers/texture_layer_client.h"
#include "third_party/WebKit/public/platform/WebExternalTextureLayer.h"
+#include "third_party/skia/include/core/SkPaint.h"
danakj 2014/11/17 17:39:41 unused
jackhou1 2014/11/17 22:46:35 Done.
namespace blink {
struct WebFloatRect;
@@ -43,6 +44,7 @@ class WebExternalTextureLayerImpl
virtual void setPremultipliedAlpha(bool premultiplied);
virtual void setBlendBackgroundColor(bool blend);
virtual void setRateLimitContext(bool rate_limit);
+ virtual void setNearestNeighbor(bool nearest_neighbor);
// TextureLayerClient implementation.
bool PrepareTextureMailbox(
« no previous file with comments | « no previous file | cc/blink/web_external_texture_layer_impl.cc » ('j') | cc/output/gl_renderer_draw_cache.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698