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

Side by Side Diff: ui/gl/dc_renderer_layer_params.cc

Issue 2736643004: Add DCLayerOverlayProcessor and supporting DCLayer structures. (Closed)
Patch Set: split CALayerOverlay into DCLayerOverlay Created 3 years, 9 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
« no previous file with comments | « ui/gl/dc_renderer_layer_params.h ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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/dc_renderer_layer_params.h"
6
7 namespace ui {
8
9 DCRendererLayerParams::DCRendererLayerParams(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 DCRendererLayerParams::DCRendererLayerParams(
33 const DCRendererLayerParams& other) = default;
34 DCRendererLayerParams::~DCRendererLayerParams() = default;
35
36 } // namespace ui
OLDNEW
« no previous file with comments | « ui/gl/dc_renderer_layer_params.h ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698