Files
renderdoc/renderdoc
Lionel Landwerlin 12ce67b228 Add GL Intel performance counters support
Intel published a performance query extension support defined back in
2013. This is available on Windows & Linux (in the Mesa driver). This
should provide the same types of counters as the MDAPI backend for
DX11.

Frameretrace [1] (a fork/branch of Apitrace) uses the same extension.

v2: Fix build without OpenGL
    Simplify logic to enable counters
    Warn about non enabled counters on Linux/Mesa
    Generate counter Uuid

v3: Turn asserts into errors
    Don't load perf entry points manually

v4: More clang-format

v5: Fix some Windows conversion warnings

v6: Fix errors on Windows where the driver reports an error on
    glGetPerfQueryInfoINTEL as a mean to say that the queryId cannot
    be used through the extension

v7: clang-format

v8: Initialize variable passed by pointers to GL entry points

v9: Only try to use the INTEL_performance_query on Mesa, experience
    shows the Intel Windows driver doesn't report anything useful.

[1]: https://github.com/janesma/apitrace/wiki/screen-shots
2019-02-04 15:54:33 +00:00
..
2019-02-01 18:32:13 +00:00
2019-02-01 18:32:13 +00:00
2019-02-01 18:32:13 +00:00
2019-02-01 18:32:13 +00:00
2019-02-01 18:32:13 +00:00
2019-02-01 18:32:13 +00:00
2019-02-04 10:50:25 +00:00
2019-02-01 18:32:13 +00:00
2019-02-01 18:32:13 +00:00