![]() In OpenGL, most queries record statistics about operations performed between a defined beginning and ending point. However, TIMESTAMP queries are different: they immediately return a single value, and there is no start/stop mechanism. Previously, Mesa implemented TIMESTAMP queries by calling EndQuery without first calling BeginQuery. Apparently this is DirectX convention, and Gallium followed suit. I personally find the asymmetry jarring, however---having BeginQuery and EndQuery handle a different set of enum values looks like a bug. It's also a bit confusing to mix the one-shot query with the start/stop model. So, add a new QueryCounter driver hook for implementing TIMESTAMP. For now, fall back to EndQuery to support drivers that don't do the new mechanism. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> |
12 lat temu | |
---|---|---|
bin | Remove installmesa | 12 lat temu |
docs | docs: Mark some things done in GL3.txt | 12 lat temu |
doxygen | glsl/build: Build glcpp via the glsl Makefile | 12 lat temu |
include | mesa: remove old version comment from gl.h | 12 lat temu |
m4 | build: Use AX_PROG_FLEX | 12 lat temu |
scons | scons: Fix Windows build with LLVM 3.2 | 12 lat temu |
src | mesa: Add a new QueryCounter() hook for TIMESTAMP queries. | 12 lat temu |
.dir-locals.el | Add emacs setup for the docs/devinfo.html comment wrapping recommendation. | 13 lat temu |
.gitattributes | Disable autocrlf for Visual Studio project files. | 17 lat temu |
.gitignore | Clean up .gitignore files | 12 lat temu |
Android.common.mk | android: Define Make variables for Android version | 12 lat temu |
Android.mk | android: Define Make variables for Android version | 12 lat temu |
Makefile.am | mesa: bump version to 9.2 (devel) | 12 lat temu |
SConstruct | scons: Disable saving options automatically. | 14 lat temu |
autogen.sh | build: Fix autogen.sh to allow out-of-tree builds | 13 lat temu |
common.py | scons: Add option to enable floating-point textures. | 13 lat temu |
configure.ac | autotools: oprofilejit should be included in the list of LLVM components required | 12 lat temu |