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

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: Undo changes on overlay_strategy_single_on_top.cc 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
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/resources/texture_mailbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/texture_mailbox.h
diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
index 47e71acb199227a06375015e5955cbffe38e9685..9fc0fb841d6d2f6be03096307c030c8ad0d707a8 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 is_overlay_candidate);
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 is_overlay_candidate() const { return is_overlay_candidate_; }
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 is_overlay_candidate_;
bool nearest_neighbor_;
};
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/resources/texture_mailbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698