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

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

Issue 2854263006: Remove non-target version of copyVideoTextureToPlatformTexture (Closed)
Patch Set: Created 3 years, 7 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 bool DidPassCORSAccessCheck() const override; 165 bool DidPassCORSAccessCheck() const override;
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 target,
175 unsigned int texture, 176 unsigned int texture,
176 unsigned internal_format, 177 unsigned internal_format,
177 unsigned format, 178 unsigned format,
178 unsigned type, 179 unsigned type,
180 int level,
179 bool premultiply_alpha, 181 bool premultiply_alpha,
180 bool flip_y) override; 182 bool flip_y) override;
181 183
182 blink::WebAudioSourceProvider* GetAudioSourceProvider() override; 184 blink::WebAudioSourceProvider* GetAudioSourceProvider() override;
183 185
184 void SetContentDecryptionModule( 186 void SetContentDecryptionModule(
185 blink::WebContentDecryptionModule* cdm, 187 blink::WebContentDecryptionModule* cdm,
186 blink::WebContentDecryptionModuleResult result) override; 188 blink::WebContentDecryptionModuleResult result) override;
187 189
188 bool SupportsOverlayFullscreenVideo() override; 190 bool SupportsOverlayFullscreenVideo() override;
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; 734 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_;
733 735
734 bool initial_video_height_recorded_ = false; 736 bool initial_video_height_recorded_ = false;
735 737
736 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 738 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
737 }; 739 };
738 740
739 } // namespace media 741 } // namespace media
740 742
741 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 743 #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