diff options
author | Zack Rusin <[email protected]> | 2010-06-21 22:11:07 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-06-22 12:58:04 -0400 |
commit | b6c360b46c2b2b1548e2aeaa1a1cd201dfcf82ae (patch) | |
tree | 44e06c8181539078332e3375b723ed98218154d0 /src/gallium/include/pipe | |
parent | 583f241716639ae7fc24eca38418d5860de229cb (diff) |
gallium: add a new query
to figure out if gpu is finished with all of the previously issues commands
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 85551cac25a..b3a53c262de 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -382,7 +382,8 @@ enum pipe_transfer_usage { #define PIPE_QUERY_PRIMITIVES_EMITTED 2 #define PIPE_QUERY_TIME_ELAPSED 3 #define PIPE_QUERY_SO_STATISTICS 5 -#define PIPE_QUERY_TYPES 6 +#define PIPE_QUERY_GPU_FINISHED 6 +#define PIPE_QUERY_TYPES 7 /** |