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

Unified Diff: cc/resources/video_resource_updater.cc

Issue 1993463002: Fix overlay computation in GpuMemoryBufferVideoFramePool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove comment Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/video_resource_updater.h ('k') | media/video/gpu_memory_buffer_video_frame_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/video_resource_updater.cc
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
index d2fb73139da42854f4441cf36adcb738b28468b2..f0fe524df2bb2f8a3a2b73c3e040fbdba42dd96b 100644
--- a/cc/resources/video_resource_updater.cc
+++ b/cc/resources/video_resource_updater.cc
@@ -52,7 +52,7 @@ VideoFrameExternalResources::ResourceType ResourceTypeForVideoFrame(
? VideoFrameExternalResources::RGBA_RESOURCE
: VideoFrameExternalResources::STREAM_TEXTURE_RESOURCE;
case GL_TEXTURE_RECTANGLE_ARB:
- return VideoFrameExternalResources::IO_SURFACE;
+ return VideoFrameExternalResources::RGB_RESOURCE;
default:
NOTREACHED();
break;
@@ -66,7 +66,7 @@ VideoFrameExternalResources::ResourceType ResourceTypeForVideoFrame(
case GL_TEXTURE_EXTERNAL_OES:
return VideoFrameExternalResources::YUV_RESOURCE;
case GL_TEXTURE_RECTANGLE_ARB:
- return VideoFrameExternalResources::IO_SURFACE;
+ return VideoFrameExternalResources::RGB_RESOURCE;
default:
NOTREACHED();
break;
« no previous file with comments | « cc/resources/video_resource_updater.h ('k') | media/video/gpu_memory_buffer_video_frame_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698