[webkit-changes] [WebKit/WebKit] dad993: Implement EXT_disjoint_timer_query

Alexey Knyazev noreply at github.com
Thu Feb 16 08:25:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dad993a38b597377683cd4cb437018e444819506
      https://github.com/WebKit/WebKit/commit/dad993a38b597377683cd4cb437018e444819506
  Author: Alexey Knyazev <3479527+lexaknyazev at users.noreply.github.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/bindings/js/JSDOMConvertWebGL.cpp
    A Source/WebCore/html/canvas/EXTDisjointTimerQuery.cpp
    A Source/WebCore/html/canvas/EXTDisjointTimerQuery.h
    A Source/WebCore/html/canvas/EXTDisjointTimerQuery.idl
    M Source/WebCore/html/canvas/WebGL2RenderingContext.h
    M Source/WebCore/html/canvas/WebGLAny.h
    M Source/WebCore/html/canvas/WebGLExtension.h
    M Source/WebCore/html/canvas/WebGLRenderingContext.cpp
    M Source/WebCore/html/canvas/WebGLRenderingContext.h
    M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
    M Source/WebCore/html/canvas/WebGLRenderingContextBase.h
    A Source/WebCore/html/canvas/WebGLTimerQueryEXT.cpp
    A Source/WebCore/html/canvas/WebGLTimerQueryEXT.h
    A Source/WebCore/html/canvas/WebGLTimerQueryEXT.idl
    M Source/WebCore/platform/graphics/GraphicsContextGL.h
    M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
    M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h
    M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h
    M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp

  Log Message:
  -----------
  Implement EXT_disjoint_timer_query
https://bugs.webkit.org/show_bug.cgi?id=129090

Reviewed by Kimmo Kinnunen.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/JSDOMConvertWebGL.cpp:
(WebCore::convertToJSValue):
* Source/WebCore/html/canvas/EXTDisjointTimerQuery.cpp: Added.
(WebCore::EXTDisjointTimerQuery::EXTDisjointTimerQuery):
(WebCore::EXTDisjointTimerQuery::getName const):
(WebCore::EXTDisjointTimerQuery::supported):
(WebCore::EXTDisjointTimerQuery::createQueryEXT):
(WebCore::EXTDisjointTimerQuery::deleteQueryEXT):
(WebCore::EXTDisjointTimerQuery::isQueryEXT):
(WebCore::EXTDisjointTimerQuery::beginQueryEXT):
(WebCore::EXTDisjointTimerQuery::endQueryEXT):
(WebCore::EXTDisjointTimerQuery::queryCounterEXT):
(WebCore::EXTDisjointTimerQuery::getQueryEXT):
(WebCore::EXTDisjointTimerQuery::getQueryObjectEXT):
* Source/WebCore/html/canvas/EXTDisjointTimerQuery.h: Added.
* Source/WebCore/html/canvas/EXTDisjointTimerQuery.idl: Added.
* Source/WebCore/html/canvas/WebGL2RenderingContext.h:
* Source/WebCore/html/canvas/WebGLAny.h:
* Source/WebCore/html/canvas/WebGLExtension.h:
* Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::~WebGLRenderingContext):
(WebCore::WebGLRenderingContext::getExtension):
(WebCore::WebGLRenderingContext::getSupportedExtensions):
(WebCore::WebGLRenderingContext::getInt64Parameter):
(WebCore::WebGLRenderingContext::addMembersToOpaqueRoots):
* Source/WebCore/html/canvas/WebGLRenderingContext.h:
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::getParameter):
(WebCore::WebGLRenderingContextBase::extensionIsEnabled):
(WebCore::WebGLRenderingContextBase::loseExtensions):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.h:
* Source/WebCore/html/canvas/WebGLTimerQueryEXT.cpp: Added.
(WebCore::WebGLTimerQueryEXT::create):
(WebCore::WebGLTimerQueryEXT::~WebGLTimerQueryEXT):
(WebCore::WebGLTimerQueryEXT::WebGLTimerQueryEXT):
(WebCore::WebGLTimerQueryEXT::deleteObjectImpl):
* Source/WebCore/html/canvas/WebGLTimerQueryEXT.h: Added.
* Source/WebCore/html/canvas/WebGLTimerQueryEXT.idl: Added.
* Source/WebCore/platform/graphics/GraphicsContextGL.h:
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:
(WebCore::GraphicsContextGLANGLE::createQueryEXT):
(WebCore::GraphicsContextGLANGLE::deleteQueryEXT):
(WebCore::GraphicsContextGLANGLE::isQueryEXT):
(WebCore::GraphicsContextGLANGLE::beginQueryEXT):
(WebCore::GraphicsContextGLANGLE::endQueryEXT):
(WebCore::GraphicsContextGLANGLE::queryCounterEXT):
(WebCore::GraphicsContextGLANGLE::getQueryiEXT):
(WebCore::GraphicsContextGLANGLE::getQueryObjectiEXT):
(WebCore::GraphicsContextGLANGLE::getQueryObjectui64EXT):
(WebCore::GraphicsContextGLANGLE::getInteger64EXT):
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h:
(createQueryEXT):
(deleteQueryEXT):
(isQueryEXT):
(beginQueryEXT):
(endQueryEXT):
(queryCounterEXT):
(getQueryiEXT):
(getQueryObjectiEXT):
(getQueryObjectui64EXT):
(getInteger64EXT):
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h:
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp:
(WebKit::RemoteGraphicsContextGLProxy::createQueryEXT):
(WebKit::RemoteGraphicsContextGLProxy::deleteQueryEXT):
(WebKit::RemoteGraphicsContextGLProxy::isQueryEXT):
(WebKit::RemoteGraphicsContextGLProxy::beginQueryEXT):
(WebKit::RemoteGraphicsContextGLProxy::endQueryEXT):
(WebKit::RemoteGraphicsContextGLProxy::queryCounterEXT):
(WebKit::RemoteGraphicsContextGLProxy::getQueryiEXT):
(WebKit::RemoteGraphicsContextGLProxy::getQueryObjectiEXT):
(WebKit::RemoteGraphicsContextGLProxy::getQueryObjectui64EXT):
(WebKit::RemoteGraphicsContextGLProxy::getInteger64EXT):

Canonical link: https://commits.webkit.org/260367@main




More information about the webkit-changes mailing list