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

Side by Side Diff: ui/ozone/platform/drm/host/gpu_thread_adapter.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: Rebase after quirks changes 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 2016 The Chromium Authors. All rights reserved. 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 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_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_
7 7
8 #include "base/file_descriptor_posix.h" 8 #include "base/file_descriptor_posix.h"
9 #include "ui/display/types/display_constants.h" 9 #include "ui/display/types/display_constants.h"
10 #include "ui/display/types/gamma_ramp_rgb_entry.h" 10 #include "ui/display/types/gamma_ramp_rgb_entry.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const std::vector<OverlayCheck_Params>& new_params) = 0; 51 const std::vector<OverlayCheck_Params>& new_params) = 0;
52 52
53 // Services needed by DrmDisplayHost 53 // Services needed by DrmDisplayHost
54 virtual bool GpuConfigureNativeDisplay( 54 virtual bool GpuConfigureNativeDisplay(
55 int64_t display_id, 55 int64_t display_id,
56 const ui::DisplayMode_Params& display_mode, 56 const ui::DisplayMode_Params& display_mode,
57 const gfx::Point& point) = 0; 57 const gfx::Point& point) = 0;
58 virtual bool GpuDisableNativeDisplay(int64_t display_id) = 0; 58 virtual bool GpuDisableNativeDisplay(int64_t display_id) = 0;
59 virtual bool GpuGetHDCPState(int64_t display_id) = 0; 59 virtual bool GpuGetHDCPState(int64_t display_id) = 0;
60 virtual bool GpuSetHDCPState(int64_t display_id, ui::HDCPState state) = 0; 60 virtual bool GpuSetHDCPState(int64_t display_id, ui::HDCPState state) = 0;
61 virtual bool GpuSetGammaRamp(int64_t display_id, 61 virtual bool GpuSetColorCorrection(
62 const std::vector<GammaRampRGBEntry>& lut) = 0; 62 int64_t display_id,
63 const std::vector<GammaRampRGBEntry>& degamma_lut,
64 const std::vector<GammaRampRGBEntry>& gamma_lut,
65 const std::vector<float>& correction_matrix) = 0;
63 66
64 // Services needed by DrmWindowHost 67 // Services needed by DrmWindowHost
65 virtual bool GpuDestroyWindow(gfx::AcceleratedWidget widget) = 0; 68 virtual bool GpuDestroyWindow(gfx::AcceleratedWidget widget) = 0;
66 virtual bool GpuCreateWindow(gfx::AcceleratedWidget widget) = 0; 69 virtual bool GpuCreateWindow(gfx::AcceleratedWidget widget) = 0;
67 virtual bool GpuWindowBoundsChanged(gfx::AcceleratedWidget widget, 70 virtual bool GpuWindowBoundsChanged(gfx::AcceleratedWidget widget,
68 const gfx::Rect& bounds) = 0; 71 const gfx::Rect& bounds) = 0;
69 }; 72 };
70 73
71 } // namespace ui 74 } // namespace ui
72 75
73 #endif // UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_ 76 #endif // UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/host/drm_native_display_delegate.cc ('k') | ui/ozone/platform/drm/mus_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698