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

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

Issue 2562003003: Fix the size of video textures uploaded to WebGL. (Closed)
Patch Set: Rebased. Fixed Android build. Created 3 years, 11 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 | « 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 double mediaTimeForTimeValue(double timeValue) const override; 161 double mediaTimeForTimeValue(double timeValue) const override;
162 162
163 unsigned decodedFrameCount() const override; 163 unsigned decodedFrameCount() const override;
164 unsigned droppedFrameCount() const override; 164 unsigned droppedFrameCount() const override;
165 size_t audioDecodedByteCount() const override; 165 size_t audioDecodedByteCount() const override;
166 size_t videoDecodedByteCount() const override; 166 size_t videoDecodedByteCount() const override;
167 167
168 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, 168 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl,
169 unsigned int texture, 169 unsigned int texture,
170 unsigned int internal_format,
171 unsigned int type,
172 bool premultiply_alpha, 170 bool premultiply_alpha,
173 bool flip_y) override; 171 bool flip_y) override;
174 172
175 blink::WebAudioSourceProvider* getAudioSourceProvider() override; 173 blink::WebAudioSourceProvider* getAudioSourceProvider() override;
176 174
177 void setContentDecryptionModule( 175 void setContentDecryptionModule(
178 blink::WebContentDecryptionModule* cdm, 176 blink::WebContentDecryptionModule* cdm,
179 blink::WebContentDecryptionModuleResult result) override; 177 blink::WebContentDecryptionModuleResult result) override;
180 178
181 void SetEnableFullscreenOverlays(bool enable_overlays); 179 void SetEnableFullscreenOverlays(bool enable_overlays);
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 599
602 // Whether the player is currently in autoplay muted state. 600 // Whether the player is currently in autoplay muted state.
603 bool autoplay_muted_ = false; 601 bool autoplay_muted_ = false;
604 602
605 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 603 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
606 }; 604 };
607 605
608 } // namespace media 606 } // namespace media
609 607
610 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 608 #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