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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 864513004: gpu: introduce glCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove level altogether Created 5 years, 10 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/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index 314d7ee56bee498e3910f9629aae4b57542d205d..82ac5d4dae594e6eabb74326e44e35cf4c1b3872 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -130,6 +130,7 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
unsigned char alpha,
SkXfermode::Mode mode);
+ // TODO(dshwang): remove |level|. crbug.com/443151
virtual bool copyVideoTextureToPlatformTexture(
blink::WebGraphicsContext3D* web_graphics_context,
unsigned int texture,
@@ -138,6 +139,13 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
unsigned int type,
bool premultiply_alpha,
bool flip_y);
+ virtual bool copyVideoTextureToPlatformTexture(
+ blink::WebGraphicsContext3D* web_graphics_context,
+ unsigned int texture,
+ unsigned int internal_format,
+ unsigned int type,
+ bool premultiply_alpha,
+ bool flip_y);
// True if the loaded media has a playable video/audio track.
virtual bool hasVideo() const;

Powered by Google App Engine
This is Rietveld 408576698