Changeset 287075 in webkit
- Timestamp:
- Dec 15, 2021, 8:33:45 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
-
ChangeLog (modified) (1 diff)
-
Source/ThirdParty/ANGLE/CMakeLists.txt (modified) (1 diff)
-
Source/ThirdParty/ANGLE/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/ANGLE/GL.cmake (modified) (1 diff)
-
Source/ThirdParty/ANGLE/PlatformGTK.cmake (modified) (2 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp (modified) (1 diff)
-
Source/cmake/FindGBM.cmake (added)
-
Source/cmake/FindLibDRM.cmake (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r286910 r287075 1 2021-12-15 Chris Lord <clord@igalia.com> 2 3 [GTK] Use libgbm and the ANGLE gbm backend to fix initialisation 4 https://bugs.webkit.org/show_bug.cgi?id=234293 5 6 Reviewed by Don Olmstead. 7 8 Add cmake files to find gbm and libdrm. 9 10 * Source/cmake/FindGBM.cmake: Added. 11 * Source/cmake/FindLibDRM.cmake: Added. 12 1 13 2021-12-11 Aakash Jain <aakash_jain@apple.com> 2 14 -
trunk/Source/ThirdParty/ANGLE/CMakeLists.txt
r286659 r287075 10 10 elseif (UNIX) 11 11 set(is_linux TRUE) 12 if (ENABLE_X11_TARGET) 13 set(angle_use_x11 TRUE) 14 endif () 12 set(ozone_platform_gbm TRUE) 15 13 endif () 16 14 -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r287068 r287075 1 2021-12-15 Chris Lord <clord@igalia.com> 2 3 [GTK] Use libgbm and the ANGLE gbm backend to fix initialisation 4 https://bugs.webkit.org/show_bug.cgi?id=234293 5 6 Reviewed by Don Olmstead. 7 8 Use GBM backend for GTK platform. 9 10 * CMakeLists.txt: 11 * GL.cmake: 12 * PlatformGTK.cmake: 13 1 14 2021-12-15 Kyle Piddington <kpiddington@apple.com> 2 15 -
trunk/Source/ThirdParty/ANGLE/GL.cmake
r287068 r287075 164 164 "src/libANGLE/renderer/gl/egl/gbm/SurfaceGbm.h" 165 165 ) 166 167 pkg_config("src/libANGLE/renderer/gl/libdrm")168 set(packages "src/libANGLE/renderer/gl/libdrm" )169 166 endif() 170 167 -
trunk/Source/ThirdParty/ANGLE/PlatformGTK.cmake
r286978 r287075 23 23 list(APPEND ANGLE_DEFINITIONS 24 24 ANGLE_ENABLE_OPENGL 25 ANGLE_USE_GBM 26 USE_SYSTEM_EGL 27 ) 28 29 find_package(LibDRM REQUIRED) 30 find_package(GBM REQUIRED) 31 32 list(APPEND ANGLE_PRIVATE_INCLUDE_DIRECTORIES 33 ${LIBDRM_INCLUDE_DIR} 34 {GBM_INCLUDE_DIR} 25 35 ) 26 36 27 37 list(APPEND ANGLEGLESv2_LIBRARIES 28 38 ${CMAKE_DL_LIBS} 39 ${LIBDRM_LIBRARIES} 40 ${GBM_LIBRARIES} 29 41 Threads::Threads 30 42 ) … … 35 47 list(APPEND ANGLEGLESv2_LIBRARIES OpenGL::GLES) 36 48 endif () 37 38 # NOTE: When both Wayland and X11 are enabled, ANGLE_USE_X11 will be39 # defined and the X11 type definitions will be used for code involving40 # both. That works because types for both Wayland and X11 have the same41 # sizes and the code in WebKit casts the values to the proper types as42 # needed.43 set(GTK_ANGLE_DEFINITIONS)44 45 if (ENABLE_X11_TARGET)46 list(APPEND ANGLE_SOURCES ${libangle_gl_glx_sources})47 list(APPEND ANGLEGLESv2_LIBRARIES X11)48 list(APPEND GTK_ANGLE_DEFINITIONS ANGLE_USE_X11)49 endif ()50 51 # Allow building ANGLE on platforms which may not provide X11 headers.52 if (NOT GTK_ANGLE_DEFINITIONS)53 list(APPEND GTK_ANGLE_DEFINITIONS USE_SYSTEM_EGL)54 endif ()55 56 list(APPEND ANGLE_DEFINITIONS ${GTK_ANGLE_DEFINITIONS})57 49 endif () -
trunk/Source/WebCore/ChangeLog
r287071 r287075 1 2021-12-15 Chris Lord <clord@igalia.com> 2 3 [GTK] Use libgbm and the ANGLE gbm backend to fix initialisation 4 https://bugs.webkit.org/show_bug.cgi?id=234293 5 6 Reviewed by Don Olmstead. 7 8 Make ANGLE context non-TEXTURE_2D drawingBufferTextureTarget Cocoa-specific. 9 10 * platform/graphics/angle/GraphicsContextGLANGLE.cpp: 11 (WebCore::GraphicsContextGLANGLE::drawingBufferTextureTarget): 12 1 13 2021-12-15 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
r286603 r287075 74 74 GCGLenum GraphicsContextGLANGLE::drawingBufferTextureTarget() 75 75 { 76 #if PLATFORM(WIN)76 #if !PLATFORM(COCOA) 77 77 m_drawingBufferTextureTarget = EGL_TEXTURE_2D; 78 78 #else
Note:
See TracChangeset
for help on using the changeset viewer.