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

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

Issue 2820823003: Revert "Fix the size of video textures uploaded to WebGL." (Closed)
Patch Set: Created 3 years, 8 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 double mediaTimeForTimeValue(double timeValue) const override; 165 double mediaTimeForTimeValue(double timeValue) const override;
166 166
167 unsigned decodedFrameCount() const override; 167 unsigned decodedFrameCount() const override;
168 unsigned droppedFrameCount() const override; 168 unsigned droppedFrameCount() const override;
169 size_t audioDecodedByteCount() const override; 169 size_t audioDecodedByteCount() const override;
170 size_t videoDecodedByteCount() const override; 170 size_t videoDecodedByteCount() const override;
171 171
172 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, 172 bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl,
173 unsigned int texture, 173 unsigned int texture,
174 unsigned int internal_format,
175 unsigned int type,
174 bool premultiply_alpha, 176 bool premultiply_alpha,
175 bool flip_y) override; 177 bool flip_y) override;
176 178
177 blink::WebAudioSourceProvider* getAudioSourceProvider() override; 179 blink::WebAudioSourceProvider* getAudioSourceProvider() override;
178 180
179 void setContentDecryptionModule( 181 void setContentDecryptionModule(
180 blink::WebContentDecryptionModule* cdm, 182 blink::WebContentDecryptionModule* cdm,
181 blink::WebContentDecryptionModuleResult result) override; 183 blink::WebContentDecryptionModuleResult result) override;
182 184
183 bool supportsOverlayFullscreenVideo() override; 185 bool supportsOverlayFullscreenVideo() override;
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 bool video_locked_when_paused_when_hidden_ = false; 711 bool video_locked_when_paused_when_hidden_ = false;
710 712
711 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; 713 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_;
712 714
713 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 715 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
714 }; 716 };
715 717
716 } // namespace media 718 } // namespace media
717 719
718 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 720 #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