aboutsummaryrefslogtreecommitdiff
path: root/render/egl.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-28 00:14:57 -0400
committerGitHub <noreply@github.com>2018-03-28 00:14:57 -0400
commit330ee081269790922a46091399b616b12ce14f51 (patch)
treeffe735fa4b9ca2b058be2c69ccad290dc090d883 /render/egl.c
parent48e8202883594091d2ec2b5d0d8a55ddf2f0aea6 (diff)
parentadf4fb08dde2fa3e981213dd6a8c97de1f93c110 (diff)
Merge pull request #744 from emersion/texture-redesign
Redesign wlr_texture
Diffstat (limited to 'render/egl.c')
-rw-r--r--render/egl.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/render/egl.c b/render/egl.c
index 7201ac9f..3c005b24 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -220,24 +220,6 @@ bool wlr_egl_bind_display(struct wlr_egl *egl, struct wl_display *local_display)
return false;
}
-bool wlr_egl_query_buffer(struct wlr_egl *egl, struct wl_resource *buf,
- int attrib, int *value) {
- if (!eglQueryWaylandBufferWL) {
- return false;
- }
- return eglQueryWaylandBufferWL(egl->display, buf, attrib, value);
-}
-
-EGLImage wlr_egl_create_image(struct wlr_egl *egl, EGLenum target,
- EGLClientBuffer buffer, const EGLint *attribs) {
- if (!eglCreateImageKHR) {
- return NULL;
- }
-
- return eglCreateImageKHR(egl->display, egl->context, target,
- buffer, attribs);
-}
-
bool wlr_egl_destroy_image(struct wlr_egl *egl, EGLImage image) {
if (!eglDestroyImageKHR) {
return false;