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

Side by Side Diff: ui/accelerated_widget_mac/ca_renderer_layer_params.cc

Issue 2006923006: Move all CARendererLayerTree parameters to separate struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698