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:
emersion 2018-03-31 23:20:00 -04:00
parent b60e31e5c0
commit a7bb48b404
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 64 additions and 47 deletions

View file

@ -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,