mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
renderer: Drop wlr_renderer_begin
This commit is contained in:
parent
2093564616
commit
3faf9883dc
2 changed files with 7 additions and 23 deletions
|
|
@ -52,15 +52,6 @@ struct wlr_renderer {
|
|||
*/
|
||||
struct wlr_renderer *wlr_renderer_autocreate(struct wlr_backend *backend);
|
||||
|
||||
/**
|
||||
* Start a render pass with the provided viewport.
|
||||
*
|
||||
* This should be called after wlr_output_attach_render(). Compositors must call
|
||||
* wlr_renderer_end() when they are done.
|
||||
*
|
||||
* Returns false on failure, in which case compositors shouldn't try rendering.
|
||||
*/
|
||||
bool wlr_renderer_begin(struct wlr_renderer *r, uint32_t width, uint32_t height);
|
||||
/**
|
||||
* Start a render pass on the provided struct wlr_buffer.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue