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

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: 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/draw_quad_unittest.cc ('k') | cc/quads/y_video_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/render_pass.cc
diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc
index 6ce19bf14164788365330dbadf1882c74073e17b..e613544db44fec86e846f52ff9f4eba1410e5570 100644
--- a/cc/quads/render_pass.cc
+++ b/cc/quads/render_pass.cc
@@ -27,6 +27,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:
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/y_video_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698