[Mesa-dev] [PATCH] RFC: gallium/dri2/st: start adding support for GLX_MESA_query_renderer

Brian Paul brianp at vmware.com
Sat Oct 26 16:18:06 CEST 2013


On 10/26/2013 05:55 AM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> + nvc0 support for demo purposes, will split up later.
>
> So I've done this by just adding pipe cap queries for this stuff,
> we might want to add another high level query to say if we are
> bothered exposing this stuff.
>
> nouveau can't get the pci device id as it doesn't seem to use them in
> userspace at all.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>   src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 10 +++++
>   src/gallium/include/pipe/p_defines.h           |  7 ++-
>   src/gallium/state_trackers/dri/drm/dri2.c      | 61 ++++++++++++++++++++++++++
>   3 files changed, 77 insertions(+), 1 deletion(-)

Please update src/gallium/docs with the new PIPE_CAPS_

We should add dummy case statements for these queries in the other 
drivers to avoid "Unexpected PIPE_CAP_" warning messages (ex: svga).

-Brian



More information about the mesa-dev mailing list