aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-29 20:39:19 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-01 14:57:52 -0400
commit18adb43a44cbb31eeeb3d6845690d2cb5c9dc61b (patch)
tree07248e9c940b145f7c26c6da755cd27ce0dcd6cf /include
parent29c8df7e0a3e6ac1720cd843ba6f523de6b71c0a (diff)
render: drop wlr_renderer_impl.texture_from_pixels
Diffstat (limited to 'include')
-rw-r--r--include/render/gles2.h3
-rw-r--r--include/wlr/render/interface.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index 0e93522f..b32b5708 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -119,9 +119,6 @@ struct wlr_gles2_renderer *gles2_get_renderer(
struct wlr_gles2_texture *gles2_get_texture(
struct wlr_texture *wlr_texture);
-struct wlr_texture *gles2_texture_from_pixels(struct wlr_renderer *wlr_renderer,
- uint32_t fmt, uint32_t stride, uint32_t width, uint32_t height,
- const void *data);
struct wlr_texture *gles2_texture_from_wl_drm(struct wlr_renderer *wlr_renderer,
struct wl_resource *data);
struct wlr_texture *gles2_texture_from_dmabuf(struct wlr_renderer *wlr_renderer,
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index b07c7c6f..54e0fc5c 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -45,9 +45,6 @@ struct wlr_renderer_impl {
uint32_t *flags, uint32_t stride, uint32_t width, uint32_t height,
uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y,
void *data);
- struct wlr_texture *(*texture_from_pixels)(struct wlr_renderer *renderer,
- uint32_t fmt, uint32_t stride, uint32_t width, uint32_t height,
- const void *data);
struct wlr_texture *(*texture_from_wl_drm)(struct wlr_renderer *renderer,
struct wl_resource *data);
struct wlr_texture *(*texture_from_dmabuf)(struct wlr_renderer *renderer,