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

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: Created 4 years, 5 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 21cc0da94f70cf5320d7306d0448d96e3c06736b..902ad21d23838cf2356bdc2417ca9ac8b4734730 100644
--- a/cc/ipc/quads.mojom
+++ b/cc/ipc/quads.mojom
@@ -92,6 +92,12 @@ struct YUVVideoQuadState {
float resource_multiplier;
};
+struct YVideoQuadState {
+ uint32 resource_id;
+ gfx.mojom.PointF uv_top_left;
+ gfx.mojom.PointF uv_bottom_right;
+};
+
enum Material {
INVALID,
DEBUG_BORDER,
@@ -103,6 +109,7 @@ enum Material {
TEXTURE_CONTENT,
TILED_CONTENT,
YUV_VIDEO_CONTENT,
+ Y_VIDEO_CONTENT,
};
struct DrawQuad {
@@ -137,6 +144,7 @@ struct DrawQuad {
TileQuadState? tile_quad_state;
StreamVideoQuadState? stream_video_quad_state;
YUVVideoQuadState? yuv_video_quad_state;
+ YVideoQuadState? y_video_quad_state;
};
struct QuadList {

Powered by Google App Engine
This is Rietveld 408576698