aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-09 11:44:28 +0100
committerSimon Ser <contact@emersion.fr>2021-01-12 11:31:04 +0100
commit50b120927ddcf26c83b219ebe9351b143efebfad (patch)
treea8c7ba46a46b93987ab238f8e3049f6b1e375cc3 /include/wlr/render
parent76ed2255ef8da963b1d4a9a121e24a094dfead20 (diff)
render/egl: remove wlr_egl_swap_buffers
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/egl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 3fa47cc9..67f32e42 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -37,7 +37,6 @@ struct wlr_egl_context {
};
struct wlr_egl {
- EGLenum platform;
EGLDisplay display;
EGLConfig config; // may be EGL_NO_CONFIG
EGLContext context;
@@ -51,7 +50,6 @@ struct wlr_egl {
bool image_dma_buf_export_mesa;
bool image_dmabuf_import_ext;
bool image_dmabuf_import_modifiers_ext;
- bool swap_buffers_with_damage;
// Device extensions
bool device_drm_ext;
@@ -65,7 +63,6 @@ struct wlr_egl {
PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL;
PFNEGLBINDWAYLANDDISPLAYWL eglBindWaylandDisplayWL;
PFNEGLUNBINDWAYLANDDISPLAYWL eglUnbindWaylandDisplayWL;
- PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamage; // KHR or EXT
PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT;
PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT;
PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA;
@@ -170,9 +167,6 @@ void wlr_egl_save_context(struct wlr_egl_context *context);
*/
bool wlr_egl_restore_context(struct wlr_egl_context *context);
-bool wlr_egl_swap_buffers(struct wlr_egl *egl, EGLSurface surface,
- pixman_region32_t *damage);
-
bool wlr_egl_destroy_surface(struct wlr_egl *egl, EGLSurface surface);
int wlr_egl_dup_drm_fd(struct wlr_egl *egl);