diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2023-09-11 19:59:41 -0400 |
---|---|---|
committer | Manuel Stoeckl <code@mstoeckl.com> | 2023-09-11 20:25:07 -0400 |
commit | dbc7a5cada37d192821e1104b356ff891b8bd787 (patch) | |
tree | a78629a957b89944d1b04444e654500e926f3d60 /protocol | |
parent | 6c54c3471354a3ec55dddaa47beb8a28819944ae (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 'protocol')
0 files changed, 0 insertions, 0 deletions