Changeset 207619 in webkit
- Timestamp:
- Oct 20, 2016, 8:57:25 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/wayland/PlatformDisplayWayland.cpp (modified) (2 diffs)
-
platform/graphics/x11/PlatformDisplayX11.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r207617 r207619 1 2016-10-20 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK] Build fix after r207616 4 https://bugs.webkit.org/show_bug.cgi?id=163333 5 6 Reviewed by Carlos Garcia Campos. 7 8 EGL_PLATFORM_X11_KHR and EGL_PLATFORM_WAYLAND_KHR are not defined 9 on the EGL headers shipped by Mesa 10.3 (shipped by Debian 8) 10 11 * platform/graphics/wayland/PlatformDisplayWayland.cpp: 12 (WebCore::PlatformDisplayWayland::initialize): 13 * platform/graphics/x11/PlatformDisplayX11.cpp: 14 (WebCore::PlatformDisplayX11::initializeEGLDisplay): 15 1 16 2016-10-20 Fujii Hironori <Hironori.Fujii@sony.com> 2 17 -
trunk/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp
r207616 r207619 67 67 wl_display_roundtrip(m_display); 68 68 69 #if defined(EGL_KHR_platform_wayland) 69 70 const char* extensions = eglQueryString(nullptr, EGL_EXTENSIONS); 70 71 if (GLContext::isExtensionSupported(extensions, "EGL_KHR_platform_base")) { … … 75 76 m_eglDisplay = getPlatformDisplay(EGL_PLATFORM_WAYLAND_KHR, m_display, nullptr); 76 77 } else 78 #endif 77 79 m_eglDisplay = eglGetDisplay(m_display); 78 80 -
trunk/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
r207616 r207619 66 66 void PlatformDisplayX11::initializeEGLDisplay() 67 67 { 68 #if defined(EGL_KHR_platform_x11) 68 69 const char* extensions = eglQueryString(nullptr, EGL_EXTENSIONS); 69 70 if (GLContext::isExtensionSupported(extensions, "EGL_KHR_platform_base")) { … … 74 75 m_eglDisplay = getPlatformDisplay(EGL_PLATFORM_X11_KHR, m_display, nullptr); 75 76 } else 77 #endif 76 78 m_eglDisplay = eglGetDisplay(m_display); 77 79 78 80 PlatformDisplay::initializeEGLDisplay(); 79 81 } 80 #endif 82 #endif // USE(EGL) 81 83 82 84 bool PlatformDisplayX11::supportsXComposite() const
Note:
See TracChangeset
for help on using the changeset viewer.