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

Side by Side Diff: cc/layers/texture_layer.h

Issue 12426024: cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 190965 Created 7 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 unified diff | Download patch
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/layers/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_LAYERS_TEXTURE_LAYER_H_ 5 #ifndef CC_LAYERS_TEXTURE_LAYER_H_
6 #define CC_LAYERS_TEXTURE_LAYER_H_ 6 #define CC_LAYERS_TEXTURE_LAYER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Code path for plugins which supply their own mailbox. 63 // Code path for plugins which supply their own mailbox.
64 void SetTextureMailbox(const TextureMailbox& mailbox); 64 void SetTextureMailbox(const TextureMailbox& mailbox);
65 65
66 void WillModifyTexture(); 66 void WillModifyTexture();
67 67
68 virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE; 68 virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE;
69 69
70 virtual void SetLayerTreeHost(LayerTreeHost* layer_tree_host) OVERRIDE; 70 virtual void SetLayerTreeHost(LayerTreeHost* layer_tree_host) OVERRIDE;
71 virtual bool DrawsContent() const OVERRIDE; 71 virtual bool DrawsContent() const OVERRIDE;
72 virtual void Update(ResourceUpdateQueue* queue, 72 virtual void Update(ResourceUpdateQueue* queue,
73 const OcclusionTracker* occlusion, 73 const OcclusionTracker* occlusion) OVERRIDE;
74 RenderingStats* stats) OVERRIDE;
75 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; 74 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE;
76 virtual bool BlocksPendingCommit() const OVERRIDE; 75 virtual bool BlocksPendingCommit() const OVERRIDE;
77 76
78 virtual bool CanClipSelf() const OVERRIDE; 77 virtual bool CanClipSelf() const OVERRIDE;
79 78
80 protected: 79 protected:
81 TextureLayer(TextureLayerClient* client, bool uses_mailbox); 80 TextureLayer(TextureLayerClient* client, bool uses_mailbox);
82 virtual ~TextureLayer(); 81 virtual ~TextureLayer();
83 82
84 private: 83 private:
(...skipping 12 matching lines...) Expand all
97 96
98 unsigned texture_id_; 97 unsigned texture_id_;
99 TextureMailbox texture_mailbox_; 98 TextureMailbox texture_mailbox_;
100 bool own_mailbox_; 99 bool own_mailbox_;
101 100
102 DISALLOW_COPY_AND_ASSIGN(TextureLayer); 101 DISALLOW_COPY_AND_ASSIGN(TextureLayer);
103 }; 102 };
104 103
105 } // namespace cc 104 } // namespace cc
106 #endif // CC_LAYERS_TEXTURE_LAYER_H_ 105 #endif // CC_LAYERS_TEXTURE_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/layers/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698