mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
render: drop wlr_ prefix from wlr_renderer_bind_buffer
Make it clear this function is a private wlroots API and will stay that way.
This commit is contained in:
parent
c87c849ec6
commit
b2f6db3533
4 changed files with 10 additions and 11 deletions
|
|
@ -12,12 +12,12 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd);
|
|||
*
|
||||
* All subsequent rendering operations will operate on the supplied buffer.
|
||||
* After rendering operations are done, the caller must unbind a buffer by
|
||||
* calling wlr_renderer_bind_buffer with a NULL buffer.
|
||||
* calling renderer_bind_buffer with a NULL buffer.
|
||||
*/
|
||||
bool wlr_renderer_bind_buffer(struct wlr_renderer *r, struct wlr_buffer *buffer);
|
||||
bool renderer_bind_buffer(struct wlr_renderer *r, struct wlr_buffer *buffer);
|
||||
/**
|
||||
* Get the supported render formats. Buffers allocated with a format from this
|
||||
* list may be attached via wlr_renderer_bind_buffer.
|
||||
* list may be attached via wlr_renderer_begin_with_buffer.
|
||||
*/
|
||||
const struct wlr_drm_format_set *wlr_renderer_get_render_formats(
|
||||
struct wlr_renderer *renderer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue