dri: make driSWRastQueryBufferAge public

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 15:21:00 -04:00 committed by Marge Bot
parent 789df29fc3
commit b1b8ac6b34
3 changed files with 4 additions and 1 deletions

View file

@ -959,7 +959,7 @@ driSwapBuffers(__DRIdrawable *pdp)
drawable->swap_buffers(drawable);
}
static int
int
driSWRastQueryBufferAge(__DRIdrawable *pdp)
{
struct dri_drawable *drawable = dri_drawable(pdp);

View file

@ -292,4 +292,6 @@ dri_create_image_with_modifiers(__DRIscreen *screen,
PUBLIC int
dri_query_compatible_render_only_device_fd(int kms_only_fd);
PUBLIC int
driSWRastQueryBufferAge(__DRIdrawable *pdp);
#endif /* _DRI_UTIL_H_ */

View file

@ -43,6 +43,7 @@
dri_query_dma_buf_modifiers;
dri2_query_dma_buf_format_modifier_attribs;
dri_query_compatible_render_only_device_fd;
driSWRastQueryBufferAge;
@nouveau_drm_screen_create@
@radeon_drm_winsys_create@
@amdgpu_winsys_create@