mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-26 13:58:46 +03:00
28 lines
932 B
Plaintext
28 lines
932 B
Plaintext
|
// Copyright 2016 The Chromium Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
module viz.mojom;
|
||
|
|
||
|
import "services/viz/public/interfaces/compositing/filter_operations.mojom";
|
||
|
import "services/viz/public/interfaces/compositing/quads.mojom";
|
||
|
import "ui/gfx/geometry/mojo/geometry.mojom";
|
||
|
import "ui/gfx/mojo/color_space.mojom";
|
||
|
import "ui/gfx/mojo/transform.mojom";
|
||
|
|
||
|
// See components/viz/common/quads/render_pass.h.
|
||
|
struct RenderPass {
|
||
|
uint64 id;
|
||
|
gfx.mojom.Rect output_rect;
|
||
|
gfx.mojom.Rect damage_rect;
|
||
|
gfx.mojom.Transform transform_to_root_target;
|
||
|
FilterOperations filters;
|
||
|
FilterOperations background_filters;
|
||
|
gfx.mojom.ColorSpace color_space;
|
||
|
bool has_transparent_background;
|
||
|
bool cache_render_pass = false;
|
||
|
bool has_damage_from_contributing_content = false;
|
||
|
bool generate_mipmap = false;
|
||
|
array<DrawQuad> quad_list;
|
||
|
};
|