OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_LAYER_IMPL_H_ |
6 #define CC_LAYERS_LAYER_IMPL_H_ | 6 #define CC_LAYERS_LAYER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 AppendQuadsData* append_quads_data) {} | 248 AppendQuadsData* append_quads_data) {} |
249 virtual void DidDraw(ResourceProvider* resource_provider); | 249 virtual void DidDraw(ResourceProvider* resource_provider); |
250 | 250 |
251 // Verify that the resource ids in the quad are valid. | 251 // Verify that the resource ids in the quad are valid. |
252 void ValidateQuadResources(DrawQuad* quad) const { | 252 void ValidateQuadResources(DrawQuad* quad) const { |
253 #if DCHECK_IS_ON() | 253 #if DCHECK_IS_ON() |
254 ValidateQuadResourcesInternal(quad); | 254 ValidateQuadResourcesInternal(quad); |
255 #endif | 255 #endif |
256 } | 256 } |
257 | 257 |
258 virtual void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, | 258 virtual void GetContentsResourceId(ResourceId* resource_id, |
259 gfx::Size* resource_size) const; | 259 gfx::Size* resource_size) const; |
260 | 260 |
261 virtual bool HasDelegatedContent() const; | 261 virtual bool HasDelegatedContent() const; |
262 virtual bool HasContributingDelegatedRenderPasses() const; | 262 virtual bool HasContributingDelegatedRenderPasses() const; |
263 virtual RenderPassId FirstContributingRenderPassId() const; | 263 virtual RenderPassId FirstContributingRenderPassId() const; |
264 virtual RenderPassId NextContributingRenderPassId(RenderPassId id) const; | 264 virtual RenderPassId NextContributingRenderPassId(RenderPassId id) const; |
265 | 265 |
266 virtual void NotifyTileStateChanged(const Tile* tile) {} | 266 virtual void NotifyTileStateChanged(const Tile* tile) {} |
267 | 267 |
268 virtual ScrollbarLayerImplBase* ToScrollbarLayer(); | 268 virtual ScrollbarLayerImplBase* ToScrollbarLayer(); |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 | 830 |
831 std::vector<FrameTimingRequest> frame_timing_requests_; | 831 std::vector<FrameTimingRequest> frame_timing_requests_; |
832 bool frame_timing_requests_dirty_; | 832 bool frame_timing_requests_dirty_; |
833 | 833 |
834 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 834 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
835 }; | 835 }; |
836 | 836 |
837 } // namespace cc | 837 } // namespace cc |
838 | 838 |
839 #endif // CC_LAYERS_LAYER_IMPL_H_ | 839 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |