aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/dd.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-07-11 11:56:57 +0200
committermarha <marha@users.sourceforge.net>2012-07-11 11:56:57 +0200
commit0bef135026040688be97af98cc99cc82f93838e8 (patch)
treee92b0a40e98bbd566e64ac507a5b3d2acf397c7b /mesalib/src/mesa/main/dd.h
parentd137057fd13e83ec15ab416c7fe774741da06047 (diff)
downloadvcxsrv-0bef135026040688be97af98cc99cc82f93838e8.tar.gz
vcxsrv-0bef135026040688be97af98cc99cc82f93838e8.tar.bz2
vcxsrv-0bef135026040688be97af98cc99cc82f93838e8.zip
mesa xserver pixman git update 11 Jul 2012
Diffstat (limited to 'mesalib/src/mesa/main/dd.h')
-rw-r--r--mesalib/src/mesa/main/dd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/dd.h b/mesalib/src/mesa/main/dd.h
index 687a38f44..c8a765f47 100644
--- a/mesalib/src/mesa/main/dd.h
+++ b/mesalib/src/mesa/main/dd.h
@@ -820,6 +820,12 @@ struct dd_function_table {
GLuint name);
void (*DeleteSamplerObject)(struct gl_context *ctx,
struct gl_sampler_object *samp);
+
+ /**
+ * \name Return a timestamp in nanoseconds as defined by GL_ARB_timer_query.
+ * This should be equivalent to glGetInteger64v(GL_TIMESTAMP);
+ */
+ uint64_t (*GetTimestamp)(struct gl_context *ctx);
};