mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-20 06:47:19 -04:00
Merge branch 'color-pipeline' into 'master'
Draft: Apply output color transform in KMS See merge request wlroots/wlroots!5083
This commit is contained in:
commit
bd86719202
12 changed files with 290 additions and 20 deletions
|
|
@ -15,6 +15,8 @@
|
|||
#include "backend/drm/properties.h"
|
||||
#include "backend/drm/renderer.h"
|
||||
|
||||
struct wlr_drm_crtc_color_transform;
|
||||
|
||||
struct wlr_drm_viewport {
|
||||
struct wlr_fbox src_box;
|
||||
struct wlr_box dst_box;
|
||||
|
|
@ -78,6 +80,7 @@ struct wlr_drm_crtc {
|
|||
bool own_mode_id;
|
||||
uint32_t mode_id;
|
||||
uint32_t gamma_lut;
|
||||
uint32_t ctm;
|
||||
|
||||
// Legacy only
|
||||
int legacy_gamma_size;
|
||||
|
|
@ -156,9 +159,12 @@ struct wlr_drm_connector_state {
|
|||
struct wlr_drm_syncobj_timeline *wait_timeline;
|
||||
uint64_t wait_point;
|
||||
|
||||
struct wlr_drm_crtc_color_transform *crtc_color_transform;
|
||||
|
||||
// used by atomic
|
||||
uint32_t mode_id;
|
||||
uint32_t gamma_lut;
|
||||
uint32_t ctm;
|
||||
uint32_t fb_damage_clips;
|
||||
int primary_in_fence_fd;
|
||||
bool vrr_enabled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue