<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - No static entry point for glQueryCounter and other entry points in ARB_timer_query"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90325">90325</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>No static entry point for glQueryCounter and other entry points in ARB_timer_query
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nmcveity@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>ARB_timer_query is part of OpenGL 3.3 but there does not appear to be static
entry points for the new functions (glQueryCounter, glGetQueryObjectui64v,
etc..)
Consider this simplified example:
#include <GL/gl.h>
#include <GL/glext.h>
int main(int nargs, char** args) {
// From ARB_timer_query but should be core in 3.3
glQueryCounter(GL_TIMESTAMP, 123);
// From ARB_sampler_objects, also core in 3.3
GLuint name;
glGenSamplers(1, &name);
return 0;
}
Attempting to link this:
nick@the-citadel:~/Projects/mesatest$ g++ query_counter.c -lGL
-DGL_GLEXT_PROTOTYPES
/tmp/cczJxQBg.o: In function `main':
query_counter.c:(.text+0x29): undefined reference to `glQueryCounter'
collect2: error: ld returned 1 exit status
This is on ubuntu 10.14 (utopic). The mesa-dev package installed is the latest
from xorg edgers:
amd64/utopic 10.6.0~git20150423.125574d1-0ubuntu0ricotz~utopic
I *ASSUME* this means it was built from the hash
125574d1effcb3e3eda93f2b2975bc6cc606df3e.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>