OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "ui/gl/ca_renderer_layer_params.h" | |
6 | |
7 namespace ui { | |
8 | |
9 CARendererLayerParams::CARendererLayerParams(bool is_clipped, | |
10 const gfx::Rect clip_rect, | |
11 unsigned sorting_context_id, | |
12 const gfx::Transform transform, | |
13 gl::GLImage* image, | |
14 const gfx::RectF contents_rect, | |
15 const gfx::Rect rect, | |
16 unsigned background_color, | |
17 unsigned edge_aa_mask, | |
18 float opacity, | |
19 unsigned filter) | |
20 : is_clipped(is_clipped), | |
21 clip_rect(clip_rect), | |
22 sorting_context_id(sorting_context_id), | |
23 transform(transform), | |
24 image(image), | |
25 contents_rect(contents_rect), | |
26 rect(rect), | |
27 background_color(background_color), | |
28 edge_aa_mask(edge_aa_mask), | |
29 opacity(opacity), | |
30 filter(filter) {} | |
31 | |
32 CARendererLayerParams::CARendererLayerParams( | |
33 const CARendererLayerParams& other) = default; | |
34 CARendererLayerParams::~CARendererLayerParams() = default; | |
35 | |
36 } // namespace ui | |
OLD | NEW |