mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
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/copy_output_request.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;
|
||
|
// |copy_requests| are only allowed by privileged clients.
|
||
|
array<CopyOutputRequest> copy_requests;
|
||
|
array<DrawQuad> quad_list;
|
||
|
};
|