aboutsummaryrefslogtreecommitdiff
path: root/util/shm.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-08 15:56:01 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-09 15:31:19 -0400
commit017555651b01a2e4fbdda9d59b29c847094d57b7 (patch)
treebf823ca3013b373ad87f7f41608a474ada174e2e /util/shm.c
parenta362d21d6b2191ce0101657629ae01841189cae5 (diff)
backend/drm: add test_only arg to wlr_drm_interface.crtc_commit
Right now callers of drm_crtc_commit need to check whether the interface is legacy or atomic before passing the TEST_ONLY flag. Additionally, the fallbacks for legacy are in-place in the common code. Add a test_only arg to the crtc_commit hook. This way, there's no risk to pass atomic-only flags to the legacy function (add an assert to ensure this) and all of the legacy-specific logic can be put back into legacy.c (done in next commit).
Diffstat (limited to 'util/shm.c')
0 files changed, 0 insertions, 0 deletions