[Mesa-dev] [PATCH 0/6] v3: Implement INTEL_performance_query

Ian Romanick idr at freedesktop.org
Fri May 2 10:08:58 PDT 2014


On 04/23/2014 01:08 AM, Petri Latvala wrote:
> Third revision of the patch series. Changes:
> 
> - Rebased to current master
> - Changes based on Ian's review
> - Add the extension to 10.2 release notes
> 
> I didn't change patch 5/6 "Enable INTEL_performance_query for Gen5+"
> along the review comments yet. It's true that currently drivers can
> support both by just implementing the current driver hooks, but I'm
> worried that the situation might change with the upcoming changes to
> the driver functions to support semantic types and normalized
> counters. I have no concrete examples that would make that happen, I
> might just be too paranoid and wary.

Yeah, that's reasonable.

> Summarum, there's more changes for this extension incoming, and that
> sort of cleanup can be part of it if so desired.
> 
> I will need someone to push this btw.

Done.

   cf6c9db..6a2d285  6a2d28599f7326d7e40663033d34c32eeb814473 -> master

> Petri Latvala (6):
>   Regenerate gl_mangle.h.
>   mesa: Add INTEL_performance_query enums to tests/enum_strings.cpp
>   mesa: Add core support for the GL_INTEL_performance_query extension.
>   mesa: Implement INTEL_performance_query.
>   i965: Enable INTEL_performance_query for Gen5+.
>   docs: update 10.2 release notes
> 
>  docs/relnotes/10.2.html                        |   1 +
>  include/GL/gl_mangle.h                         | 371 ++++++++++++++-
>  src/mapi/glapi/gen/INTEL_performance_query.xml |  93 ++++
>  src/mapi/glapi/gen/Makefile.am                 |   1 +
>  src/mapi/glapi/gen/gl_API.xml                  |   2 +
>  src/mesa/drivers/dri/i965/intel_extensions.c   |   4 +-
>  src/mesa/main/config.h                         |   8 +
>  src/mesa/main/extensions.c                     |   1 +
>  src/mesa/main/get.c                            |   1 +
>  src/mesa/main/get_hash_params.py               |   6 +
>  src/mesa/main/mtypes.h                         |   1 +
>  src/mesa/main/performance_monitor.c            | 614 +++++++++++++++++++++++++
>  src/mesa/main/performance_monitor.h            |  43 +-
>  src/mesa/main/tests/dispatch_sanity.cpp        |  24 +
>  src/mesa/main/tests/enum_strings.cpp           |  18 +
>  15 files changed, 1180 insertions(+), 8 deletions(-)
>  create mode 100644 src/mapi/glapi/gen/INTEL_performance_query.xml
> 



More information about the mesa-dev mailing list