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@lists.freedesktop.org Reporter: nmcve...@gmail.com QA Contact: mesa-dev@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@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.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev