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

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

Issue 183563003: cc: Clean up OcclusionTracker template parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: occlusionparams: 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 unified diff | Download patch | Annotate | Revision Log
« 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void SetTextureMailbox(const TextureMailbox& mailbox, 131 void SetTextureMailbox(const TextureMailbox& mailbox,
132 scoped_ptr<SingleReleaseCallback> release_callback); 132 scoped_ptr<SingleReleaseCallback> release_callback);
133 133
134 void WillModifyTexture(); 134 void WillModifyTexture();
135 135
136 virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE; 136 virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE;
137 137
138 virtual void SetLayerTreeHost(LayerTreeHost* layer_tree_host) OVERRIDE; 138 virtual void SetLayerTreeHost(LayerTreeHost* layer_tree_host) OVERRIDE;
139 virtual bool DrawsContent() const OVERRIDE; 139 virtual bool DrawsContent() const OVERRIDE;
140 virtual bool Update(ResourceUpdateQueue* queue, 140 virtual bool Update(ResourceUpdateQueue* queue,
141 const OcclusionTracker* occlusion) OVERRIDE; 141 const OcclusionTracker<Layer>* occlusion) OVERRIDE;
142 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; 142 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE;
143 virtual Region VisibleContentOpaqueRegion() const OVERRIDE; 143 virtual Region VisibleContentOpaqueRegion() const OVERRIDE;
144 144
145 protected: 145 protected:
146 TextureLayer(TextureLayerClient* client, bool uses_mailbox); 146 TextureLayer(TextureLayerClient* client, bool uses_mailbox);
147 virtual ~TextureLayer(); 147 virtual ~TextureLayer();
148 148
149 private: 149 private:
150 void SetTextureMailboxInternal( 150 void SetTextureMailboxInternal(
151 const TextureMailbox& mailbox, 151 const TextureMailbox& mailbox,
(...skipping 15 matching lines...) Expand all
167 167
168 unsigned texture_id_; 168 unsigned texture_id_;
169 scoped_ptr<TextureMailboxHolder::MainThreadReference> holder_ref_; 169 scoped_ptr<TextureMailboxHolder::MainThreadReference> holder_ref_;
170 bool needs_set_mailbox_; 170 bool needs_set_mailbox_;
171 171
172 DISALLOW_COPY_AND_ASSIGN(TextureLayer); 172 DISALLOW_COPY_AND_ASSIGN(TextureLayer);
173 }; 173 };
174 174
175 } // namespace cc 175 } // namespace cc
176 #endif // CC_LAYERS_TEXTURE_LAYER_H_ 176 #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