Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d60941cd5cb4e10ffdc8a38f9ac502834983a0b
      
https://github.com/WebKit/WebKit/commit/3d60941cd5cb4e10ffdc8a38f9ac502834983a0b
  Author: Sergio Villar Senin <svil...@igalia.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M Source/WebKit/UIProcess/XR/openxr/OpenXRLayer.cpp

  Log Message:
  -----------
  [WebXR][OpenXR] Do not release the OpenXR textures twice in case of error
https://bugs.webkit.org/show_bug.cgi?id=298017

Reviewed by Carlos Garcia Campos.

02a244de@main incorrectly added an extra releaseImage() call in case of error
during OpenXRLayer::startFrame. That's wrong because the only place where that
release should happen is in endFrame() just afer creating the projection layer.

That's because in OpenXR we must always call endFrame once startFrame was called
even if the frame should not be rendered.

* Source/WebKit/UIProcess/XR/openxr/OpenXRLayer.cpp:
(WebKit::OpenXRLayerProjection::startFrame):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to