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

Unified Diff: content/renderer/media/webmediaplayer_ms.h

Issue 1833273002: Remove WebGraphicsContext3D::getGLES2Interface(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getgles2: rebase Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/webmediaplayer_ms.h
diff --git a/content/renderer/media/webmediaplayer_ms.h b/content/renderer/media/webmediaplayer_ms.h
index 8e1379ba44297f6637e764a561d5b9df8d1ce77a..bd94338b030e606065bf5766208a850b79f1251f 100644
--- a/content/renderer/media/webmediaplayer_ms.h
+++ b/content/renderer/media/webmediaplayer_ms.h
@@ -22,7 +22,6 @@
namespace blink {
class WebFrame;
-class WebGraphicsContext3D;
class WebMediaPlayerClient;
class WebSecurityOrigin;
class WebString;
@@ -37,6 +36,12 @@ namespace cc_blink {
class WebLayerImpl;
}
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+}
+}
+
namespace content {
class MediaStreamAudioRenderer;
class MediaStreamRendererFactory;
@@ -142,13 +147,12 @@ class CONTENT_EXPORT WebMediaPlayerMS
void OnPause() override;
void OnVolumeMultiplierUpdate(double multiplier) override;
- bool copyVideoTextureToPlatformTexture(
- blink::WebGraphicsContext3D* web_graphics_context,
- unsigned int texture,
- unsigned int internal_format,
- unsigned int type,
- bool premultiply_alpha,
- bool flip_y) override;
+ bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl,
+ unsigned int texture,
+ unsigned int internal_format,
+ unsigned int type,
+ bool premultiply_alpha,
+ bool flip_y) override;
private:
friend class WebMediaPlayerMSTest;
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698