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

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

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/video_frame_provider_client_impl.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 17 matching lines...) Expand all
28 VideoFrameProvider* provider, 28 VideoFrameProvider* provider,
29 media::VideoRotation video_rotation); 29 media::VideoRotation video_rotation);
30 ~VideoLayerImpl() override; 30 ~VideoLayerImpl() override;
31 31
32 // LayerImpl implementation. 32 // LayerImpl implementation.
33 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; 33 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
34 void PushPropertiesTo(LayerImpl* layer) override; 34 void PushPropertiesTo(LayerImpl* layer) override;
35 bool WillDraw(DrawMode draw_mode, 35 bool WillDraw(DrawMode draw_mode,
36 ResourceProvider* resource_provider) override; 36 ResourceProvider* resource_provider) override;
37 void AppendQuads(RenderPass* render_pass, 37 void AppendQuads(RenderPass* render_pass,
38 const Occlusion& occlusion_in_content_space,
39 AppendQuadsData* append_quads_data) override; 38 AppendQuadsData* append_quads_data) override;
40 void DidDraw(ResourceProvider* resource_provider) override; 39 void DidDraw(ResourceProvider* resource_provider) override;
41 void DidBecomeActive() override; 40 void DidBecomeActive() override;
42 void ReleaseResources() override; 41 void ReleaseResources() override;
43 42
44 void SetNeedsRedraw(); 43 void SetNeedsRedraw();
45 44
46 void SetProviderClientImpl( 45 void SetProviderClientImpl(
47 scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl); 46 scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl);
48 47
(...skipping 21 matching lines...) Expand all
70 std::vector<unsigned> software_resources_; 69 std::vector<unsigned> software_resources_;
71 // Called once for each software resource. 70 // Called once for each software resource.
72 ReleaseCallbackImpl software_release_callback_; 71 ReleaseCallbackImpl software_release_callback_;
73 72
74 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl); 73 DISALLOW_COPY_AND_ASSIGN(VideoLayerImpl);
75 }; 74 };
76 75
77 } // namespace cc 76 } // namespace cc
78 77
79 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_ 78 #endif // CC_LAYERS_VIDEO_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/video_frame_provider_client_impl.cc ('k') | cc/layers/video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698