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:
committed by
Marge Bot
parent
a6d97b0afe
commit
85bf0892f6
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user