[Mesa-dev] [PATCH 16/16] [RFC] mesa/st: enable GL_AMD_performance_monitor

Ilia Mirkin imirkin at alum.mit.edu
Mon Jul 7 08:23:02 PDT 2014


On Mon, Jul 7, 2014 at 11:47 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/mesa/state_tracker/st_extensions.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
> index 4207cb6..25042fb 100644
> --- a/src/mesa/state_tracker/st_extensions.c
> +++ b/src/mesa/state_tracker/st_extensions.c
> @@ -571,6 +571,7 @@ void st_init_extensions(struct st_context *st)
>     ctx->Extensions.EXT_pixel_buffer_object = GL_TRUE;
>     ctx->Extensions.EXT_point_parameters = GL_TRUE;
>     ctx->Extensions.EXT_provoking_vertex = GL_TRUE;
> +   ctx->Extensions.AMD_performance_monitor = GL_TRUE;

Presumably only if the driver supports it, no? You could just tie it
to the availability of the get_stuff callbacks

>
>     ctx->Extensions.EXT_texture_env_dot3 = GL_TRUE;
>     ctx->Extensions.EXT_vertex_array_bgra = GL_TRUE;
> --
> 2.0.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list