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

Side by Side Diff: cc/texture_layer.h

Issue 11270047: cc: Rename TextureUpdate to ResourceUpdate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sort includes and forward declarations. Created 8 years, 1 month 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/test/tiled_layer_test_common.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 TextureLayerChromium_h 5 #ifndef TextureLayerChromium_h
6 #define TextureLayerChromium_h 6 #define TextureLayerChromium_h
7 7
8 #include "cc/layer.h" 8 #include "cc/layer.h"
9 9
10 namespace WebKit { 10 namespace WebKit {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Code path for plugins which supply their own texture ID. 44 // Code path for plugins which supply their own texture ID.
45 void setTextureId(unsigned); 45 void setTextureId(unsigned);
46 46
47 void willModifyTexture(); 47 void willModifyTexture();
48 48
49 virtual void setNeedsDisplayRect(const FloatRect&) OVERRIDE; 49 virtual void setNeedsDisplayRect(const FloatRect&) OVERRIDE;
50 50
51 virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE; 51 virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE;
52 virtual bool drawsContent() const OVERRIDE; 52 virtual bool drawsContent() const OVERRIDE;
53 virtual void update(TextureUpdateQueue&, const OcclusionTracker*, RenderingS tats&) OVERRIDE; 53 virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, Rendering Stats&) OVERRIDE;
54 virtual void pushPropertiesTo(LayerImpl*) OVERRIDE; 54 virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
55 55
56 protected: 56 protected:
57 explicit TextureLayer(TextureLayerClient*); 57 explicit TextureLayer(TextureLayerClient*);
58 virtual ~TextureLayer(); 58 virtual ~TextureLayer();
59 59
60 private: 60 private:
61 TextureLayerClient* m_client; 61 TextureLayerClient* m_client;
62 62
63 bool m_flipped; 63 bool m_flipped;
64 FloatRect m_uvRect; 64 FloatRect m_uvRect;
65 bool m_premultipliedAlpha; 65 bool m_premultipliedAlpha;
66 bool m_rateLimitContext; 66 bool m_rateLimitContext;
67 bool m_contextLost; 67 bool m_contextLost;
68 68
69 unsigned m_textureId; 69 unsigned m_textureId;
70 }; 70 };
71 71
72 } 72 }
73 #endif 73 #endif
OLDNEW
« no previous file with comments | « cc/test/tiled_layer_test_common.cc ('k') | cc/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698