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

Unified Diff: cc/layers/texture_layer.h

Issue 15001027: [Aura] Added Support for rendering software compositor frames as cc::TextureLayers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed DuplicateHandle on Windows. Created 7 years, 7 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/layers/texture_layer.h
diff --git a/cc/layers/texture_layer.h b/cc/layers/texture_layer.h
index cff2e3cd46fa13339168e811c60c0ae433e736dd..32337ce4ba9898a250a12ae2282e65bc4ba3d22f 100644
--- a/cc/layers/texture_layer.h
+++ b/cc/layers/texture_layer.h
@@ -62,6 +62,7 @@ class CC_EXPORT TextureLayer : public Layer {
void SetTextureId(unsigned texture_id);
// Code path for plugins which supply their own mailbox.
+ bool uses_mailbox() const { return uses_mailbox_; }
void SetTextureMailbox(const TextureMailbox& mailbox);
void WillModifyTexture();
@@ -84,7 +85,7 @@ class CC_EXPORT TextureLayer : public Layer {
private:
TextureLayerClient* client_;
- bool uses_mailbox_;
+ const bool uses_mailbox_;
danakj 2013/05/23 15:34:33 const things should be kFooBar. I'd prefer to not
slavi 2013/05/28 18:55:13 Done.
bool flipped_;
gfx::PointF uv_top_left_;
@@ -97,7 +98,7 @@ class CC_EXPORT TextureLayer : public Layer {
bool content_committed_;
unsigned texture_id_;
- TextureMailbox texture_mailbox_;
+ TextureMailbox mailbox_;
danakj 2013/05/23 15:34:33 Prefer to keep this variable name as is. It's not
slavi 2013/05/28 18:55:13 Done.
bool own_mailbox_;
DISALLOW_COPY_AND_ASSIGN(TextureLayer);
« no previous file with comments | « cc/cc.gyp ('k') | cc/layers/texture_layer.cc » ('j') | cc/layers/texture_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698