aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-19 11:34:28 +0100
committerSimon Ser <contact@emersion.fr>2020-12-30 17:09:40 +0100
commit4b03bdc3ab0cb1a0296c4d48b125f15a07ca99bd (patch)
treeba92975fc0f6c3fe7d62bbf2af120ea865383e77 /include/backend/drm
parentbec1e6b149eb6a5eb470dd4eee6ba0aa57f1b590 (diff)
Remove wlr_create_renderer_func_t
This callback allowed compositors to customize the EGL config used by the renderer. However with renderer v6 EGL configs aren't used anymore. Instead, buffers are allocated via GBM and GL FBOs are rendered to. So customizing the EGL config is a no-op.
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/renderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index bafc4ad0..a22cc56a 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -41,7 +41,7 @@ struct wlr_drm_fb {
};
bool init_drm_renderer(struct wlr_drm_backend *drm,
- struct wlr_drm_renderer *renderer, wlr_renderer_create_func_t create_render);
+ struct wlr_drm_renderer *renderer);
void finish_drm_renderer(struct wlr_drm_renderer *renderer);
bool drm_surface_make_current(struct wlr_drm_surface *surf, int *buffer_age);