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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 1315323006: webgl: optimize webgl.texSubImage2D(video) path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to ToT Created 5 years, 1 month 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 | « content/renderer/media/webmediaplayer_ms.cc ('k') | media/blink/webmediaplayer_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 double mediaTimeForTimeValue(double timeValue) const override; 132 double mediaTimeForTimeValue(double timeValue) const override;
133 133
134 unsigned decodedFrameCount() const override; 134 unsigned decodedFrameCount() const override;
135 unsigned droppedFrameCount() const override; 135 unsigned droppedFrameCount() const override;
136 unsigned audioDecodedByteCount() const override; 136 unsigned audioDecodedByteCount() const override;
137 unsigned videoDecodedByteCount() const override; 137 unsigned videoDecodedByteCount() const override;
138 138
139 bool copyVideoTextureToPlatformTexture( 139 bool copyVideoTextureToPlatformTexture(
140 blink::WebGraphicsContext3D* web_graphics_context, 140 blink::WebGraphicsContext3D* web_graphics_context,
141 unsigned int texture, 141 const CopyVideoTextureParams& params) override;
142 unsigned int internal_format,
143 unsigned int type,
144 bool premultiply_alpha,
145 bool flip_y) override;
146 142
147 blink::WebAudioSourceProvider* audioSourceProvider() override; 143 blink::WebAudioSourceProvider* audioSourceProvider() override;
148 144
149 MediaKeyException generateKeyRequest( 145 MediaKeyException generateKeyRequest(
150 const blink::WebString& key_system, 146 const blink::WebString& key_system,
151 const unsigned char* init_data, 147 const unsigned char* init_data,
152 unsigned init_data_length) override; 148 unsigned init_data_length) override;
153 149
154 MediaKeyException addKey(const blink::WebString& key_system, 150 MediaKeyException addKey(const blink::WebString& key_system,
155 const unsigned char* key, 151 const unsigned char* key,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_; 328 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_;
333 329
334 scoped_ptr<RendererFactory> renderer_factory_; 330 scoped_ptr<RendererFactory> renderer_factory_;
335 331
336 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 332 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
337 }; 333 };
338 334
339 } // namespace media 335 } // namespace media
340 336
341 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 337 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698