summaryrefslogtreecommitdiff
path: root/src/modules/meta2d/meta2d.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-18 09:33:37 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-18 09:33:37 -0800
commit1d11a76d8361b52e0f7a489afe99ff08583a8333 (patch)
tree9dd86f214c1a7c5ed816f9c7691317cf48662971 /src/modules/meta2d/meta2d.c
parentf15e1ada07a08a6dd13dcf648e815f2c9620ce6e (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/modules/meta2d/meta2d.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved