diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-28 00:14:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 00:14:57 -0400 |
commit | 330ee081269790922a46091399b616b12ce14f51 (patch) | |
tree | ffe735fa4b9ca2b058be2c69ccad290dc090d883 /include/wlr/render/egl.h | |
parent | 48e8202883594091d2ec2b5d0d8a55ddf2f0aea6 (diff) | |
parent | adf4fb08dde2fa3e981213dd6a8c97de1f93c110 (diff) |
Merge pull request #744 from emersion/texture-redesign
Redesign wlr_texture
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r-- | include/wlr/render/egl.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index b5f2d67c..20127e38 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -47,36 +47,24 @@ void wlr_egl_finish(struct wlr_egl *egl); bool wlr_egl_bind_display(struct wlr_egl *egl, struct wl_display *local_display); /** - * Refer to the eglQueryWaylandBufferWL extension function. - */ -bool wlr_egl_query_buffer(struct wlr_egl *egl, struct wl_resource *buf, - EGLint attrib, EGLint *value); - -/** * Returns a surface for the given native window * The window must match the remote display the wlr_egl was created with. */ EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window); /** - * Creates an egl image from the given client buffer and attributes. - */ -EGLImageKHR wlr_egl_create_image(struct wlr_egl *egl, - EGLenum target, EGLClientBuffer buffer, const EGLint *attribs); - -/** * Creates an egl image from the given dmabuf attributes. Check usability * of the dmabuf with wlr_egl_check_import_dmabuf once first. */ EGLImageKHR wlr_egl_create_image_from_dmabuf(struct wlr_egl *egl, - struct wlr_dmabuf_buffer_attribs *attributes); + struct wlr_dmabuf_buffer_attribs *attributes); /** * Try to import the given dmabuf. On success return true false otherwise. * If this succeeds the dmabuf can be used for rendering on a texture */ bool wlr_egl_check_import_dmabuf(struct wlr_egl *egl, - struct wlr_dmabuf_buffer *dmabuf); + struct wlr_dmabuf_buffer *dmabuf); /** * Get the available dmabuf formats |