[Webkit-unassigned] [Bug 102687] [EFL] GLX detection is broken.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 20 09:49:54 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=102687





--- Comment #6 from Kalyan <kalyan.kondapally at intel.com>  2012-11-20 09:51:52 PST ---
(In reply to comment #4)
> (From update of attachment 175076 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=175076&action=review
> 
> >> Source/cmake/OptionsEfl.cmake:200
> >> +GLXCOMPILATIONPASSED)
> > 
> > Doesn't this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).
> 
> That's true, you could use FIND_PACKAGE(OpenGL) + check if OPENGL_XMESA_FOUND is set.

I was hoping we could do this. But the problem seems to be as follows:

1)In FindOpenGL.cmake OPENGL_XMESA_FOUND is set to True if OPENGL_xmesa_INCLUDE_DIR is True

    FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h
      /usr/share/doc/NVIDIA_GLX-1.0/include
      /usr/openwin/share/include
      /opt/graphics/OpenGL/include /usr/X11R6/include
    )

Here GL/xmesa.h  seems to be the problem. The "XMesa" interface is deprecated and GL/xmesa*.h files are  no longer considered public.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list