[Webkit-unassigned] [Bug 145156] New: REGRESSION(r181571): Build broken when USE(OPENGL_ES_2) is defined.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 18 17:56:32 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=145156
Bug ID: 145156
Summary: REGRESSION(r181571): Build broken when
USE(OPENGL_ES_2) is defined.
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: clopez at igalia.com
CC: cgarcia at igalia.com
At least on platform GTK, r181571 <http://trac.webkit.org/r181571> broke the build when defining -DENABLE_GLES2=ON.
$CC [...] -o Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp.o -c ../../Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
../../Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:1365:5: error: use of undeclared identifier 'glGenVertexArrays'
glGenVertexArrays(1, &array);
^
../../Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:1379:5: error: use of undeclared identifier 'glDeleteVertexArrays'
glDeleteVertexArrays(1, &array);
^
../../Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:1392:12: error: use of undeclared identifier 'glIsVertexArray'; did you mean 'isVertexArray'?
return glIsVertexArray(array);
^~~~~~~~~~~~~~~
isVertexArray
../../Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:1385:32: note: 'isVertexArray' declared here
GC3Dboolean GraphicsContext3D::isVertexArray(Platform3DObject array)
^
../../Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:1403:5: error: use of undeclared identifier 'glBindVertexArray'; did you mean 'bindVertexArray'?
glBindVertexArray(array);
^~~~~~~~~~~~~~~~~
bindVertexArray
../../Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:1399:25: note: 'bindVertexArray' declared here
void GraphicsContext3D::bindVertexArray(Platform3DObject array)
^
4 errors generated.
ninja: build stopped: subcommand failed.
The issue seems to be that Vertex Array Objects (glGenVertexArrays, etc) are in GLESv3 but not in GLESv2.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150519/d1b626cb/attachment.html>
More information about the webkit-unassigned
mailing list