[Mesa-dev] [PATCH 09/25] dri/radeon: create radeon{Vendor, GetRenderer}String helpers

Marek Olšák maraeo at gmail.com
Mon Feb 24 12:06:12 PST 2014


On Sat, Feb 22, 2014 at 4:03 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> To be used by the upcomming GLX_MESA_query_renderer implementation.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  .../drivers/dri/radeon/radeon_common_context.c     | 50 +++++++++++++---------
>  .../drivers/dri/radeon/radeon_common_context.h     |  4 ++
>  src/mesa/drivers/dri/radeon/radeon_screen.h        |  2 +
>  3 files changed, 35 insertions(+), 21 deletions(-)
>
[snip]
> diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.h b/src/mesa/drivers/dri/radeon/radeon_screen.h
> index 03abb2a..39341c8 100644
> --- a/src/mesa/drivers/dri/radeon/radeon_screen.h
> +++ b/src/mesa/drivers/dri/radeon/radeon_screen.h
> @@ -211,6 +211,8 @@ struct __DRIimageRec {
>  #define untile_image                        r200_untile_image
>  #define set_re_cntl_d3d                     r200_set_re_cntl_d3d
>  #define radeonDestroyBuffer                 r200_radeonDestroyBuffer
> +#define radeonVendorString                  r200_radeonVendorString
> +#define radeonGetRendererString             r200_radeonGetRendererString
>  #endif

Where are these r200 functions implemented?

Marek


More information about the mesa-dev mailing list