mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-28 08:56:32 -05:00
render/egl: add wlr_egl_create_image_from_wl_drm
This allows external renderers and potential future GL-based renderers to re-use this function.
This commit is contained in:
parent
b60e31e5c0
commit
a7bb48b404
4 changed files with 64 additions and 47 deletions
|
|
@ -23,7 +23,7 @@ struct wlr_texture *wlr_texture_from_pixels(struct wlr_renderer *renderer,
|
|||
const void *data);
|
||||
|
||||
/**
|
||||
* Create a new texture from a wayland DRM resource. The returned texture is
|
||||
* Create a new texture from a wl_drm resource. The returned texture is
|
||||
* immutable.
|
||||
*/
|
||||
struct wlr_texture *wlr_texture_from_wl_drm(struct wlr_renderer *renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue