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/accelerated_widget_mac/ca_renderer_layer_params.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 CARendererLayerParams::CARendererLayerParams( |
| 10 bool is_clipped, |
| 11 const gfx::Rect clip_rect, |
| 12 unsigned sorting_context_id, |
| 13 const gfx::Transform transform, |
| 14 base::ScopedCFTypeRef<IOSurfaceRef> io_surface, |
| 15 base::ScopedCFTypeRef<CVPixelBufferRef> cv_pixel_buffer, |
| 16 const gfx::RectF contents_rect, |
| 17 const gfx::Rect rect, |
| 18 unsigned background_color, |
| 19 unsigned edge_aa_mask, |
| 20 float opacity, |
| 21 unsigned filter) |
| 22 : is_clipped(is_clipped), |
| 23 clip_rect(clip_rect), |
| 24 sorting_context_id(sorting_context_id), |
| 25 transform(transform), |
| 26 io_surface(io_surface), |
| 27 cv_pixel_buffer(cv_pixel_buffer), |
| 28 contents_rect(contents_rect), |
| 29 rect(rect), |
| 30 background_color(background_color), |
| 31 edge_aa_mask(edge_aa_mask), |
| 32 opacity(opacity), |
| 33 filter(filter) {} |
| 34 |
| 35 CARendererLayerParams::CARendererLayerParams( |
| 36 const CARendererLayerParams& other) = default; |
| 37 CARendererLayerParams::~CARendererLayerParams() = default; |
| 38 |
| 39 } // namespace ui |
OLD | NEW |