Bug 66775

Summary: Chromium compilation broken: "no member named 'b_GL_ARB_sync'"
Product: Mesa Reporter: Andreas Reis <andreas.reis>
Component: GLXAssignee: mesa-dev
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Andreas Reis 2013-07-10 14:25:52 UTC
Chromium (30.0.1562.0 + any recent tried) compiles fine with mesa 9.1.4, but aborts with mesa git:

../../ui/gl/gl_fence.cc: In static member function »static gfx::GLFence* gfx::GLFence::Create()«:
../../ui/gl/gl_fence.cc:130:28: error: »struct gfx::ExtensionsGL« has no member named »b_GL_ARB_sync«
   if (gfx::g_driver_gl.ext.b_GL_ARB_sync)

Relevant file in Chromium's trunk repo:
http://git.chromium.org/gitweb/?p=chromium/chromium.git;a=blob_plain;f=ui/gl/gl_fence.cc

DRI drivers compiled on my computer are i965 (for Haswell 4770) and swrast.

Gentoo users (I'm on Arch) have hit the same error:
https://bugs.gentoo.org/show_bug.cgi?id=475444

Maybe an issue created by the i915/i965 fork?
Comment 1 Ian Romanick 2013-07-10 23:45:43 UTC
None of the source files, variables, or data structures mentioned have anything to do with Mesa.  There have recently been changes to glext.h (which comes directly from Khronos), so it could be related to that.  Either way, I'm inclined to believe this is a Chromium bug.

Can you bisect Mesa to see when the break occurred?
Comment 2 Andreas Reis 2013-07-11 19:41:59 UTC
You're right, the relevant commit is "mesa: update glext.h to version 20130624". No idea if that makes it a Mesa or Chromium bug, but in any case, not one of Intel DRI.
Comment 3 Ian Romanick 2013-07-11 21:28:07 UTC
Since we just take the official glext.h from Khronos, it's not Mesa. :) It's hard to tell whether it's Chromium or Khronos.  Someone who knows the Chromium code will have to investigate this further.  They can get the same glext.h directly from Khronos:

http://www.opengl.org/registry/api/GL/glext.h

If they find the problem to be with glext.h, they should report a bug directly to Khronos:

https://www.khronos.org/bugzilla/

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.