egl/dri2: delete unused function

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472>
This commit is contained in:
Mike Blumenkrantz
2024-07-26 09:24:49 -04:00
committed by Marge Bot
parent a6d97b0afe
commit 85bf0892f6
2 changed files with 0 additions and 14 deletions
-10
View File
@@ -324,16 +324,6 @@ dri2_get_shifts_and_sizes(const __DRIcoreExtension *core,
core->getConfigAttrib(config, __DRI_ATTRIB_ALPHA_SIZE, &sizes[3]);
}
void
dri2_get_render_type_float(const __DRIcoreExtension *core,
const __DRIconfig *config, bool *is_float)
{
unsigned int render_type;
core->getConfigAttrib(config, __DRI_ATTRIB_RENDER_TYPE, &render_type);
*is_float = (render_type & __DRI_ATTRIB_FLOAT_BIT) ? true : false;
}
enum pipe_format
dri2_image_format_for_pbuffer_config(struct dri2_egl_display *dri2_dpy,
const __DRIconfig *config)
-4
View File
@@ -504,10 +504,6 @@ dri2_get_shifts_and_sizes(const __DRIcoreExtension *core,
const __DRIconfig *config, int *shifts,
unsigned int *sizes);
void
dri2_get_render_type_float(const __DRIcoreExtension *core,
const __DRIconfig *config, bool *is_float);
enum pipe_format
dri2_image_format_for_pbuffer_config(struct dri2_egl_display *dri2_dpy,
const __DRIconfig *config);