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

Unified Diff: cc/ipc/cc_param_traits_unittest.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: Tests: cc, skcanvas_video_renderer, wrtcrecorder... Fake capture supports Y16. Created 4 years, 3 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: cc/ipc/cc_param_traits_unittest.cc
diff --git a/cc/ipc/cc_param_traits_unittest.cc b/cc/ipc/cc_param_traits_unittest.cc
index 00a7fee41d87637f1e525870c5efa42638197e1f..79499c3b04a4baa96f7fc4ecbd23c433a037bbdc 100644
--- a/cc/ipc/cc_param_traits_unittest.cc
+++ b/cc/ipc/cc_param_traits_unittest.cc
@@ -40,6 +40,7 @@ using cc::TileDrawQuad;
using cc::TransferableResource;
using cc::StreamVideoDrawQuad;
using cc::YUVVideoDrawQuad;
+using cc::YVideoDrawQuad;
using gfx::Transform;
namespace content {
@@ -112,6 +113,10 @@ class CCParamTraitsTest : public testing::Test {
Compare(YUVVideoDrawQuad::MaterialCast(a),
YUVVideoDrawQuad::MaterialCast(b));
break;
+ case DrawQuad::Y_VIDEO_CONTENT:
+ Compare(YVideoDrawQuad::MaterialCast(a),
+ YVideoDrawQuad::MaterialCast(b));
+ break;
case DrawQuad::INVALID:
break;
}

Powered by Google App Engine
This is Rietveld 408576698