Skip to content
Snippets Groups Projects
Commit 90cd7fc6 authored by Niklas Haas's avatar Niklas Haas
Browse files

dispatch: add support for pl_timer queries

Rather than add yet another field to the growing signature of these
functions, I decided to do the sensible thing and just params-ify it.
(When will I learn my lesson and just use params structs to begin with?)

While this rather annoyingly requires completely breaking the API of a
relatively common function, we're fortunately saved by the fact that I
expect the majority of pl_dispatch uses to be libplacebo-internal.

This commit also adds the use of such timers to the benchmark, giving us
more accurate reporting of the raw GPU execution time.
parent e40aee5c
No related branches found
No related tags found
1 merge request!88Implement timers
Pipeline #17458 passed with stages
in 5 minutes and 38 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment