diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-20 06:34:23 -0700 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-21 09:44:25 -0700 |
commit | 7ce597508e7400e962c8fdb2d255f9887cb9c710 (patch) | |
tree | 4a34d426e1ec2eefa3aed84cf6e212dc81f55478 /src/mesa/main/mtypes.h | |
parent | dc8058c3370588bfcad49fadace1691da47d58cd (diff) |
mesa: improved driver query interface
Brought over from gallium-0.2 branch.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index f06e4a446c..e1abcf4db7 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2074,10 +2074,11 @@ struct gl_ati_fragment_shader_state */ struct gl_query_object { - GLuint Id; - GLuint64EXT Result; /* the counter */ - GLboolean Active; /* inside Begin/EndQuery */ - GLboolean Ready; /* result is ready */ + GLenum Target; /**< The query target, when active */ + GLuint Id; /**< hash table ID/name */ + GLuint64EXT Result; /**< the counter */ + GLboolean Active; /**< inside Begin/EndQuery */ + GLboolean Ready; /**< result is ready? */ }; |