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

Unified Diff: cc/resources/texture_mailbox.h

Issue 1387283002: cc: Remove redundant is_overlay arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: cc/resources/texture_mailbox.h
diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
index 47e71acb199227a06375015e5955cbffe38e9685..7e7e078512eb4b32e4726736639e9d0ed04462dd 100644
--- a/cc/resources/texture_mailbox.h
+++ b/cc/resources/texture_mailbox.h
@@ -26,7 +26,7 @@ class CC_EXPORT TextureMailbox {
uint32 target,
uint32 sync_point,
const gfx::Size& size_in_pixels,
- bool allow_overlay);
+ bool bound_to_gl_image);
TextureMailbox(SharedBitmap* shared_bitmap, const gfx::Size& size_in_pixels);
~TextureMailbox();
@@ -45,7 +45,7 @@ class CC_EXPORT TextureMailbox {
mailbox_holder_.sync_point = sync_point;
}
- bool allow_overlay() const { return allow_overlay_; }
+ bool bound_to_gl_image() const { return bound_to_gl_image_; }
bool nearest_neighbor() const { return nearest_neighbor_; }
void set_nearest_neighbor(bool nearest_neighbor) {
nearest_neighbor_ = nearest_neighbor;
@@ -61,7 +61,7 @@ class CC_EXPORT TextureMailbox {
gpu::MailboxHolder mailbox_holder_;
SharedBitmap* shared_bitmap_;
gfx::Size size_in_pixels_;
- bool allow_overlay_;
+ bool bound_to_gl_image_;
bool nearest_neighbor_;
};

Powered by Google App Engine
This is Rietveld 408576698