[Webkit-unassigned] [Bug 95560] New: [Qt] Use system OpenGLES / EGL includes if available instead of ANGLE includes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 31 05:15:39 PDT 2012


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

           Summary: [Qt] Use system OpenGLES / EGL includes if available
                    instead of ANGLE includes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: milian.wolff at kdab.com
            Blocks: 95466


Building QtWebKit for QNX with OpenGL support fails because the ANGLE headers in ThirdParty/ANGLE/include/{EGL,GLES2} are used instead of the system versions. These headers reference x11 headers for example, which is not available on QNX and thus triggers compilation errors.

I'll propose a patch based on Simon Hausmann's previous patch shown here: http://paste.ubuntu.com/1175616/

I had to extend it though, since the code in ANGLE/src contains includes of "GLSLANG/ShaderLang.h" which will not be found with the patch above, since ANGLE/include is not in the INCLUDEPATH anymore. To fix this, I will add the GLSLANG folder directly to the include path and change the includes to something like

#if PLATFORM(Qt)
#include "ShaderLang.h"
#else
#include "GLSLANG/ShaderLang.h"
#endif

I'll add a patch.

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