Index: cc/resources/texture_mailbox.h |
diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h |
index 4a0b76afea04a9dda316d280c1482edd305dea68..9bf41e18fb89d802a64ae509a7e5a34c5a86d0cd 100644 |
--- a/cc/resources/texture_mailbox.h |
+++ b/cc/resources/texture_mailbox.h |
@@ -41,6 +41,10 @@ class CC_EXPORT TextureMailbox { |
bool allow_overlay() const { return allow_overlay_; } |
void set_allow_overlay(bool allow_overlay) { allow_overlay_ = allow_overlay; } |
+ bool nearest_neighbor() const { return nearest_neighbor_; } |
+ void set_nearest_neighbor(bool nearest_neighbor) { |
+ nearest_neighbor_ = nearest_neighbor; |
+ } |
base::SharedMemory* shared_memory() const { return shared_memory_; } |
gfx::Size shared_memory_size() const { return shared_memory_size_; } |
@@ -51,6 +55,7 @@ class CC_EXPORT TextureMailbox { |
base::SharedMemory* shared_memory_; |
gfx::Size shared_memory_size_; |
bool allow_overlay_; |
+ bool nearest_neighbor_; |
}; |
} // namespace cc |