diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-07 23:02:48 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-07-08 14:44:42 -0400 |
commit | c1b27cc499d06c0aa3d02228dd6e2905e08e2436 (patch) | |
tree | 4e6e9cb08ee1a4fa2858205fd0f34291cb8789a4 /include/render | |
parent | d71ed635b90a12c1f1d096817aec9d00b2ad6a3d (diff) |
backend/drm: stop using drm_surface_make_current in drm_surface_blit
drm_surface_make_current and drm_surface_unset_current set implicit
state and are an unnecessary mid-layer. Prefer to use directly
wlr_renderer_begin_with_buffer, which automatically unsets the back
buffer on wlr_renderer_end.
I'd like to get rid of drm_surface_make_current once we stop using
it for the primary swapchain.
Diffstat (limited to 'include/render')
0 files changed, 0 insertions, 0 deletions