[Mesa-dev] [Bug 90325] No static entry point for glQueryCounter and other entry points in ARB_timer_query

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 5 13:36:17 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90325

            Bug ID: 90325
           Summary: No static entry point for glQueryCounter and other
                    entry points in ARB_timer_query
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: nmcveity at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

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 at 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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150505/ce744f90/attachment.html>


More information about the mesa-dev mailing list