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

Unified Diff: cc/resources/texture_mailbox.cc

Issue 197223003: Start of hardware overlay support in CC with Ubercompositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/texture_mailbox.h ('k') | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/texture_mailbox.cc
diff --git a/cc/resources/texture_mailbox.cc b/cc/resources/texture_mailbox.cc
index a6c2fde43bfc95cf2facb351bab9b8a4c770b97c..a08930d07699a7d3259dec2d240001295a754efc 100644
--- a/cc/resources/texture_mailbox.cc
+++ b/cc/resources/texture_mailbox.cc
@@ -12,16 +12,22 @@ namespace cc {
TextureMailbox::TextureMailbox() : shared_memory_(NULL) {}
TextureMailbox::TextureMailbox(const gpu::MailboxHolder& mailbox_holder)
- : mailbox_holder_(mailbox_holder), shared_memory_(NULL) {}
+ : mailbox_holder_(mailbox_holder),
+ shared_memory_(NULL),
+ allow_overlay_(false) {}
TextureMailbox::TextureMailbox(const gpu::Mailbox& mailbox,
uint32 target,
uint32 sync_point)
- : mailbox_holder_(mailbox, target, sync_point), shared_memory_(NULL) {}
+ : mailbox_holder_(mailbox, target, sync_point),
+ shared_memory_(NULL),
+ allow_overlay_(false) {}
TextureMailbox::TextureMailbox(base::SharedMemory* shared_memory,
const gfx::Size& size)
- : shared_memory_(shared_memory), shared_memory_size_(size) {}
+ : shared_memory_(shared_memory),
+ shared_memory_size_(size),
+ allow_overlay_(false) {}
TextureMailbox::~TextureMailbox() {}
« no previous file with comments | « cc/resources/texture_mailbox.h ('k') | cc/surfaces/surface_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698