Cameron Gutman
ad0afb5fc9
Prefer direct rendering when using HDR
2022-01-27 22:36:49 -06:00
Cameron Gutman
a0709bec51
Improve debugging and add missing break
2022-01-23 21:12:32 -06:00
Cameron Gutman
f5bc4e7a24
Add color properties to DRM renderer
2022-01-23 21:03:56 -06:00
Cameron Gutman
b4665b6e5a
Pick a 10-bit DRM overlay for Main10 streaming
2022-01-23 19:19:16 -06:00
Cameron Gutman
384dd2adab
Prefer a render node in indirect rendering mode
2022-01-08 18:39:12 -06:00
Cameron Gutman
8f63d59b81
Correct comment to avoid confusion
2022-01-04 22:00:46 -06:00
Cameron Gutman
0395c0cc95
Revert "Revert "Don't attempt to use direct rendering without DRM master""
...
The correct fix was 154b5b6ded
.
This reverts commit 8219dbef6f
.
2022-01-04 21:59:02 -06:00
Cameron Gutman
154b5b6ded
Fix fallback to SDL read-back for DRM contexts when !HAVE_EGL
2022-01-01 20:44:29 -06:00
Cameron Gutman
8219dbef6f
Revert "Don't attempt to use direct rendering without DRM master"
...
We support indirect rendering via SDL, even if EGL is unavailable.
This reverts commit 6145913068
.
2022-01-01 20:37:04 -06:00
Cameron Gutman
6145913068
Don't attempt to use direct rendering without DRM master
2021-12-19 20:32:15 -06:00
Cameron Gutman
4de3aa96b6
Add YUV colorspace and color range attributes to EGLImage
2021-11-19 01:15:33 -06:00
Cameron Gutman
32f0678692
Only pass modifiers array if DRM_MODE_FB_MODIFIERS is set
2021-03-22 22:52:06 -05:00
Cameron Gutman
4a8c9ad17f
Add support for 4-plane frames
2021-03-22 00:46:04 -05:00
Cameron Gutman
0c6c882f50
Fix attribute buffer overflow for fully planar YUV formats
2021-03-22 00:14:06 -05:00
Cameron Gutman
d5eb5c8816
Fix build with EGL 1.4 headers
2021-03-21 23:59:35 -05:00
Cameron Gutman
26d04b5f9c
Render DRM-PRIME frames as opaque images
...
We can't always assume they are NV12. Even if they _are_ NV12,
they may have DRM format modifiers that are incompatible with
simply assuming linear Y and UV buffers (such as tiling).
2021-03-21 23:23:12 -05:00
Cameron Gutman
e87a5fa354
Pass DRM format modifiers to FB creation
2021-03-21 17:54:10 -05:00
Cameron Gutman
c3895f06c0
Fix handling of preferred/compatible pixel formats with EGLRenderer and VAAPI/DRM backends
2021-02-04 19:39:18 -06:00
Cameron Gutman
4dffac3c78
Ask for NV12 buffers for DRMRenderer
2021-02-02 19:40:06 -06:00
Cameron Gutman
80137848dc
Add DMA-BUF export compatibility with EGL 1.4
2021-01-31 16:24:31 -06:00
Cameron Gutman
6a66b462ce
Allow DRMRenderer to be used for indirect rendering
2021-01-31 15:19:19 -06:00
Cameron Gutman
1e31f6fe77
Fix initialization of DRM backend with X running
2021-01-31 15:03:40 -06:00
Cameron Gutman
f173b3ff09
Attempt to fix AppImage and Steam Link build errors
2021-01-31 14:48:42 -06:00
Cameron Gutman
dbfdc2fd14
Share DRM FD and GBM device with SDL
...
Depends on https://hg.libsdl.org/SDL/rev/d75deb75464a
2021-01-30 21:11:52 -06:00
Cameron Gutman
ac947d3bda
Add EGLImage export support to DRMRenderer
2021-01-30 17:52:23 -06:00
Cameron Gutman
243ba371b3
Initialize a DRM hardware context for hwaccel usage
2021-01-30 16:33:58 -06:00
Cameron Gutman
51e9ab83ad
Send a null AVFrame to indicate end of stream to allow renderers to do render thread cleanup
2020-05-13 18:55:21 -07:00
Cameron Gutman
57a1c5eb76
Disable the window mode options for always full-screen renderers
2020-02-09 11:35:05 -08:00
Cameron Gutman
529fdf0341
Add decoder options dictionary to prepareDecoderContext()
2020-02-08 17:47:26 -08:00
Cameron Gutman
dba479774b
Add DRM renderer for Rockchip devices
2019-04-21 05:22:37 +00:00