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

Unified Diff: media/renderers/skcanvas_video_renderer.h

Issue 2896553003: Re-enable GPU-GPU copies of video textures to GL_RED (Closed)
Patch Set: rebased and clean up Created 3 years, 5 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
« no previous file with comments | « no previous file | media/renderers/skcanvas_video_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/renderers/skcanvas_video_renderer.h
diff --git a/media/renderers/skcanvas_video_renderer.h b/media/renderers/skcanvas_video_renderer.h
index 14fa8659bc1ceebbc708a63f5f8026856886e5c1..76a2cc1dc4a5c441223b599279401f82faa120e3 100644
--- a/media/renderers/skcanvas_video_renderer.h
+++ b/media/renderers/skcanvas_video_renderer.h
@@ -69,11 +69,6 @@ class MEDIA_EXPORT SkCanvasVideoRenderer {
void* rgb_pixels,
size_t row_bytes);
- enum SingleFrameCopyMode {
- SingleFrameForVideoElementOrCanvas,
- SingleFrameForWebGL
- };
-
// Copy the contents of texture of |video_frame| to texture |texture|.
// |level|, |internal_format|, |type| specify target texture |texture|.
// The format of |video_frame| must be VideoFrame::NATIVE_TEXTURE.
@@ -83,7 +78,6 @@ class MEDIA_EXPORT SkCanvasVideoRenderer {
static void CopyVideoFrameSingleTextureToGLTexture(
gpu::gles2::GLES2Interface* gl,
VideoFrame* video_frame,
- SingleFrameCopyMode copy_mode,
unsigned int target,
unsigned int texture,
unsigned int internal_format,
« no previous file with comments | « no previous file | media/renderers/skcanvas_video_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698