Changeset 287983 in webkit
- Timestamp:
- Jan 13, 2022, 11:03:25 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp (modified) (2 diffs)
-
Source/cmake/OptionsGTK.cmake (modified) (1 diff)
-
Source/cmake/OptionsWPE.cmake (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r287923 r287983 1 2022-01-13 Alejandro G. Castro <alex@igalia.com> 2 3 [GTK][WPE][WebGL2] compilation fixes 4 https://bugs.webkit.org/show_bug.cgi?id=225563 5 6 Reviewed by Chris Lord. 7 8 Fix the compilation and add the ANGLE dependency, the architecture 9 is still not the final one but it is handy to use WebGL2 demos for 10 testing already. 11 12 * Source/cmake/OptionsGTK.cmake: Added dependency with ANGLE. 13 * Source/cmake/OptionsWPE.cmake: Added dependency with 14 ANGLE. Remove the default ENABLE_WEBGL2 because it is the same 15 default value in WebKitFeatures.cmake. 16 1 17 2022-01-12 Chris Lord <clord@igalia.com> 2 18 -
trunk/Source/WebCore/ChangeLog
r287982 r287983 1 2022-01-13 Alejandro G. Castro <alex@igalia.com> 2 3 [GTK][WPE][WebGL2] compilation fixes 4 https://bugs.webkit.org/show_bug.cgi?id=225563 5 6 Reviewed by Chris Lord. 7 8 Fix the compilation and add the ANGLE dependency, the architecture 9 is still not the final one but it is handy to use WebGL2 demos for 10 testing already. 11 12 We are still not enabling the tests until we have the final 13 architecture. 14 15 * html/canvas/WebGLRenderingContextBase.cpp: 16 (WebCore::WebGLRenderingContextBase::drawElements): Leftover code, 17 there is no port using OpenGL directly to support WebGL2 anymore. 18 (WebCore::WebGLRenderingContextBase::drawElementsInstanced): 19 Ditto. 20 1 21 2022-01-13 Said Abou-Hallawa <said@apple.com> 2 22 -
trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
r286943 r287983 2817 2817 if (!isGLES2NPOTStrict()) 2818 2818 usesFallbackTexture = checkTextureCompleteness("drawElements", true); 2819 #endif2820 2821 #if USE(OPENGL) && ENABLE(WEBGL2)2822 if (isWebGL2())2823 m_context->primitiveRestartIndex(getRestartIndex(type));2824 2819 #endif 2825 2820 … … 8031 8026 #endif 8032 8027 8033 #if USE(OPENGL) && ENABLE(WEBGL2)8034 if (isWebGL2())8035 static_cast<GraphicsContextGLOpenGL*>(m_context.get())->primitiveRestartIndex(getRestartIndex(type));8036 #endif8037 8038 8028 m_context->drawElementsInstanced(mode, count, type, static_cast<GCGLintptr>(offset), primcount); 8039 8029 -
trunk/Source/cmake/OptionsGTK.cmake
r286204 r287983 84 84 WEBKIT_OPTION_DEPEND(ENABLE_WEBGL USE_OPENGL_OR_ES) 85 85 WEBKIT_OPTION_DEPEND(USE_ANGLE_WEBGL ENABLE_WEBGL) 86 WEBKIT_OPTION_DEPEND(ENABLE_WEBGL2 USE_ANGLE_WEBGL) 86 87 WEBKIT_OPTION_DEPEND(USE_GSTREAMER_GL USE_OPENGL_OR_ES) 87 88 WEBKIT_OPTION_DEPEND(USE_WPE_RENDERER USE_OPENGL_OR_ES) -
trunk/Source/cmake/OptionsWPE.cmake
r287923 r287983 67 67 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHAREABLE_RESOURCE PRIVATE ON) 68 68 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_EVENTS PRIVATE ON) 69 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL2 PRIVATE OFF)70 69 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_RTC PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) 71 70 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBXR PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) … … 89 88 WEBKIT_OPTION_DEFINE(USE_ANGLE_WEBGL "Whether to use ANGLE as WebGL backend." PRIVATE OFF) 90 89 WEBKIT_OPTION_DEPEND(USE_ANGLE_WEBGL ENABLE_WEBGL) 90 WEBKIT_OPTION_DEPEND(ENABLE_WEBGL2 USE_ANGLE_WEBGL) 91 91 92 92 if (CMAKE_SYSTEM_NAME MATCHES "Linux")
Note:
See TracChangeset
for help on using the changeset viewer.