summaryrefslogtreecommitdiffstats
path: root/cc/resources/texture_mailbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/texture_mailbox.h')
-rw-r--r--cc/resources/texture_mailbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
index 4a0b76a..9bf41e1 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