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

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: 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/ipc/quads.mojom
diff --git a/cc/ipc/quads.mojom b/cc/ipc/quads.mojom
index 39c1b282d7c1251e40b5c15a9ad73a614f26bb2f..431a4df65ffa7a85f980ce606c0b2690524df20a 100644
--- a/cc/ipc/quads.mojom
+++ b/cc/ipc/quads.mojom
@@ -95,6 +95,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,
@@ -106,6 +112,7 @@ enum Material {
TEXTURE_CONTENT,
TILED_CONTENT,
YUV_VIDEO_CONTENT,
+ Y_VIDEO_CONTENT,
};
struct DrawQuad {
@@ -144,6 +151,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