aboutsummaryrefslogtreecommitdiff
path: root/render/pass.c
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2023-09-11 19:59:41 -0400
committerManuel Stoeckl <code@mstoeckl.com>2023-09-11 20:25:07 -0400
commitdbc7a5cada37d192821e1104b356ff891b8bd787 (patch)
treea78629a957b89944d1b04444e654500e926f3d60 /render/pass.c
parent6c54c3471354a3ec55dddaa47beb8a28819944ae (diff)
screencopy_v1: only bind, not render with, buffer in shm copy path
wlr_renderer_read_pixels does not need to be called inside a render pass; rather, it only needs to have the correct buffer bound to the renderer. This commit optimizes the implementation of frame_shm_copy(...) by only binding the source buffer instead of starting a no-op render pass with it.
Diffstat (limited to 'render/pass.c')
0 files changed, 0 insertions, 0 deletions