diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-11-18 09:33:37 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-11-18 09:33:37 -0800 |
commit | 1d11a76d8361b52e0f7a489afe99ff08583a8333 (patch) | |
tree | 9dd86f214c1a7c5ed816f9c7691317cf48662971 /src/til_builtins.c | |
parent | f15e1ada07a08a6dd13dcf648e815f2c9620ce6e (diff) |
drm_fb: use shadow buffers when device prefers it
I noticed the sdl_fb backend seemed to often have significantly
better FPS in fullscreen use vs. drm_fb fullscreen. Looking at
the libdrm api I saw this PREFER_SHADOW capability and noticed my
laptop's gpu driver sets it... With this change, despite the
additional memcpy(), the drm fullscreen FPS seems significantly
better.
A subsequent commit will make this an overridable runtime setting
Diffstat (limited to 'src/til_builtins.c')
0 files changed, 0 insertions, 0 deletions