|
|
@ -395,7 +395,7 @@ static const struct wlr_drm_format_set *gles2_get_dmabuf_texture_formats(
|
|
|
|
return wlr_egl_get_dmabuf_texture_formats(renderer->egl);
|
|
|
|
return wlr_egl_get_dmabuf_texture_formats(renderer->egl);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const struct wlr_drm_format_set *gles2_get_dmabuf_render_formats(
|
|
|
|
static const struct wlr_drm_format_set *gles2_get_render_formats(
|
|
|
|
struct wlr_renderer *wlr_renderer) {
|
|
|
|
struct wlr_renderer *wlr_renderer) {
|
|
|
|
struct wlr_gles2_renderer *renderer = gles2_get_renderer(wlr_renderer);
|
|
|
|
struct wlr_gles2_renderer *renderer = gles2_get_renderer(wlr_renderer);
|
|
|
|
return wlr_egl_get_dmabuf_render_formats(renderer->egl);
|
|
|
|
return wlr_egl_get_dmabuf_render_formats(renderer->egl);
|
|
|
@ -576,7 +576,7 @@ static const struct wlr_renderer_impl renderer_impl = {
|
|
|
|
.resource_is_wl_drm_buffer = gles2_resource_is_wl_drm_buffer,
|
|
|
|
.resource_is_wl_drm_buffer = gles2_resource_is_wl_drm_buffer,
|
|
|
|
.wl_drm_buffer_get_size = gles2_wl_drm_buffer_get_size,
|
|
|
|
.wl_drm_buffer_get_size = gles2_wl_drm_buffer_get_size,
|
|
|
|
.get_dmabuf_texture_formats = gles2_get_dmabuf_texture_formats,
|
|
|
|
.get_dmabuf_texture_formats = gles2_get_dmabuf_texture_formats,
|
|
|
|
.get_dmabuf_render_formats = gles2_get_dmabuf_render_formats,
|
|
|
|
.get_render_formats = gles2_get_render_formats,
|
|
|
|
.preferred_read_format = gles2_preferred_read_format,
|
|
|
|
.preferred_read_format = gles2_preferred_read_format,
|
|
|
|
.read_pixels = gles2_read_pixels,
|
|
|
|
.read_pixels = gles2_read_pixels,
|
|
|
|
.texture_from_pixels = gles2_texture_from_pixels,
|
|
|
|
.texture_from_pixels = gles2_texture_from_pixels,
|
|
|
|