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

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

Issue 308193003: Removed QuadSink and MockQuadCuller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumLayerImpl
Patch Set: rebase Created 6 years, 6 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/ui_resource_layer_impl_unittest.cc ('k') | cc/layers/video_layer_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_VIDEO_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_VIDEO_LAYER_IMPL_H_
6 #define CC_LAYERS_VIDEO_LAYER_IMPL_H_ 6 #define CC_LAYERS_VIDEO_LAYER_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 15 matching lines...) Expand all
26 int id, 26 int id,
27 VideoFrameProvider* provider); 27 VideoFrameProvider* provider);
28 virtual ~VideoLayerImpl(); 28 virtual ~VideoLayerImpl();
29 29
30 // LayerImpl implementation. 30 // LayerImpl implementation.
31 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) 31 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl)
32 OVERRIDE; 32 OVERRIDE;
33 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; 33 virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE;
34 virtual bool WillDraw(DrawMode draw_mode, 34 virtual bool WillDraw(DrawMode draw_mode,
35 ResourceProvider* resource_provider) OVERRIDE; 35 ResourceProvider* resource_provider) OVERRIDE;
36 virtual void AppendQuads(QuadSink* quad_sink, 36 virtual void AppendQuads(RenderPass* render_pass,
37 const OcclusionTracker<LayerImpl>& occlusion_tracker,
37 AppendQuadsData* append_quads_data) OVERRIDE; 38 AppendQuadsData* append_quads_data) OVERRIDE;
38 virtual void DidDraw(ResourceProvider* resource_provider) OVERRIDE; 39 virtual void DidDraw(ResourceProvider* resource_provider) OVERRIDE;
39 virtual void DidBecomeActive() OVERRIDE; 40 virtual void DidBecomeActive() OVERRIDE;
40 virtual void ReleaseResources() OVERRIDE; 41 virtual void ReleaseResources() OVERRIDE;
41 42
42 void SetNeedsRedraw(); 43 void SetNeedsRedraw();
43 44
44 void SetProviderClientImpl( 45 void SetProviderClientImpl(
45 scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl); 46 scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl);
46 47
(...skipping 15 matching lines...) Expand all
62 std::vector<unsigned> software_resources_; 63 std::vector<unsigned> software_resources_;
63 // Called once for each software resource. 64 // Called once for each software resource.
64 ReleaseCallback software_release_callback_; 65 ReleaseCallback software_release_callback_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl); 67 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl);
67 }; 68 };
68 69
69 } // namespace cc 70 } // namespace cc
70 71
71 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_ 72 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/ui_resource_layer_impl_unittest.cc ('k') | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698