87 Commits
Author SHA1 Message Date
UjinT34andGitHub 9d3bc3b0ce fifo: minor feedback fixes (#14765)
* don't queue unrequested presentation feedbacks

* don't fifo lock unrendered surfaces

* render:not_shown_fifo_lock

* cleaner unneeded feedvacl skip

* keep fifo locks by default

* fix visibility check
2026-07-21 11:55:17 +02:00
a51a369fd3 protocols/cm: implement WP CM v1.3 (#15026)
* wp-cm-v1.3

* bump wayland-protocols requirement

* nix

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2026-07-10 21:11:40 +02:00
9f259d9395 renderer: add tonemap settings (#14903)
* tonemap windowrule

* pass tonemap mode

* new tonemap mode

Co-authored-by: LionHeartP <LionHeartP@proton.me>

* SH_FEAT_ALT_TONEMAP

---------

Co-authored-by: LionHeartP <LionHeartP@proton.me>
2026-06-10 09:51:07 +01:00
UjinT34andGitHub f51c967507 renderer: fix screenshader with fp16 (#14918) 2026-06-01 13:15:22 +01:00
UjinT34andGitHub 2dcb10a4c0 internal: pass lua includes to hyprtester plugin (#14747) 2026-05-24 12:30:15 +01:00
UjinT34andGitHub 040535def0 compositor: fix render unfocused for subsurfaces (#14718) 2026-05-22 19:31:15 +01:00
UjinT34andGitHub ce0ebcc4cd renderer: fix border cm for mirroring (#14574) 2026-05-15 23:35:26 +01:00
UjinT34andGitHub 6df053b70b renderer: fix decoration colors with linear FP16 (#14361) 2026-05-09 13:57:33 +01:00
UjinT34andGitHub 07a086afee renderer: handle HDR -> SDR with cm_auto_hdr (#14102) 2026-05-09 11:41:06 +01:00
39af3901b3 renderer: more FP16 fixes (#14070)
* fix fp16 blur with invalidation

* restore tonemap code

* fix fade outs

* add sdr compat for unaware surfaces

* use a better work space, not linear, only for sdr

* fix hl tf -> wp tf

* cache workbuffer descriptions

* linear not normalised WIP

* clear offload fb

* CM math

* fix includes

* use precalculated cm for shadows

* inner glow cm

* quad cm

* fix unmodified copy

* codegen

* cache color CM

* mark blur dirty when CM/DS changes

* avoid icc workbuffer

* fp16 blur finish hack

* fix output hdr luminances

* use srgb for mirroring/sharing with fp16

* defaults people

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2026-05-07 22:28:34 +01:00
UjinT34andGitHub 202cf48ecf cmakelists: search for any possible lua package name (#14204) 2026-04-29 14:31:48 +01:00
UjinT34andGitHub d50ad2475c renderer: simplify shadows (#14047) 2026-04-18 11:35:16 +01:00
UjinT34andGitHub 66ea2e2c9e renderer: Various CM fixes, part 8 of refactors (#13860)
Part 8 of Ujin's refactors.
2026-04-16 19:19:25 +01:00
38a7f03cf0 renderer: refactor part 7: api fixes (#13631)
Part 7 of ujin's refactors

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2026-03-28 21:41:45 +00:00
UjinT34andGitHub 47e2d599e6 renderer/groupbar: fix gradients rendering (#13875) 2026-03-28 15:21:29 +00:00
UjinT34andGitHub 2e5e800e4b renderer/cm: Support wp-cm-v1 version 2 (#12817) 2026-03-25 23:48:06 +00:00
UjinT34andGitHub 8196711aaa screencopy: check share session state (#13839) 2026-03-25 13:37:53 +00:00
UjinT34andGitHub aef76309d8 layershell: fix popup crash with nullptr mon (#13763) 2026-03-17 14:59:44 -04:00
UjinT34andGitHub 8662ecba03 renderer: fix share window projection (#13695) 2026-03-11 20:48:48 +00:00
UjinT34andGitHub 03f444e0ab renderer: fix crash with nullptr FBs (#13641) 2026-03-09 11:10:08 +00:00
UjinT34andGitHub 4aee773d9b renderer: fix sdr mod (#13630) 2026-03-07 18:56:55 +00:00
UjinT34andGitHub 02f30ea15b renderer: refactor gl renderer (#13488) 2026-03-07 18:21:23 +00:00
UjinT34andGitHub b227efc849 renderer: refactor projection setting (#13485) 2026-03-07 15:23:54 +00:00
UjinT34andGitHub 73fca55e7c renderer: move m_renderData to renderer (#13474) 2026-03-07 13:47:13 +00:00
UjinT34andGitHub 966f20d305 renderer: refactor resources and flags (#13471) 2026-03-07 13:13:34 +00:00
UjinT34andGitHub 32e75e3e32 renderer: refactor render elements (#13438)
Part 2 of renderer refactors
2026-03-07 10:27:47 +00:00
UjinT34andGitHub 4152ac76d0 renderer: refactor Texture, Framebuffer and Renderbuffer (#13437)
Part 1 of the renderer refactors
2026-03-06 21:44:10 +00:00
UjinT34andGitHub a5858018d8 renderer: shader variants refactor (#13434)
Part 0 of renderer reworks.
2026-03-06 21:05:10 +00:00
UjinT34andGitHub 4f44df7b17 algo/master: fix crash after dpms (#13522) 2026-03-03 11:06:32 +00:00
UjinT34andGitHub c71fbd854d renderer: better sdr eotf settings (#12812) 2026-02-26 12:01:59 +00:00
UjinT34andGitHub ff061d177e protocols: commit and presentation timing fixes (#13174)
* move commit timing fields to surface state

* fix toTimespec init

* update sendQueued api

* update onPresented api

* set zero copy flag

* send clock id

* move presented calcs inside condition

* use only CLOCK_MONOTONIC for commit/presentation timings

* fix setSetTimestamp

* do not wait for commit timing while tearing

* proto config

* fix config defaults
2026-02-10 14:55:21 +00:00
UjinT34andGitHub 60f1c61323 protocols/dmabuf: fix DMA-BUF checks and events (#12965) 2026-02-07 12:40:08 +00:00
UjinT34andGitHub 9f9dbb0dc5 renderer: allow tearing with DS with invisible cursors (#13155) 2026-02-07 12:38:01 +00:00
UjinT34andGitHub 02ff413002 monitor: fix DS deactivation (#13188) 2026-02-04 12:42:43 +00:00
UjinT34andGitHub 1bc857b12c fifo: miscellaneous fifo fixes (#13136)
* LOGM: clang-tidy fix

* fix fifo state and scheduling

* disable fifo_pending_workaround by default

* fix tearing

* fix "empty" commit skipping
2026-02-04 00:27:48 +00:00
UjinT34andGitHub 9433060760 renderer: fix screen export back to srgb (#13148) 2026-02-02 20:33:03 +00:00
UjinT34andGitHub 82de66a030 renderer: fix frame sync (#13061)
* fix commit timing timer

* fix surface state lock/unlock

* debug state sync todos

* debug solitary vrr
2026-01-22 15:16:52 +00:00
UjinT34andGitHub 6c3ebed76e renderer: add surface shader variants with less branching and uniforms (#13030)
* shader variant features

* getSurfaceShader variant with feats

* split surface shaders by features

* cleanup old shaders
2026-01-21 15:54:14 +00:00
UjinT34andGitHub 55f40ecc95 renderer: fix non shader cm reset (#13027) 2026-01-21 14:03:37 +00:00
UjinT34andGitHub e0cf88809d protocols/cm: Fix image description info events (#12781)
* fix image description info events

* always send some target primaries

* set edid values as target primaries and luminances

* init monitor image description

* set default luminances for tf

* fix BT1886 luminances

* fix mastering values and overrides

* set maxCLL & maxFALL

* typo

* add FALL & CLL to preferred HDR image description

* fix ref luminances
2026-01-13 16:44:36 +01:00
UjinT34andGitHub 6a055fc747 cm: allow force disabling WCG and HDR per monitor (#12733) 2025-12-28 14:44:04 +01:00
UjinT34andGitHub 5faa66d297 protocols/cm: fix CColorManagementSurface m_imageDescription init (#12734) 2025-12-27 20:25:57 +01:00
UjinT34andGitHub e5f22c06b4 master: fix placement with center_ignores_reserved (#12695) 2025-12-27 19:17:51 +01:00
UjinT34andGitHub 6d3b17ee83 render/cm: various updates, remove old protocols (#12693)
* fix named primaries

* default to gamma22

* mark mastering primaries as supported

* remove xx-cm and frog support

* immutable primaries and image descriptions

* clang-format
2025-12-27 18:01:46 +01:00
UjinT34andGitHub 712bcfbce5 protocols/xdg-shell: fix crash on null parent in pin (#12694) 2025-12-21 14:21:51 +01:00
UjinT34andGitHub 3cf0280b11 renderer: add quirks:prefer_hdr to fix HDR activation for some clients (#12436) 2025-12-03 01:30:43 +00:00
UjinT34andGitHub fd50e78bc9 render/cm: change non_shader_cm ignore behavior and set default to it (#12210) 2025-11-07 15:58:25 +00:00
UjinT34andGitHub 76d998743a cm: handle inert cm outputs (#11916) 2025-10-04 00:35:22 +02:00
UjinT34andGitHub f0b4164e2e cm: fix primaries to proto scale (#11914) 2025-10-03 21:50:57 +02:00
UjinT34andGitHub 3bcfa94ee4 renderer: add render:non_shader_cm and fixes (#11900) 2025-10-02 12:05:54 +02:00
UjinT34andGitHub 8c54c9b412 protocols/cm: remove unneeded preferred ref (#11877) 2025-10-01 11:04:49 +01:00
UjinT34andGitHub 0959672591 renderer/cm: add more monitor cm options (#11861)
Adds more cm options for monitors: DCIP3, Apple P3, Adobe
2025-09-29 13:22:42 +01:00
UjinT34andGitHub 4d82cc5957 internal: fix clang-tidy "errors" (#11862) 2025-09-29 13:10:15 +01:00
UjinT34andGitHub 05a1c0aa73 renderer: Fix CM for DS and SDR passthrough (#11503) 2025-08-29 13:31:07 +02:00
UjinT34andGitHub 0d45b277d6 internal: Solitary clients with single subsurface & verbose solitary/tearing/DS checks (#11228)
Adds more verbose checks for various conditional rendering mechanisms
2025-08-22 18:24:25 +01:00
UjinT34andGitHub 4e8875b5e9 hdr: scRGB, HLG and SDR -> HDR fixes (#11499) 2025-08-22 11:13:55 +01:00
UjinT34andGitHub 1d67987459 hdr: fix overrides and missing edid hdr metadata (#11476) 2025-08-19 19:28:52 +01:00
UjinT34andGitHub 310fc629b0 protocols: fix presentation time proto version (#11306) 2025-08-02 13:40:28 +02:00
UjinT34andGitHub e15014e031 protocols/cm: Fix preferred image description (#11026) 2025-07-15 19:33:14 +02:00
UjinT34andGitHub bc764f7065 protocols: Remove incorrect CM proto debug check and fix preferred image description (#11023) 2025-07-14 22:54:43 +02:00
UjinT34andGitHub 452a158107 config: use parseScale for monitorv2 (#10852) 2025-06-26 12:28:21 +02:00
UjinT34andGitHub cf7e3aa448 renderer/cm: Add automatic hdr (#9785) 2025-06-23 14:33:09 +02:00
UjinT34andGitHub bd5703d5c6 protocols/cm: fix wp invalid luminance check (#10752) 2025-06-15 23:13:57 +02:00
UjinT34andGitHub c3894d9288 config/monitor: Add monitor v2 HDR rules (#10623) 2025-06-15 12:15:18 +02:00
UjinT34andGitHub c35c2fea40 config: Restore auto-center-* for monitors (#10660) 2025-06-06 08:01:19 +01:00
UjinT34andGitHub abdfc5ea40 config: add a new monitor v2 config syntax (#9761) 2025-06-05 15:56:46 +01:00
UjinT34andGitHub ae1fe860ff renderer: add render:send_content_type setting (#9851) 2025-04-29 22:09:14 +02:00
UjinT34andGitHub 49974d5e34 cm: Use precomputed primaries conversion (#9814) 2025-04-29 21:29:40 +02:00
7374a023ef renderer/opengl: Extract shaders from source (#9600)
---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-03-29 01:19:35 +01:00
UjinT34andGitHub a852461c7d renderer: Simplify and fix hdr metadata setting (#9706)
* simplify and fix hdr metadata setting

* keep incorrect(?) cm skip till #9600
2025-03-24 13:56:07 +01:00
UjinT34andGitHub 6ab5a0befb renderer: fix cm_fs_passthrough (#9698) 2025-03-22 18:34:01 +01:00
UjinT34andGitHub c7f0519faf core: fix DS and VRR automation (#9334) 2025-03-21 14:33:07 +01:00
UjinT34andGitHub 8c97cb7858 renderer: add simple color management (#9506)
Adds proper color management and transformations for CM surfaces.
2025-03-14 00:15:18 +01:00
UjinT34andGitHub 6787fe8933 protocols: Support wp color management proto (#9444)
Adds support for the recently merged w-p CM protocol alongside the (now deprecated) old CM WIP protocols
2025-02-26 15:56:37 +01:00
UjinT34andGitHub 31431a9271 protocols: Support content-type-v1 proto (#9226) 2025-02-02 20:25:29 +01:00
UjinT34andGitHub 078e13f463 renderer: Auto enable wide color gamut in HDR mode (#9090) 2025-01-17 20:23:57 +00:00
UjinT34andGitHub 52b9ae592b renderer: fix fullscreen hdr check (#9076) 2025-01-16 13:13:47 +01:00
UjinT34andGitHub a3a7499317 renderer: Do not set hdr metadata unless needed (#9014) 2025-01-12 17:02:41 +00:00
UjinT34andGitHub a8b568c6c4 core: Add render:allow_early_buffer_release to make buffer release configurable (#9019) 2025-01-10 18:42:26 +00:00
UjinT34andGitHub 830350a1f7 core: Add support for HDR and color management protocols (#8715) 2025-01-07 18:32:50 +00:00
UjinT34andGitHub 6a90b50545 core/compositor: fix too early buffer release (#8966) 2025-01-06 16:52:35 +00:00
UjinT34andGitHub 10a9fec7fc master: make center ignore reserved areas (#8625) 2024-12-02 15:32:32 +00:00
UjinT34andGitHub 967fe76a60 drm: enable explit out fence in AQ (#8431) 2024-11-15 00:45:13 +00:00
UjinT34andGitHub ee8116ac5d input: Fix VRR for constrained cursors (#6877) 2024-10-12 01:29:51 +01:00
UjinT34andGitHub 511e9ccdd1 xwm: Fix xwayland black window bug after losing focus (#6966)
* fix xwayland black window bug

* resend normal state
2024-07-22 13:15:40 +02:00
UjinT34andGitHub 4d6f96f74f debug: add Nvidia driver info (#6715)
* add nvidia driver info to systeminfo

* check file exists
2024-06-30 13:16:41 +02:00
a9d53a2252 vrr: add option to fix mouse breaking vrr (#6483)
* option to fix mouse breaking vrr

* skip damage on mouse move

* remove this-> & cleanup

* add cursor:min_refresh_rate to avoid cursor freezing

* run clang-format

---------

Co-authored-by: UjinT34 <ujin@uvpn.ru>
2024-06-14 13:45:32 +02:00