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

Unified Diff: components/mus/public/interfaces/quads.mojom

Issue 2027203002: Rename mojo.* ui/gfx/geometry/mojo types to gfx.mojom.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 4 years, 7 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: components/mus/public/interfaces/quads.mojom
diff --git a/components/mus/public/interfaces/quads.mojom b/components/mus/public/interfaces/quads.mojom
index cacbecaf9b5bf5fa58644a771d1c357a7f762da5..3bdb40455e28aca659db72902e03fdda69d96a89 100644
--- a/components/mus/public/interfaces/quads.mojom
+++ b/components/mus/public/interfaces/quads.mojom
@@ -38,8 +38,8 @@ struct RenderPassQuadState {
// If nonzero, resource id of mask to use when drawing this pass.
uint32 mask_resource_id;
- mojo.PointF mask_uv_scale;
- mojo.Size mask_texture_size;
+ gfx.mojom.PointF mask_uv_scale;
+ gfx.mojom.Size mask_texture_size;
// Post-processing filters, applied to the pixels in the render pass' texture.
// TODO(jamesr): Support
@@ -49,7 +49,7 @@ struct RenderPassQuadState {
// the render pass physical pixels. This scale is applied to the filter
// parameters for pixel-moving filters. This scale should include
// content-to-target-space scale, and device pixel ratio.
- mojo.PointF filters_scale;
+ gfx.mojom.PointF filters_scale;
// Post-processing filters, applied to the pixels showing through the
// background of the render pass, from behind it.
@@ -69,8 +69,8 @@ struct SurfaceQuadState {
struct TextureQuadState {
uint32 resource_id;
bool premultiplied_alpha;
- mojo.PointF uv_top_left;
- mojo.PointF uv_bottom_right;
+ gfx.mojom.PointF uv_top_left;
+ gfx.mojom.PointF uv_bottom_right;
Color background_color;
array<float, 4> vertex_opacity;
bool y_flipped;
@@ -79,8 +79,8 @@ struct TextureQuadState {
};
struct TileQuadState {
- mojo.RectF tex_coord_rect;
- mojo.Size texture_size;
+ gfx.mojom.RectF tex_coord_rect;
+ gfx.mojom.Size texture_size;
bool swizzle_contents;
uint32 resource_id;
bool nearest_neighbor;
@@ -95,10 +95,10 @@ enum YUVColorSpace {
};
struct YUVVideoQuadState {
- mojo.RectF ya_tex_coord_rect;
- mojo.RectF uv_tex_coord_rect;
- mojo.Size ya_tex_size;
- mojo.Size uv_tex_size;
+ gfx.mojom.RectF ya_tex_coord_rect;
+ gfx.mojom.RectF uv_tex_coord_rect;
+ gfx.mojom.Size ya_tex_size;
+ gfx.mojom.Size uv_tex_size;
uint32 y_plane_resource_id;
uint32 u_plane_resource_id;
uint32 v_plane_resource_id;
@@ -125,15 +125,15 @@ struct Quad {
// This rect, after applying the quad_transform(), gives the geometry that
// this quad should draw to. This rect lives in content space.
- mojo.Rect rect;
+ gfx.mojom.Rect rect;
// This specifies the region of the quad that is opaque. This rect lives in
// content space.
- mojo.Rect opaque_rect;
+ gfx.mojom.Rect opaque_rect;
// Allows changing the rect that gets drawn to make it smaller. This value
// should be clipped to |rect|. This rect lives in content space.
- mojo.Rect visible_rect;
+ gfx.mojom.Rect visible_rect;
// Allows changing the rect that gets drawn to make it smaller. This value
// should be clipped to |rect|. This rect lives in content space.
@@ -201,14 +201,14 @@ struct SharedQuadState {
gfx.mojom.Transform quad_to_target_transform;
// The size of the quads' originating layer in the space of the quad rects.
- mojo.Size quad_layer_bounds;
+ gfx.mojom.Size quad_layer_bounds;
// The size of the visible area in the quads' originating layer, in the space
// of the quad rects.
- mojo.Rect visible_quad_layer_rect;
+ gfx.mojom.Rect visible_quad_layer_rect;
// This rect lives in the target content space.
- mojo.Rect clip_rect;
+ gfx.mojom.Rect clip_rect;
bool is_clipped;
float opacity;
@@ -218,8 +218,8 @@ struct SharedQuadState {
struct Pass {
cc.mojom.RenderPassId id;
- mojo.Rect output_rect;
- mojo.Rect damage_rect;
+ gfx.mojom.Rect output_rect;
+ gfx.mojom.Rect damage_rect;
gfx.mojom.Transform transform_to_root_target;
bool has_transparent_background;
array<Quad> quads;
« no previous file with comments | « components/mus/public/interfaces/gpu_service.mojom ('k') | components/mus/public/interfaces/window_manager.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698