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

Unified Diff: cc/quads/render_pass.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: WebGL video to texture support and readPixels from R16UI for CPU access Created 4 years, 4 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/quads/render_pass.cc
diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc
index 34f24e31d5f62efd0cfa37d7281f30a0be00e0fb..0c21150f6a9f593f529ddd7bf85ffb2045ade310 100644
--- a/cc/quads/render_pass.cc
+++ b/cc/quads/render_pass.cc
@@ -26,6 +26,7 @@
#include "cc/quads/surface_draw_quad.h"
#include "cc/quads/texture_draw_quad.h"
#include "cc/quads/tile_draw_quad.h"
+#include "cc/quads/y_video_draw_quad.h"
#include "cc/quads/yuv_video_draw_quad.h"
namespace {
@@ -254,6 +255,9 @@ DrawQuad* RenderPass::CopyFromAndAppendDrawQuad(
case DrawQuad::YUV_VIDEO_CONTENT:
CopyFromAndAppendTypedDrawQuad<YUVVideoDrawQuad>(quad);
break;
+ case DrawQuad::Y_VIDEO_CONTENT:
+ CopyFromAndAppendTypedDrawQuad<YVideoDrawQuad>(quad);
+ break;
// RenderPass quads need to use specific CopyFrom function.
case DrawQuad::RENDER_PASS:
case DrawQuad::INVALID:

Powered by Google App Engine
This is Rietveld 408576698