mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 00:50:30 +01:00
dri: make a few more functions public
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472>
This commit is contained in:
parent
75a08f6b00
commit
caa44dffbe
3 changed files with 17 additions and 3 deletions
|
|
@ -389,7 +389,7 @@ dri2_release_buffer(__DRIbuffer *bPriv)
|
|||
FREE(buffer);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
dri2_set_in_fence_fd(__DRIimage *img, int fd)
|
||||
{
|
||||
validate_fence_fd(fd);
|
||||
|
|
@ -1754,7 +1754,7 @@ exit:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static bool
|
||||
bool
|
||||
dri2_query_compression_rates(__DRIscreen *_screen, const __DRIconfig *config, int max,
|
||||
enum __DRIFixedRateCompression *rates, int *count)
|
||||
{
|
||||
|
|
@ -1779,7 +1779,7 @@ dri2_query_compression_rates(__DRIscreen *_screen, const __DRIconfig *config, in
|
|||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
bool
|
||||
dri2_query_compression_modifiers(__DRIscreen *_screen, uint32_t fourcc,
|
||||
enum __DRIFixedRateCompression rate, int max,
|
||||
uint64_t *modifiers, int *count)
|
||||
|
|
|
|||
|
|
@ -294,4 +294,15 @@ dri_query_compatible_render_only_device_fd(int kms_only_fd);
|
|||
|
||||
PUBLIC int
|
||||
driSWRastQueryBufferAge(__DRIdrawable *pdp);
|
||||
|
||||
PUBLIC void
|
||||
dri2_set_in_fence_fd(__DRIimage *img, int fd);
|
||||
|
||||
PUBLIC bool
|
||||
dri2_query_compression_rates(__DRIscreen *_screen, const __DRIconfig *config, int max,
|
||||
enum __DRIFixedRateCompression *rates, int *count);
|
||||
PUBLIC bool
|
||||
dri2_query_compression_modifiers(__DRIscreen *_screen, uint32_t fourcc,
|
||||
enum __DRIFixedRateCompression rate, int max,
|
||||
uint64_t *modifiers, int *count);
|
||||
#endif /* _DRI_UTIL_H_ */
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@
|
|||
dri_loader_get_extensions;
|
||||
dri_create_image_with_modifiers;
|
||||
dri_create_image_from_renderbuffer;
|
||||
dri2_set_in_fence_fd;
|
||||
dri2_query_compression_rates;
|
||||
dri2_query_compression_modifiers;
|
||||
dri2_destroy_image;
|
||||
dri2_create_from_texture;
|
||||
dri_create_image;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue