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

Side by Side Diff: ui/ozone/common/gpu/ozone_gpu_message_params.cc

Issue 1824993004: Separate gfx_ipc into skia-dependent and non-skia-dependent parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits from tsepez@ Created 4 years, 8 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" 5 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
6 6
7 #include "ui/gfx/geometry/rect_conversions.h" 7 #include "ui/gfx/geometry/rect_conversions.h"
8 #include "ui/gfx/ipc/gfx_param_traits.h" 8 #include "ui/gfx/ipc/gfx_param_traits.h"
9 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
9 10
10 namespace ui { 11 namespace ui {
11 12
12 DisplayMode_Params::DisplayMode_Params() { 13 DisplayMode_Params::DisplayMode_Params() {
13 } 14 }
14 15
15 DisplayMode_Params::~DisplayMode_Params() {} 16 DisplayMode_Params::~DisplayMode_Params() {}
16 17
17 DisplaySnapshot_Params::DisplaySnapshot_Params() { 18 DisplaySnapshot_Params::DisplaySnapshot_Params() {
18 } 19 }
(...skipping 20 matching lines...) Expand all
39 int rwidth = param.buffer_size.width(); 40 int rwidth = param.buffer_size.width();
40 int rheight = param.buffer_size.height(); 41 int rheight = param.buffer_size.height();
41 42
42 return std::tie(plane_z_order, format, display_rect, lwidth, lheight, 43 return std::tie(plane_z_order, format, display_rect, lwidth, lheight,
43 transform) < std::tie(param.plane_z_order, param.format, 44 transform) < std::tie(param.plane_z_order, param.format,
44 param.display_rect, rwidth, rheight, 45 param.display_rect, rwidth, rheight,
45 param.transform); 46 param.transform);
46 } 47 }
47 48
48 } // namespace ui 49 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/BUILD.gn ('k') | ui/ozone/common/gpu/ozone_gpu_messages.h » ('j') | ui/ozone/ozone.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698