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

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

Issue 1418513016: Revert of webgl: optimize webgl.texSubImage2D(video) path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 const CopyVideoTextureParams& params) override; 141 unsigned int texture,
142 unsigned int internal_format,
143 unsigned int type,
144 bool premultiply_alpha,
145 bool flip_y) override;
142 146
143 blink::WebAudioSourceProvider* audioSourceProvider() override; 147 blink::WebAudioSourceProvider* audioSourceProvider() override;
144 148
145 MediaKeyException generateKeyRequest( 149 MediaKeyException generateKeyRequest(
146 const blink::WebString& key_system, 150 const blink::WebString& key_system,
147 const unsigned char* init_data, 151 const unsigned char* init_data,
148 unsigned init_data_length) override; 152 unsigned init_data_length) override;
149 153
150 MediaKeyException addKey(const blink::WebString& key_system, 154 MediaKeyException addKey(const blink::WebString& key_system,
151 const unsigned char* key, 155 const unsigned char* key,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_; 332 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_;
329 333
330 scoped_ptr<RendererFactory> renderer_factory_; 334 scoped_ptr<RendererFactory> renderer_factory_;
331 335
332 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 336 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
333 }; 337 };
334 338
335 } // namespace media 339 } // namespace media
336 340
337 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 341 #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