summaryrefslogtreecommitdiffstats
path: root/cc/resources/texture_mailbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/texture_mailbox.cc')
-rw-r--r--cc/resources/texture_mailbox.cc18
1 files changed, 8 insertions, 10 deletions
diff --git a/cc/resources/texture_mailbox.cc b/cc/resources/texture_mailbox.cc
index 7e4dd29..ff4c6f9 100644
--- a/cc/resources/texture_mailbox.cc
+++ b/cc/resources/texture_mailbox.cc
@@ -15,37 +15,35 @@ TextureMailbox::TextureMailbox() : shared_bitmap_(NULL) {
TextureMailbox::TextureMailbox(const gpu::MailboxHolder& mailbox_holder)
: mailbox_holder_(mailbox_holder),
shared_bitmap_(NULL),
- allow_overlay_(false),
- nearest_neighbor_(false) {
-}
+ is_overlay_candidate_(false),
+ nearest_neighbor_(false) {}
TextureMailbox::TextureMailbox(const gpu::Mailbox& mailbox,
uint32 target,
uint32 sync_point)
: mailbox_holder_(mailbox, target, sync_point),
shared_bitmap_(NULL),
- allow_overlay_(false),
- nearest_neighbor_(false) {
-}
+ is_overlay_candidate_(false),
+ nearest_neighbor_(false) {}
TextureMailbox::TextureMailbox(const gpu::Mailbox& mailbox,
uint32 target,
uint32 sync_point,
const gfx::Size& size_in_pixels,
- bool allow_overlay)
+ bool is_overlay_candidate)
: mailbox_holder_(mailbox, target, sync_point),
shared_bitmap_(nullptr),
size_in_pixels_(size_in_pixels),
- allow_overlay_(allow_overlay),
+ is_overlay_candidate_(is_overlay_candidate),
nearest_neighbor_(false) {
- DCHECK_IMPLIES(allow_overlay, !size_in_pixels.IsEmpty());
+ DCHECK_IMPLIES(is_overlay_candidate, !size_in_pixels.IsEmpty());
}
TextureMailbox::TextureMailbox(SharedBitmap* shared_bitmap,
const gfx::Size& size_in_pixels)
: shared_bitmap_(shared_bitmap),
size_in_pixels_(size_in_pixels),
- allow_overlay_(false),
+ is_overlay_candidate_(false),
nearest_neighbor_(false) {
// If an embedder of cc gives an invalid TextureMailbox, we should crash
// here to identify the offender.