Changeset 270899 in webkit
- Timestamp:
- Dec 16, 2020 12:04:41 PM (23 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 14 edited
-
ChangeLog (modified) (1 diff)
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/wincairo/TestExpectations (modified) (2 diffs)
-
Source/ThirdParty/ANGLE/CMakeLists.txt (modified) (1 diff)
-
Source/ThirdParty/ANGLE/ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/PlatformWin.cmake (modified) (2 diffs)
-
Source/WebCore/platform/TextureMapper.cmake (modified) (2 diffs)
-
Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.h (modified) (1 diff)
-
Source/WebCore/platform/graphics/texmap/ANGLEContext.cpp (added)
-
Source/WebCore/platform/graphics/texmap/ANGLEContext.h (added)
-
Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp (modified) (6 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.cpp (modified) (4 diffs)
-
Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.h (modified) (2 diffs)
-
Source/cmake/OptionsWinCairo.cmake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r270751 r270899 1 2020-12-16 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [WinCairo] Enable USE_ANGLE 4 https://bugs.webkit.org/show_bug.cgi?id=219421 5 6 Reviewed by Don Olmstead. 7 8 * Source/cmake/OptionsWinCairo.cmake: 9 1 10 2020-12-13 Don Olmstead <don.olmstead@sony.com> 2 11 -
trunk/LayoutTests/ChangeLog
r270896 r270899 1 2020-12-16 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [WinCairo] Enable USE_ANGLE 4 https://bugs.webkit.org/show_bug.cgi?id=219421 5 6 Reviewed by Don Olmstead. 7 8 * platform/wincairo/TestExpectations: 9 1 10 2020-12-16 Chris Fleizach <cfleizach@apple.com> 2 11 -
trunk/LayoutTests/platform/wincairo/TestExpectations
r270755 r270899 2132 2132 storage/indexeddb/storage-limit-with-indices.html [ Failure ] 2133 2133 webgl/1.0.3/conformance/canvas/drawingbuffer-test.html [ Skip ] # Timeout 2134 webgl/1.0.3/conformance/context/context-lost-restored.html [ Failure ]2135 2134 webgl/1.0.3/conformance/context/premultiplyalpha-test.html [ Failure ] 2135 webgl/1.0.3/conformance/extensions/oes-element-index-uint.html [ Failure ] 2136 2136 webgl/1.0.3/conformance/extensions/oes-texture-float-with-video.html [ Skip ] # Timeout 2137 webgl/1.0.3/conformance/extensions/oes-texture-float.html [ Failure ]2138 2137 webgl/1.0.3/conformance/extensions/oes-texture-half-float-with-video.html [ Skip ] # Timeout 2139 webgl/1.0.3/conformance/extensions/oes-texture-half-float.html [ Failure ] 2140 webgl/1.0.3/conformance/extensions/webgl-compressed-texture-size-limit.html [ Failure ] 2138 webgl/1.0.3/conformance/glsl/bugs/array-of-struct-with-int-first-position.html [ Skip ] # This test makes DumpRenderTree process unable to exit 2141 2139 webgl/1.0.3/conformance/glsl/bugs/long-expressions-should-not-crash.html [ Skip ] # Timeout 2142 webgl/1.0.3/conformance/m ore/functions/copyTexImage2DBadArgs.html [ Skip ] # Timeout2140 webgl/1.0.3/conformance/misc/uninitialized-test.html [ Failure ] 2143 2141 webgl/1.0.3/conformance/more/functions/readPixelsBadArgs.html [ Failure ] 2144 2142 webgl/1.0.3/conformance/more/functions/texImage2DHTML.html [ Failure ] 2145 2143 webgl/1.0.3/conformance/more/functions/texSubImage2DHTML.html [ Failure ] 2146 webgl/1.0.3/conformance/more/functions/texSubImage2DHTMLBadArgs.html [ Skip ] # Crash 2147 webgl/1.0.3/conformance/renderbuffers/feedback-loop.html [ Failure ] 2144 webgl/1.0.3/conformance/programs/program-test.html [ Failure ] 2148 2145 webgl/1.0.3/conformance/renderbuffers/framebuffer-object-attachment.html [ Failure ] 2149 webgl/1.0.3/conformance/rendering/point-no-attributes.html [ Failure ] 2146 webgl/1.0.3/conformance/renderbuffers/framebuffer-state-restoration.html [ Failure ] 2147 webgl/1.0.3/conformance/renderbuffers/renderbuffer-initialization.html [ Failure ] 2150 2148 webgl/1.0.3/conformance/textures/default-texture.html [ Failure ] 2151 2149 webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html [ Skip ] # Timeout … … 2153 2151 webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html [ Skip ] # Timeout 2154 2152 webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video.html [ Skip ] # Timeout 2155 webgl/1.0.3/conformance/textures/tex -sub-image-2d-bad-args.html [ Skip ] # Crash2156 webgl/1.0.3/conformance/textures/texture- copying-feedback-loops.html [ Failure ]2153 webgl/1.0.3/conformance/textures/texture-attachment-formats.html [ Failure ] 2154 webgl/1.0.3/conformance/textures/texture-mips.html [ Failure ] 2157 2155 webgl/1.0.3/conformance/textures/texture-upload-size.html [ Skip ] # Timeout 2158 webgl/conformance/extensions/ext-texture-compression-rgtc.html [ Failure ]2159 webgl/conformance/extensions/s3tc-and-rgtc.html [ Failure ]2160 2156 webgl/webgl-vertex-array-object-defined.html [ Failure ] -
trunk/Source/ThirdParty/ANGLE/CMakeLists.txt
r270351 r270899 171 171 set(libglesv2_entry_points_headers 172 172 src/libGLESv2/entry_points_egl.h 173 src/libGLESv2/entry_points_egl_ext.h 173 174 src/libGLESv2/entry_points_gles_2_0_autogen.h 174 175 src/libGLESv2/entry_points_gles_3_0_autogen.h -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r270779 r270899 1 2020-12-16 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [WinCairo] Enable USE_ANGLE 4 https://bugs.webkit.org/show_bug.cgi?id=219421 5 6 Reviewed by Don Olmstead. 7 8 * CMakeLists.txt: Added entry_points_egl_ext.h to libglesv2_entry_points_headers. 9 1 10 2020-12-14 Alex Christensen <achristensen@webkit.org> 2 11 -
trunk/Source/WebCore/ChangeLog
r270896 r270899 1 2020-12-16 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [WinCairo] Enable USE_ANGLE 4 https://bugs.webkit.org/show_bug.cgi?id=219421 5 6 Reviewed by Don Olmstead. 7 8 Switch GraphicsContextGLOpenGL implementation from old one 9 (GraphicsContextGLOpenGLES.cpp) to new one 10 (GraphicsContextGLANGLE.cpp), which is using ANGLE's internal API 11 and verification code, for WinCairo port. I will enable WebGL2 for 12 WinCairo in a follow-up patch. 13 14 GL_TEXTURE_RECTANGLE_ANGLE is not available for ANGLE D3D backend. 15 Use GL_TEXTURE_2D instead. 16 17 Add a new class WebCore::ANGLEContext by copying 18 Nicosia::GCGLANGLELayer::ANGLEContext. It'd be better to merge 19 them after GTK and WPE will also switch. 20 21 * PlatformWin.cmake: 22 * platform/TextureMapper.cmake: 23 * platform/graphics/angle/GraphicsContextGLANGLE.cpp: 24 (WebCore::GraphicsContextGLOpenGL::reshapeFBOs): 25 (WebCore::GraphicsContextGLOpenGL::compileShader): 26 * platform/graphics/opengl/GraphicsContextGLOpenGL.h: 27 * platform/graphics/texmap/ANGLEContext.cpp: Added. 28 (WebCore::ANGLEContext::errorString): 29 (WebCore::ANGLEContext::lastErrorString): 30 (WebCore::ANGLEContext::createContext): 31 (WebCore::ANGLEContext::ANGLEContext): 32 (WebCore::ANGLEContext::~ANGLEContext): 33 (WebCore::ANGLEContext::makeContextCurrent): 34 (WebCore::ANGLEContext::platformContext const): 35 * platform/graphics/texmap/ANGLEContext.h: Added. 36 * platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp: 37 (WebCore::GraphicsContextGLOpenGL::GraphicsContextGLOpenGL): 38 (WebCore::GraphicsContextGLOpenGL::isGLES2Compliant const): 39 (WebCore::GraphicsContextGLOpenGL::drawingBufferTextureTarget): 40 * platform/graphics/texmap/TextureMapperGCGLPlatformLayer.cpp: 41 (WebCore::TextureMapperGCGLPlatformLayer::TextureMapperGCGLPlatformLayer): 42 (WebCore::TextureMapperGCGLPlatformLayer::paintToTextureMapper): 43 * platform/graphics/texmap/TextureMapperGCGLPlatformLayer.h: 44 1 45 2020-12-16 Chris Fleizach <cfleizach@apple.com> 2 46 -
trunk/Source/WebCore/PlatformWin.cmake
r266672 r270899 7 7 "${WEBCORE_DIR}/page/win" 8 8 "${WEBCORE_DIR}/platform/graphics/egl" 9 "${WEBCORE_DIR}/platform/graphics/angle" 9 10 "${WEBCORE_DIR}/platform/graphics/opengl" 10 11 "${WEBCORE_DIR}/platform/graphics/opentype" … … 38 39 platform/audio/PlatformMediaSessionManager.cpp 39 40 41 platform/graphics/angle/ExtensionsGLANGLE.cpp 42 platform/graphics/angle/GraphicsContextGLANGLE.cpp 43 platform/graphics/angle/TemporaryANGLESetting.cpp 44 40 45 platform/graphics/egl/GLContextEGL.cpp 41 46 42 platform/graphics/opengl/ExtensionsGLOpenGLCommon.cpp43 platform/graphics/opengl/ExtensionsGLOpenGLES.cpp44 platform/graphics/opengl/GraphicsContextGLOpenGLCommon.cpp45 platform/graphics/opengl/GraphicsContextGLOpenGLES.cpp46 platform/graphics/opengl/GraphicsContextGLOpenGLPrivate.cpp47 47 platform/graphics/opengl/TemporaryOpenGLSetting.cpp 48 48 -
trunk/Source/WebCore/platform/TextureMapper.cmake
r267735 r270899 6 6 list(APPEND WebCore_SOURCES 7 7 platform/graphics/nicosia/NicosiaAnimation.cpp 8 9 platform/graphics/texmap/ANGLEContext.cpp 8 10 platform/graphics/texmap/BitmapTexture.cpp 9 11 platform/graphics/texmap/BitmapTexturePool.cpp … … 19 21 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 20 22 platform/graphics/nicosia/NicosiaAnimation.h 23 24 platform/graphics/texmap/ANGLEContext.h 21 25 platform/graphics/texmap/BitmapTexture.h 22 26 platform/graphics/texmap/ClipStack.h -
trunk/Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
r270566 r270899 224 224 } else 225 225 gl::FramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, drawingBufferTextureTarget(), m_texture, 0); 226 #elif PLATFORM(GTK) 227 gl::BindTexture(GL_TEXTURE_RECTANGLE_ANGLE, m_texture); 228 gl::TexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, m_internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 229 gl::FramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_RECTANGLE_ANGLE, m_texture, 0); 226 #else 227 GLenum textureTarget = drawingBufferTextureTarget(); 228 GLuint internalColorFormat = textureTarget == GL_TEXTURE_2D ? colorFormat : m_internalColorFormat; 229 gl::BindTexture(textureTarget, m_texture); 230 gl::TexImage2D(textureTarget, 0, internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 231 gl::FramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, textureTarget, m_texture, 0); 232 #if USE(COORDINATED_GRAPHICS) 230 233 if (m_compositorTexture) { 231 gl::BindTexture(GL_TEXTURE_RECTANGLE_ANGLE, m_compositorTexture); 232 gl::TexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, m_internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 233 gl::BindTexture(GL_TEXTURE_RECTANGLE_ANGLE, 0); 234 gl::BindTexture(GL_TEXTURE_RECTANGLE_ANGLE, m_intermediateTexture); 235 gl::TexImage2D(GL_TEXTURE_RECTANGLE_ANGLE, 0, m_internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 236 gl::BindTexture(GL_TEXTURE_RECTANGLE_ANGLE, 0); 237 } 238 #else 239 #error FIXME: Port to non-Cocoa platforms. 234 gl::BindTexture(textureTarget, m_compositorTexture); 235 gl::TexImage2D(textureTarget, 0, m_internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 236 gl::BindTexture(textureTarget, 0); 237 gl::BindTexture(textureTarget, m_intermediateTexture); 238 gl::TexImage2D(textureTarget, 0, m_internalColorFormat, width, height, 0, colorFormat, GL_UNSIGNED_BYTE, 0); 239 gl::BindTexture(textureTarget, 0); 240 } 241 #endif 240 242 #endif // PLATFORM(COCOA) 241 243 … … 1071 1073 return; 1072 1074 1075 #if !PLATFORM(WIN) 1073 1076 // We need the ANGLE_texture_rectangle extension to support IOSurface 1074 1077 // backbuffers, but we don't want it exposed to WebGL user shaders. 1075 1078 // Temporarily disable it during shader compilation. 1076 1079 gl::Disable(GL_TEXTURE_RECTANGLE_ANGLE); 1080 #endif 1077 1081 gl::CompileShader(shader); 1082 #if !PLATFORM(WIN) 1078 1083 gl::Enable(GL_TEXTURE_RECTANGLE_ANGLE); 1084 #endif 1079 1085 } 1080 1086 -
trunk/Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.h
r270587 r270899 103 103 PlatformGraphicsContextGLDisplay platformDisplay() const { return m_displayObj; } 104 104 PlatformGraphicsContextGLConfig platformConfig() const { return m_configObj; } 105 static GCGLenum drawingBufferTextureTarget();106 105 static GCGLenum drawingBufferTextureTargetQuery(); 107 106 static GCGLint EGLDrawingBufferTextureTarget(); 108 107 #else 109 108 PlatformLayer* platformLayer() const final; 109 #endif 110 #if USE(ANGLE) 111 static GCGLenum drawingBufferTextureTarget(); 110 112 #endif 111 113 -
trunk/Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp
r270566 r270899 3 3 * Copyright (C) 2010 Google Inc. All rights reserved. 4 4 * Copyright (C) 2011 Igalia S.L. 5 * Copyright (C) 2020 Sony Interactive Entertainment Inc. 5 6 * 6 7 * Redistribution and use in source and binary forms, with or without … … 114 115 { 115 116 ASSERT_UNUSED(sharedContext, !sharedContext); 117 m_isForWebGL2 = attributes.isWebGL2; 116 118 #if USE(NICOSIA) 117 119 m_nicosiaLayer = WTF::makeUnique<Nicosia::GCGLANGLELayer>(*this, destination); … … 126 128 127 129 if (destination == Destination::Offscreen) { 130 GLenum textureTarget = drawingBufferTextureTarget(); 128 131 // Create a texture to render into. 129 132 gl::GenTextures(1, &m_texture); 130 gl::BindTexture( GL_TEXTURE_RECTANGLE_ANGLE, m_texture);131 gl::TexParameterf( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_MAG_FILTER, GL_LINEAR);132 gl::TexParameterf( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_MIN_FILTER, GL_LINEAR);133 gl::TexParameteri( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);134 gl::TexParameteri( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);135 gl::BindTexture( GL_TEXTURE_RECTANGLE_ANGLE, 0);133 gl::BindTexture(textureTarget, m_texture); 134 gl::TexParameterf(textureTarget, GL_TEXTURE_MAG_FILTER, GL_LINEAR); 135 gl::TexParameterf(textureTarget, GL_TEXTURE_MIN_FILTER, GL_LINEAR); 136 gl::TexParameteri(textureTarget, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); 137 gl::TexParameteri(textureTarget, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); 138 gl::BindTexture(textureTarget, 0); 136 139 137 140 // Create an FBO. … … 141 144 #if USE(COORDINATED_GRAPHICS) 142 145 gl::GenTextures(1, &m_compositorTexture); 143 gl::BindTexture( GL_TEXTURE_RECTANGLE_ANGLE, m_compositorTexture);144 gl::TexParameterf( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_MAG_FILTER, GL_LINEAR);145 gl::TexParameterf( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_MIN_FILTER, GL_LINEAR);146 gl::TexParameteri( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);147 gl::TexParameteri( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);146 gl::BindTexture(texureType, m_compositorTexture); 147 gl::TexParameterf(texureType, GL_TEXTURE_MAG_FILTER, GL_LINEAR); 148 gl::TexParameterf(texureType, GL_TEXTURE_MIN_FILTER, GL_LINEAR); 149 gl::TexParameteri(texureType, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); 150 gl::TexParameteri(texureType, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); 148 151 149 152 gl::GenTextures(1, &m_intermediateTexture); 150 gl::BindTexture( GL_TEXTURE_RECTANGLE_ANGLE, m_intermediateTexture);151 gl::TexParameterf( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_MAG_FILTER, GL_LINEAR);152 gl::TexParameterf( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_MIN_FILTER, GL_LINEAR);153 gl::TexParameteri( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);154 gl::TexParameteri( GL_TEXTURE_RECTANGLE_ANGLE, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);155 156 gl::BindTexture( GL_TEXTURE_RECTANGLE_ANGLE, 0);153 gl::BindTexture(texureType, m_intermediateTexture); 154 gl::TexParameterf(texureType, GL_TEXTURE_MAG_FILTER, GL_LINEAR); 155 gl::TexParameterf(texureType, GL_TEXTURE_MIN_FILTER, GL_LINEAR); 156 gl::TexParameteri(texureType, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); 157 gl::TexParameteri(texureType, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); 158 159 gl::BindTexture(texureType, 0); 157 160 #endif 158 161 … … 413 416 bool GraphicsContextGLOpenGL::isGLES2Compliant() const 414 417 { 415 #if USE(OPENGL_ES) 418 #if USE(ANGLE) 419 return m_isForWebGL2; 420 #elif USE(OPENGL_ES) 416 421 return true; 417 422 #else … … 428 433 #endif 429 434 } 435 436 #if USE(ANGLE) 437 GCGLenum GraphicsContextGLOpenGL::drawingBufferTextureTarget() 438 { 439 #if PLATFORM(WIN) 440 return GL_TEXTURE_2D; 441 #else 442 return GL_TEXTURE_RECTANGLE_ANGLE; 443 #endif 444 } 445 #endif 430 446 431 447 #if PLATFORM(GTK) && !USE(ANGLE) -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.cpp
r270477 r270899 1 1 /* 2 2 * Copyright (C) 2011, 2012, 2017 Igalia S.L. 3 * Copyright (C) 2020 Sony Interactive Entertainment Inc. 3 4 * 4 5 * This library is free software; you can redistribute it and/or … … 23 24 #if ENABLE(WEBGL) && USE(TEXTURE_MAPPER) && !USE(NICOSIA) 24 25 26 #include "ANGLEContext.h" 27 #include "ANGLEHeaders.h" 25 28 #include "BitmapTextureGL.h" 26 29 #include "GLContext.h" … … 35 38 { 36 39 switch (destination) { 37 case GraphicsContextGLOpenGL::Destination::Offscreen: 38 m_glContext = GLContext::createOffscreenContext(&PlatformDisplay::sharedDisplayForCompositing()); 40 case GraphicsContextGLOpenGL::Destination::Offscreen: { 41 auto sharingContext = PlatformDisplay::sharedDisplayForCompositing().sharingGLContext()->platformContext(); 42 m_glContext = ANGLEContext::createContext(sharingContext, context.contextAttributes().isWebGL2); 39 43 break; 44 } 40 45 case GraphicsContextGLOpenGL::Destination::DirectlyToHostWindow: 41 46 ASSERT_NOT_REACHED(); … … 102 107 if (attrs.antialias && m_context.m_state.boundDrawFBO == m_context.m_multisampleFBO) { 103 108 GLContext* previousActiveContext = GLContext::current(); 104 if (previousActiveContext != m_glContext.get()) 105 m_context.makeContextCurrent(); 109 m_context.makeContextCurrent(); 106 110 107 111 m_context.resolveMultisamplingIfNecessary(); 108 ::glBindFramebuffer(GraphicsContextGLOpenGL::FRAMEBUFFER, m_context.m_state.boundDrawFBO);112 gl::BindFramebuffer(GL_FRAMEBUFFER, m_context.m_state.boundDrawFBO); 109 113 110 if (previousActiveContext && previousActiveContext != m_glContext.get())114 if (previousActiveContext) 111 115 previousActiveContext->makeContextCurrent(); 112 116 } -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGCGLPlatformLayer.h
r270477 r270899 29 29 namespace WebCore { 30 30 31 class GLContext;31 class ANGLEContext; 32 32 class TextureMapperPlatformLayerProxy; 33 33 … … 50 50 private: 51 51 GraphicsContextGLOpenGL& m_context; 52 std::unique_ptr< GLContext> m_glContext;52 std::unique_ptr<ANGLEContext> m_glContext; 53 53 54 54 #if USE(COORDINATED_GRAPHICS) -
trunk/Source/cmake/OptionsWinCairo.cmake
r270477 r270899 46 46 47 47 set(USE_ANGLE_EGL ON) 48 set(USE_ANGLE_WEBGL ON) 48 49 50 SET_AND_EXPOSE_TO_BUILD(USE_ANGLE ON) 49 51 SET_AND_EXPOSE_TO_BUILD(USE_CAIRO ON) 50 52 SET_AND_EXPOSE_TO_BUILD(USE_CF ON)
Note: See TracChangeset
for help on using the changeset viewer.