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

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: don't use c++11 initialize-list Created 5 years, 2 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
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 double mediaTimeForTimeValue(double timeValue) const override; 131 double mediaTimeForTimeValue(double timeValue) const override;
132 132
133 unsigned decodedFrameCount() const override; 133 unsigned decodedFrameCount() const override;
134 unsigned droppedFrameCount() const override; 134 unsigned droppedFrameCount() const override;
135 unsigned audioDecodedByteCount() const override; 135 unsigned audioDecodedByteCount() const override;
136 unsigned videoDecodedByteCount() const override; 136 unsigned videoDecodedByteCount() const override;
137 137
138 bool copyVideoTextureToPlatformTexture( 138 bool copyVideoTextureToPlatformTexture(
139 blink::WebGraphicsContext3D* web_graphics_context, 139 blink::WebGraphicsContext3D* web_graphics_context,
140 unsigned int texture, 140 const CopyVideoTextureParams& params) override;
141 unsigned int internal_format,
142 unsigned int type,
143 bool premultiply_alpha,
144 bool flip_y) override;
145 141
146 blink::WebAudioSourceProvider* audioSourceProvider() override; 142 blink::WebAudioSourceProvider* audioSourceProvider() override;
147 143
148 MediaKeyException generateKeyRequest( 144 MediaKeyException generateKeyRequest(
149 const blink::WebString& key_system, 145 const blink::WebString& key_system,
150 const unsigned char* init_data, 146 const unsigned char* init_data,
151 unsigned init_data_length) override; 147 unsigned init_data_length) override;
152 148
153 MediaKeyException addKey(const blink::WebString& key_system, 149 MediaKeyException addKey(const blink::WebString& key_system,
154 const unsigned char* key, 150 const unsigned char* key,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_; 327 scoped_ptr<blink::WebContentDecryptionModuleResult> set_cdm_result_;
332 328
333 scoped_ptr<RendererFactory> renderer_factory_; 329 scoped_ptr<RendererFactory> renderer_factory_;
334 330
335 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 331 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
336 }; 332 };
337 333
338 } // namespace media 334 } // namespace media
339 335
340 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 336 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698