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

Side by Side Diff: cc/ipc/quads.mojom

Issue 2173563002: Improve GL shader YUV adjustment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use enum hack 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/filter_operations.mojom"; 7 import "cc/ipc/filter_operations.mojom";
8 import "cc/ipc/render_pass_id.mojom"; 8 import "cc/ipc/render_pass_id.mojom";
9 import "cc/ipc/shared_quad_state.mojom"; 9 import "cc/ipc/shared_quad_state.mojom";
10 import "cc/ipc/surface_id.mojom"; 10 import "cc/ipc/surface_id.mojom";
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 gfx.mojom.RectF uv_tex_coord_rect; 87 gfx.mojom.RectF uv_tex_coord_rect;
88 gfx.mojom.Size ya_tex_size; 88 gfx.mojom.Size ya_tex_size;
89 gfx.mojom.Size uv_tex_size; 89 gfx.mojom.Size uv_tex_size;
90 uint32 y_plane_resource_id; 90 uint32 y_plane_resource_id;
91 uint32 u_plane_resource_id; 91 uint32 u_plane_resource_id;
92 uint32 v_plane_resource_id; 92 uint32 v_plane_resource_id;
93 uint32 a_plane_resource_id; 93 uint32 a_plane_resource_id;
94 YUVColorSpace color_space; 94 YUVColorSpace color_space;
95 float resource_offset; 95 float resource_offset;
96 float resource_multiplier; 96 float resource_multiplier;
97 uint32 bits_per_channel;
97 }; 98 };
98 99
99 enum Material { 100 enum Material {
100 INVALID, 101 INVALID,
101 DEBUG_BORDER, 102 DEBUG_BORDER,
102 PICTURE_CONTENT, 103 PICTURE_CONTENT,
103 RENDER_PASS, 104 RENDER_PASS,
104 SOLID_COLOR, 105 SOLID_COLOR,
105 STREAM_VIDEO_CONTENT, 106 STREAM_VIDEO_CONTENT,
106 SURFACE_CONTENT, 107 SURFACE_CONTENT,
(...skipping 28 matching lines...) Expand all
135 // Only one of the following will be set, depending on the material. 136 // Only one of the following will be set, depending on the material.
136 DebugBorderQuadState? debug_border_quad_state; 137 DebugBorderQuadState? debug_border_quad_state;
137 RenderPassQuadState? render_pass_quad_state; 138 RenderPassQuadState? render_pass_quad_state;
138 SolidColorQuadState? solid_color_quad_state; 139 SolidColorQuadState? solid_color_quad_state;
139 SurfaceQuadState? surface_quad_state; 140 SurfaceQuadState? surface_quad_state;
140 TextureQuadState? texture_quad_state; 141 TextureQuadState? texture_quad_state;
141 TileQuadState? tile_quad_state; 142 TileQuadState? tile_quad_state;
142 StreamVideoQuadState? stream_video_quad_state; 143 StreamVideoQuadState? stream_video_quad_state;
143 YUVVideoQuadState? yuv_video_quad_state; 144 YUVVideoQuadState? yuv_video_quad_state;
144 }; 145 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698