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

Unified Diff: cc/ipc/quads.mojom

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/quads.mojom
diff --git a/cc/ipc/quads.mojom b/cc/ipc/quads.mojom
index 5de6917e91f3301ea1969b6333b93f391b2d74a1..33100297765b127de6d7652e6ed6a85d1bd3c13b 100644
--- a/cc/ipc/quads.mojom
+++ b/cc/ipc/quads.mojom
@@ -97,6 +97,12 @@ struct YUVVideoQuadState {
uint32 bits_per_channel;
};
+struct YVideoQuadState {
+ uint32 resource_id;
+ gfx.mojom.PointF uv_top_left;
+ gfx.mojom.PointF uv_bottom_right;
+};
+
union DrawQuadState {
DebugBorderQuadState debug_border_quad_state;
RenderPassQuadState render_pass_quad_state;
@@ -106,6 +112,7 @@ union DrawQuadState {
TextureQuadState texture_quad_state;
TileQuadState tile_quad_state;
YUVVideoQuadState yuv_video_quad_state;
+ YVideoQuadState y_video_quad_state;
};
struct DrawQuad {

Powered by Google App Engine
This is Rietveld 408576698