bea4d1064c
This redefines the transfer functions to have a custom luminance at encoded value zero, and a custom luminance at encoded value 1, neither of which are tied to the reference luminance, even for relative transfer functions. The goal of that is that we can use a gamma 2.2 transfer function for the shadow buffer, with the reference luminance being much lower than the maximum luminance. For example, on an HDR screen you might have the reference luminance of 600 nits, while the maximum luminance is 1000 nits. By representing this in gamma 2.2, we can use a much smaller amount of bits per color to store the values than if we used a linear transfer function. An additional benefit is that this way the values in the buffer can be scaled by arbitrary amounts, for example to limit the range of values to [0, 1], which can be represented in a normalized buffer |
||
---|---|---|
.. | ||
drm | ||
effect | ||
integration | ||
libinput | ||
wayland | ||
CMakeLists.txt | ||
onscreennotificationtest.cpp | ||
onscreennotificationtest.h | ||
opengl_context_attribute_builder_test.cpp | ||
output_transform_test.cpp | ||
test_client_machine.cpp | ||
test_colorspaces.cpp | ||
test_ftrace.cpp | ||
test_gestures.cpp | ||
test_utils.cpp | ||
test_virtual_desktops.cpp | ||
test_window_paint_data.cpp | ||
test_x11_timestamp_update.cpp | ||
test_xcb_size_hints.cpp | ||
test_xcb_window.cpp | ||
test_xcb_wrapper.cpp | ||
test_xkb.cpp | ||
testutils.h | ||
xcb_scaling_mock.cpp |