diff options
author | Brian Paul <[email protected]> | 2005-09-02 13:42:49 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-02 13:42:49 +0000 |
commit | 4fb995084e1b4b629667f09331adf060aa0fac4c (patch) | |
tree | b8652385e0cc674b51aafa6191719536ea116757 /src/mesa/main/occlude.h | |
parent | 8cdf3729468aefb7c67c8ecd32fd850adbf6d351 (diff) |
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Extends the query mechanism to query elapsed time while rendering.
Diffstat (limited to 'src/mesa/main/occlude.h')
-rw-r--r-- | src/mesa/main/occlude.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/main/occlude.h b/src/mesa/main/occlude.h index acf19101f14..cecf7cb2b9e 100644 --- a/src/mesa/main/occlude.h +++ b/src/mesa/main/occlude.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.0.2 + * Version: 6.5 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -27,11 +27,14 @@ #define OCCLUDE_H +extern struct gl_query_object * +_mesa_new_query_object(GLcontext *ctx, GLuint id); + extern void -_mesa_init_occlude(GLcontext *ctx); +_mesa_init_query(GLcontext *ctx); extern void -_mesa_free_occlude_data(GLcontext *ctx); +_mesa_free_query_data(GLcontext *ctx); extern void GLAPIENTRY _mesa_GenQueriesARB(GLsizei n, GLuint *ids); |