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

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

Issue 2791813003: Fix broken draw/upload paths from videos to 2D canvas and WebGL. (Closed)
Patch Set: Disable GPU-GPU copies to floating-point textures on Android. 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
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 double MediaTimeForTimeValue(double timeValue) const override; 167 double MediaTimeForTimeValue(double timeValue) const override;
168 168
169 unsigned DecodedFrameCount() const override; 169 unsigned DecodedFrameCount() const override;
170 unsigned DroppedFrameCount() const override; 170 unsigned DroppedFrameCount() const override;
171 size_t AudioDecodedByteCount() const override; 171 size_t AudioDecodedByteCount() const override;
172 size_t VideoDecodedByteCount() const override; 172 size_t VideoDecodedByteCount() const override;
173 173
174 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, 174 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl,
175 unsigned int texture, 175 unsigned int texture,
176 unsigned internal_format,
177 unsigned format,
178 unsigned type,
176 bool premultiply_alpha, 179 bool premultiply_alpha,
177 bool flip_y) override; 180 bool flip_y) override;
178 181
179 blink::WebAudioSourceProvider* GetAudioSourceProvider() override; 182 blink::WebAudioSourceProvider* GetAudioSourceProvider() override;
180 183
181 void SetContentDecryptionModule( 184 void SetContentDecryptionModule(
182 blink::WebContentDecryptionModule* cdm, 185 blink::WebContentDecryptionModule* cdm,
183 blink::WebContentDecryptionModuleResult result) override; 186 blink::WebContentDecryptionModuleResult result) override;
184 187
185 bool SupportsOverlayFullscreenVideo() override; 188 bool SupportsOverlayFullscreenVideo() override;
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 base::TimeDelta last_uploaded_frame_timestamp_; 716 base::TimeDelta last_uploaded_frame_timestamp_;
714 717
715 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; 718 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_;
716 719
717 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 720 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
718 }; 721 };
719 722
720 } // namespace media 723 } // namespace media
721 724
722 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 725 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_conformance_expectations.py ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698