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

Side by Side Diff: content/renderer/media/webmediaplayer_ms.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 | « no previous file | content/renderer/media/webmediaplayer_ms.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 CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void OnFrameHidden() override; 146 void OnFrameHidden() override;
147 void OnFrameClosed() override; 147 void OnFrameClosed() override;
148 void OnFrameShown() override; 148 void OnFrameShown() override;
149 void OnIdleTimeout() override; 149 void OnIdleTimeout() override;
150 void OnPlay() override; 150 void OnPlay() override;
151 void OnPause() override; 151 void OnPause() override;
152 void OnVolumeMultiplierUpdate(double multiplier) override; 152 void OnVolumeMultiplierUpdate(double multiplier) override;
153 void OnBecamePersistentVideo(bool value) override; 153 void OnBecamePersistentVideo(bool value) override;
154 154
155 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, 155 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl,
156 unsigned target,
156 unsigned int texture, 157 unsigned int texture,
157 unsigned internal_format, 158 unsigned internal_format,
158 unsigned format, 159 unsigned format,
159 unsigned type, 160 unsigned type,
161 int level,
160 bool premultiply_alpha, 162 bool premultiply_alpha,
161 bool flip_y) override; 163 bool flip_y) override;
162 164
163 bool TexImageImpl(TexImageFunctionID functionID, 165 bool TexImageImpl(TexImageFunctionID functionID,
164 unsigned target, 166 unsigned target,
165 gpu::gles2::GLES2Interface* gl, 167 gpu::gles2::GLES2Interface* gl,
166 unsigned int texture, 168 unsigned int texture,
167 int level, 169 int level,
168 int internalformat, 170 int internalformat,
169 unsigned format, 171 unsigned format,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // True if playback should be started upon the next call to OnShown(). Only 263 // True if playback should be started upon the next call to OnShown(). Only
262 // used on Android. 264 // used on Android.
263 bool should_play_upon_shown_; 265 bool should_play_upon_shown_;
264 266
265 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); 267 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS);
266 }; 268 };
267 269
268 } // namespace content 270 } // namespace content
269 271
270 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 272 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698