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

Unified Diff: cc/raster/raster_buffer_provider.cc

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 2 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/quads/y_video_draw_quad.cc ('k') | cc/resources/platform_color.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/raster_buffer_provider.cc
diff --git a/cc/raster/raster_buffer_provider.cc b/cc/raster/raster_buffer_provider.cc
index 20264a7211336edb062c388fad2b9d430a42a6f4..9bd682a24c2a28eaef761a85badcdfa8e7ef694e 100644
--- a/cc/raster/raster_buffer_provider.cc
+++ b/cc/raster/raster_buffer_provider.cc
@@ -34,6 +34,7 @@ bool IsSupportedPlaybackToMemoryFormat(ResourceFormat format) {
case RGB_565:
case RED_8:
case LUMINANCE_F16:
+ case RG_88:
return false;
}
NOTREACHED();
@@ -121,6 +122,7 @@ void RasterBufferProvider::PlaybackToMemory(
case RGB_565:
case RED_8:
case LUMINANCE_F16:
+ case RG_88:
NOTREACHED();
return;
}
@@ -143,6 +145,7 @@ bool RasterBufferProvider::ResourceFormatRequiresSwizzle(
case RGB_565:
case RED_8:
case LUMINANCE_F16:
+ case RG_88:
return false;
}
NOTREACHED();
« no previous file with comments | « cc/quads/y_video_draw_quad.cc ('k') | cc/resources/platform_color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698