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

Side by Side Diff: cc/texture_layer.h

Issue 11475054: cc: Add a blocksPendingCommit flag to LayerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: LayerImpl=>Layer, pendingTree=>pendingCommit Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layer.cc ('k') | cc/texture_layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEXTURE_LAYER_H_ 5 #ifndef CC_TEXTURE_LAYER_H_
6 #define CC_TEXTURE_LAYER_H_ 6 #define CC_TEXTURE_LAYER_H_
7 7
8 #include "cc/cc_export.h" 8 #include "cc/cc_export.h"
9 #include "cc/layer.h" 9 #include "cc/layer.h"
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void setTextureId(unsigned); 46 void setTextureId(unsigned);
47 47
48 void willModifyTexture(); 48 void willModifyTexture();
49 49
50 virtual void setNeedsDisplayRect(const gfx::RectF&) OVERRIDE; 50 virtual void setNeedsDisplayRect(const gfx::RectF&) OVERRIDE;
51 51
52 virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE; 52 virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE;
53 virtual bool drawsContent() const OVERRIDE; 53 virtual bool drawsContent() const OVERRIDE;
54 virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, Rendering Stats&) OVERRIDE; 54 virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, Rendering Stats&) OVERRIDE;
55 virtual void pushPropertiesTo(LayerImpl*) OVERRIDE; 55 virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
56 virtual bool blocksPendingCommit() const OVERRIDE;
56 57
57 protected: 58 protected:
58 explicit TextureLayer(TextureLayerClient*); 59 explicit TextureLayer(TextureLayerClient*);
59 virtual ~TextureLayer(); 60 virtual ~TextureLayer();
60 61
61 private: 62 private:
62 TextureLayerClient* m_client; 63 TextureLayerClient* m_client;
63 64
64 bool m_flipped; 65 bool m_flipped;
65 gfx::RectF m_uvRect; 66 gfx::RectF m_uvRect;
66 bool m_premultipliedAlpha; 67 bool m_premultipliedAlpha;
67 bool m_rateLimitContext; 68 bool m_rateLimitContext;
68 bool m_contextLost; 69 bool m_contextLost;
69 bool m_contentCommitted; 70 bool m_contentCommitted;
70 71
71 unsigned m_textureId; 72 unsigned m_textureId;
72 }; 73 };
73 74
74 } 75 }
75 #endif // CC_TEXTURE_LAYER_H_ 76 #endif // CC_TEXTURE_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layer.cc ('k') | cc/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698