Changeset 276528 in webkit
- Timestamp:
- Apr 23, 2021, 4:21:20 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/GLContext.cpp (modified) (1 diff)
-
platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r276521 r276528 1 2021-04-23 Don Olmstead <don.olmstead@sony.com> 2 3 Add additional guards around USE_ANGLE 4 https://bugs.webkit.org/show_bug.cgi?id=225001 5 6 Reviewed by Fujii Hironori. 7 8 When USE(ANGLE) initializeOpenGLShims isn't used or available. 9 10 When USE(ANGLE) the ANGLE shader compiler isn't needed. 11 12 * platform/graphics/GLContext.cpp: 13 (WebCore::initializeOpenGLShimsIfNeeded): 14 * platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp: 15 1 16 2021-04-23 Cathie Chen <cathiechen@igalia.com> 2 17 -
trunk/Source/WebCore/platform/graphics/GLContext.cpp
r270477 r276528 58 58 static bool initializeOpenGLShimsIfNeeded() 59 59 { 60 #if USE(OPENGL_ES) || USE(LIBEPOXY) 60 #if USE(OPENGL_ES) || USE(LIBEPOXY) || USE(ANGLE) 61 61 return true; 62 62 #else -
trunk/Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp
r275463 r276528 35 35 #include "GraphicsContextGLOpenGLManager.h" 36 36 #include "TextureMapperGCGLPlatformLayer.h" 37 #include <ANGLE/ShaderLang.h>38 37 #include <wtf/Deque.h> 39 38 #include <wtf/NeverDestroyed.h> … … 49 48 #if USE(ANGLE) 50 49 #include "ExtensionsGLANGLE.h" 51 #elif USE(OPENGL_ES) 50 #else 51 #include <ANGLE/ShaderLang.h> 52 #if USE(OPENGL_ES) 52 53 #include "ExtensionsGLOpenGLES.h" 53 54 #else 54 55 #include "ExtensionsGLOpenGL.h" 56 #endif 55 57 #endif 56 58
Note:
See TracChangeset
for help on using the changeset viewer.