# Patches from debian upstream
Revert-layer-shell-error-on-0-dimension-without-anchors.patch
seat-Don-t-forget-to-destroy-touch-points-on-touch-up.patch

# Enable linux_dmabuf and wl_drm with pixman renderer so applications can still
# use hardware GPU acceleration when the compositor is using software
# rendering.
pixman_dmabuf_0001-buffer-Implement-data_ptr_access-for-client-buffer.patch
pixman_dmabuf_0002-linux_dmabuf_v1-Implement-data_ptr_access.patch
pixman_dmabuf_0003-render-pixman-Add-DRM-FD-to-pixman-renderer.patch
pixman_dmabuf_0004-Add-CAP_DMABUF-to-pixman-texture-formats.patch
pixman_dmabuf_0005-Revert-render-stop-auto-creating-wl_drm.patch

# Allow direct scanout of SAND planes from HEVC decoder on Pi5
Canonicalise-broadcom-DRMbuf-format-modifiers.patch

# Allow direct scanout of cropped/scaled surfaces
scanout_cropscale_0001-Support-direct-scanout-with-src-crop-and-dst-boxes.patch
scanout_cropscale_0002-scene-Apply-output-offset-for-direct-scanout.patch
scanout_cropscale_0003-scene-Transform-coordinates-for-direct-scanout.patch
Fix-segfault-when-no-output-buffer-set.patch

# Convert SPBs to rects in scene-tree render.  Allows direct scanout of a
# letterboxed/pillarboxed video against a black SPB background.
scene-tree-Optimize-rendering-of-SPBs.patch

# Fix colour-shift when direct-scanout begins/ends
Always-use-BT.601-color-encoding-for-DRM-planes.patch
backend-drm-Only-set-plane-color-encoding-if-availab.patch
backend-libliftoff-Set-plane-encoding-to-BT.601.patch

# Allow use of interlaced modes (so long as there isn't a progressive mode with
# the same resolution)
backend-drm-Allow-interlaced-modes-whose-resolution-.patch

# Allow scanout of 2 things (a primary plus an overlay)
scanout_overlay_0001-backend-drm-Limit-libliftoff-to-1-overlay-plane.patch
scanout_overlay_0002-backend-drm-Set-layer-accepted-for-test-commits.patch
scanout_overlay_0003-scene-Allow-scanout-of-a-single-overlay.patch

# Add ext-image-copy-capture-v1 and ext-image-capture-source-v1 protocols,
# with optimised copying of only ROI region.
copycapture_0001-ext-image-capture-source-v1-add-base-interface.patch
copycapture_0002-ext-image-capture-source-v1-add-source-pointer-curso.patch
copycapture_0003-ext-image-copy-capture-v1-new-protocol-implementatio.patch
copycapture_0004-ext-image-copy-capture-v1-add-wlr_ext_image_copy_cap.patch
copycapture_0005-ext-image-capture-source-v1-add-wlr_ext_image_captur.patch
copycapture_0006-ext-image-capture-source-v1-add-output-source.patch
copycapture_0007-output-require-commit-after-hardware-cursor-update.patch
copycapture_0008-ext-image-capture-source-v1-add-output-cursor-source.patch
copycapture_0009-backend-headless-accept-hardware-cursors.patch
copycapture_0010-ext-image-capture-source-v1-add-start-stop-hooks.patch
copycapture_0011-ext-image-copy-capture-v1-implement-PAINT_CURSORS-fl.patch
copycapture_0012-ext-image-capture-source-Fix-wlr_swapchain_acquire-u.patch
copycapture_0013-ext-image-copy-capture-Don-t-clear-session-damage-on.patch
copycapture_0014-ext-image-capture-source-output-Emit-frame-for-every.patch
copycapture_0015-Fix-build-on-pre-t64-32-bit.patch

# Fix data race in scanout code
scene-fix-incorrect-scanout-src_box.patch

# Fix issues with scanout and multigpu (rp1dsi)
scene-Disable-layers-if-scanout-test-commit-fails.patch
scene-Disable-scanout-on-secondary-GPUs.patch

# Mesa24 EGL scanout workaround
Make-dmabuf-clients-allocate-on-display-dev-not-rend.patch

scene-Remove-layer-correctly-when-overlay-ends.patch
Disable-allocation-deadline-on-libliftoff-0.5.patch
0001-ext-image-capture-source-output-Apply-transform-to-c.patch
