• Shashank Sharma's avatar
    compositor-drm: Prepare connector's color state · 9e9214b8
    Shashank Sharma authored
    This patch adds initial code to handle a HDR view in DRM backend,
    while plane assignment. In order to handle HDR playback, the first
    step is to identify a HDR view, by identifying a HDR surface. ie,
    if any of the surface comes with HDR metadata, its a HDR surface,
    which makes this view a HDR view.
    
    Now, once we identify an HDR view, we have to set output colorspace
    If output is HDR -> set output colorspace as REC2020/DCIP3
    If output is SDR -> set output colorspace as REC709/default
    
    This patch prepares the required calculations, and prepares the
    connector's color state to be commited, and reflect these changes
    in current atomic commit.
    
    V2: Addressed Pekka's review comments
    Signed-off-by: Shashank Sharma's avatarShashank Sharma <shashank.sharma@intel.com>
    9e9214b8
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clients Loading commit data...
compositor Loading commit data...
data Loading commit data...
desktop-shell Loading commit data...
doc Loading commit data...
fullscreen-shell Loading commit data...
include Loading commit data...
ivi-shell Loading commit data...
libweston Loading commit data...
libweston-desktop Loading commit data...
man Loading commit data...
protocol Loading commit data...
remoting Loading commit data...
shared Loading commit data...
tests Loading commit data...
tools/zunitc Loading commit data...
wcap Loading commit data...
xwayland Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
notes.txt Loading commit data...
releasing.txt Loading commit data...
weston.ini.in Loading commit data...