[Webkit-unassigned] [Bug 147625] New: [GTK] Accelerated 2D Canvas enabled when cairo-gl is not available
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 4 03:54:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=147625
Bug ID: 147625
Summary: [GTK] Accelerated 2D Canvas enabled when cairo-gl is
not available
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mario at webkit.org
CC: cgarcia at igalia.com, clopez at igalia.com, gns at gnome.org,
mrobinson at webkit.org
When I tried to build WebKitGTK+ 2.9.5 from the source tarball today, ENABLE_ACCELERATED_2D_CANVAS gets always set to ON despite of cairo-gl not being available in the system, leading to a build error later on, due to the missing header:
../../Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:44:22: fatal error: cairo-gl.h: No such file or directory
I've checked this in a 32-bit Debian system, in my Fedora 22 64 bit system, both with the 2.9.5 tarball and the latest code from SVN trunk, and I can reproduce this problem reliably, either using the build-webkit script or cmake.
See the relevant excerpt for a cmake build:
$ cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release
-- Found BISON: /usr/bin/bison (found suitable version "2.5", minimum required is "2.3")
[...]
-- Found OPENGLES2: /usr/include
-- checking for module 'cairo-gl'
-- package 'cairo-gl' not found
-- checking for module 'cairo-glx'
-- package 'cairo-glx' not found
-- checking for module 'cairo-egl'
-- package 'cairo-egl' not found
-- Found CairoGL: CAIRO_GLX_INCLUDE_DIRS;CAIRO_EGL_INCLUDE_DIRS (Required is at least version "1.10.2")
-- checking for module 'gtk+-3.0'
[...]
-- Using platform-specific CMakeLists: /home/mario/work/WebKit/Source/WTF/wtf/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /home/mario/work/WebKit/Source/JavaScriptCore/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /home/mario/work/WebKit/Source/JavaScriptCore/shell/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /home/mario/work/WebKit/Source/WebCore/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /home/mario/work/WebKit/Source/WebKit2/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /home/mario/work/WebKit/Source/PlatformGTK.cmake
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.2")
-- Enabled features:
-- ENABLE_ACCELERATED_2D_CANVAS ............ ON
-- ENABLE_CREDENTIAL_STORAGE ON
[...]
Sounds like something is wrong with the CMake rules, because as far as I can tell this feature should only be enable if cairo-gl is actually available
--
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/20150804/aec58648/attachment.html>
More information about the webkit-unassigned
mailing list