Changeset 271220 in webkit
- Timestamp:
- Jan 6, 2021, 4:49:55 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp (modified) (1 diff)
-
Source/cmake/OptionsGTK.cmake (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r271170 r271220 1 2021-01-06 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [GTK][CMake] Add a build switch USE_OPENGL_OR_ES to be able to disable OpenGL and ES 4 https://bugs.webkit.org/show_bug.cgi?id=220183 5 6 Reviewed by Kenneth Russell. 7 8 r270477 removed ENABLE_GRAPHICS_CONTEXT_GL macro and build switch, 9 but GTK port still needs the build switch. Revert r270477 10 partially to restore the build switch and rename it to 11 USE_OPENGL_OR_ES. 12 13 * Source/cmake/OptionsGTK.cmake: 14 1 15 2021-01-05 Fujii Hironori <Hironori.Fujii@sony.com> 2 16 -
trunk/Source/WebCore/ChangeLog
r271219 r271220 1 2021-01-06 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [GTK][CMake] Add a build switch USE_OPENGL_OR_ES to be able to disable OpenGL and ES 4 https://bugs.webkit.org/show_bug.cgi?id=220183 5 6 Reviewed by Kenneth Russell. 7 8 * platform/graphics/x11/PlatformDisplayX11.cpp: Include <X11/Xutil.h> for XGetVisualInfo. 9 1 10 2021-01-06 Jer Noble <jer.noble@apple.com> 2 11 -
trunk/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
r260946 r271220 33 33 #include <X11/extensions/Xcomposite.h> 34 34 #if PLATFORM(GTK) 35 #include <X11/Xutil.h> 35 36 #include <X11/extensions/Xdamage.h> 36 37 #endif -
trunk/Source/cmake/OptionsGTK.cmake
r270477 r271220 73 73 endif () 74 74 75 # Set the default value for ENABLE_GLES2 automatically. 76 # We are not enabling or disabling automatically a feature here, because 77 # the feature is by default always on. 78 # What we select here automatically is if we use OPENGL (ENABLE_GLES2=OFF) 79 # or OPENGLES2 (ENABLE_GLES2=ON) for building the feature. 75 # Set the default value for ENABLE_GLES2 and USE_OPENGL_OR_ES. 80 76 set(ENABLE_GLES2_DEFAULT OFF) 77 set(USE_OPENGL_OR_ES_DEFAULT OFF) 81 78 82 79 if (OPENGLES2_FOUND AND (NOT OPENGL_FOUND OR WTF_CPU_ARM OR WTF_CPU_ARM64)) 83 80 set(ENABLE_GLES2_DEFAULT ON) 81 endif () 82 83 if (OPENGL_FOUND OR OPENGLES2_FOUND) 84 set(USE_OPENGL_OR_ES_DEFAULT ON) 84 85 endif () 85 86 … … 96 97 WEBKIT_OPTION_DEFINE(USE_LIBHYPHEN "Whether to enable the default automatic hyphenation implementation." PUBLIC ON) 97 98 WEBKIT_OPTION_DEFINE(USE_LIBSECRET "Whether to enable the persistent credential storage using libsecret." PUBLIC ON) 99 WEBKIT_OPTION_DEFINE(USE_OPENGL_OR_ES "Whether to use OpenGL or ES." PUBLIC ${USE_OPENGL_OR_ES_DEFAULT}) 98 100 WEBKIT_OPTION_DEFINE(USE_OPENJPEG "Whether to enable support for JPEG2000 images." PUBLIC ON) 99 101 WEBKIT_OPTION_DEFINE(USE_WOFF2 "Whether to enable support for WOFF2 Web Fonts." PUBLIC ON) … … 105 107 WEBKIT_OPTION_DEFINE(USE_ANGLE_WEBGL "Whether to use ANGLE as WebGL backend." PRIVATE OFF) 106 108 109 WEBKIT_OPTION_DEPEND(ENABLE_3D_TRANSFORMS USE_OPENGL_OR_ES) 110 WEBKIT_OPTION_DEPEND(ENABLE_ASYNC_SCROLLING USE_OPENGL_OR_ES) 111 WEBKIT_OPTION_DEPEND(ENABLE_GLES2 USE_OPENGL_OR_ES) 112 WEBKIT_OPTION_DEPEND(ENABLE_WEBGL USE_OPENGL_OR_ES) 107 113 WEBKIT_OPTION_DEPEND(USE_ANGLE_WEBGL ENABLE_WEBGL) 114 WEBKIT_OPTION_DEPEND(USE_GSTREAMER_GL USE_OPENGL_OR_ES) 115 WEBKIT_OPTION_DEPEND(USE_WPE_RENDERER USE_OPENGL_OR_ES) 108 116 WEBKIT_OPTION_DEPEND(USE_WPE_RENDERER ENABLE_WAYLAND_TARGET) 109 117 … … 267 275 SET_AND_EXPOSE_TO_BUILD(USE_TEXTURE_MAPPER TRUE) 268 276 269 if ( OPENGL_FOUND OR ENABLE_GLES2)277 if (USE_OPENGL_OR_ES) 270 278 # USE_OPENGL is the opposite of ENABLE_GLES2. 271 279 if (ENABLE_GLES2)
Note:
See TracChangeset
for help on using the changeset viewer.