Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 758d8904919d17134c2b00877f4b82dbc8d2f494
      
https://github.com/WebKit/WebKit/commit/758d8904919d17134c2b00877f4b82dbc8d2f494
  Author: Dan Glastonbury <[email protected]>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp
    M Source/WebCore/platform/graphics/GraphicsContextGL.h

  Log Message:
  -----------
  [WebXR] Remove ensure() method from GCGLOwned
https://bugs.webkit.org/show_bug.cgi?id=269283
rdar://122860406

Reviewed by Kimmo Kinnunen.

This method was only used in three places where allocation of an OpenGL object
was known to be taking place. Replace the ensure() calls with explicit
allocation and adopt() the results.

* Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp:
(WebCore::createAndBindCompositorTexture):
(WebCore::createAndBindCompositorBuffer):
(WebCore::WebXROpaqueFramebuffer::setupFramebuffer):
* Source/WebCore/platform/graphics/GraphicsContextGL.h:
(WebCore::destroyFunc):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to