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

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

Issue 1182063002: Add support for more advanced color correction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qcms-fixed-point-gamma
Patch Set: Integrate dnicoara@ feedback Created 4 years, 10 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 #ifndef UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ 5 #ifndef UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
6 #define UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ 6 #define UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 22 matching lines...) Expand all
33 struct OZONE_BASE_EXPORT DisplaySnapshot_Params { 33 struct OZONE_BASE_EXPORT DisplaySnapshot_Params {
34 DisplaySnapshot_Params(); 34 DisplaySnapshot_Params();
35 ~DisplaySnapshot_Params(); 35 ~DisplaySnapshot_Params();
36 36
37 int64_t display_id = 0; 37 int64_t display_id = 0;
38 gfx::Point origin; 38 gfx::Point origin;
39 gfx::Size physical_size; 39 gfx::Size physical_size;
40 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE; 40 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE;
41 bool is_aspect_preserving_scaling = false; 41 bool is_aspect_preserving_scaling = false;
42 bool has_overscan = false; 42 bool has_overscan = false;
43 bool has_color_correction_matrix = false;
43 std::string display_name; 44 std::string display_name;
44 base::FilePath sys_path; 45 base::FilePath sys_path;
45 std::vector<DisplayMode_Params> modes; 46 std::vector<DisplayMode_Params> modes;
46 bool has_current_mode = false; 47 bool has_current_mode = false;
47 DisplayMode_Params current_mode; 48 DisplayMode_Params current_mode;
48 bool has_native_mode = false; 49 bool has_native_mode = false;
49 DisplayMode_Params native_mode; 50 DisplayMode_Params native_mode;
50 int64_t product_id = 0; 51 int64_t product_id = 0;
51 std::string string_representation; 52 std::string string_representation;
52 }; 53 };
(...skipping 13 matching lines...) Expand all
66 gfx::RectF crop_rect; 67 gfx::RectF crop_rect;
67 int plane_z_order = 0; 68 int plane_z_order = 0;
68 // By default we mark this configuration valid for promoting it to an overlay. 69 // By default we mark this configuration valid for promoting it to an overlay.
69 bool is_overlay_candidate = true; 70 bool is_overlay_candidate = true;
70 }; 71 };
71 72
72 } // namespace ui 73 } // namespace ui
73 74
74 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ 75 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
75 76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698