[webkit-changes] [WebKit/WebKit] b54433: [TextureMapper] preserve-3d causes unnecessary lay...

Jani Hautakangas noreply at github.com
Thu Dec 5 16:07:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b54433896d895f24684d536e069c1f848137993a
      https://github.com/WebKit/WebKit/commit/b54433896d895f24684d536e069c1f848137993a
  Author: Jani Hautakangas <jani at kodegood.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp
    M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h

  Log Message:
  -----------
  [TextureMapper] preserve-3d causes unnecessary layer splits
https://bugs.webkit.org/show_bug.cgi?id=284026

Reviewed by Fujii Hironori.

The BSP tree calculation currently includes layers that have dimensions
but produce no visible output. This results in unnecessary splits during
the preserve-3D process. Such layers should be excluded from the BSP tree
calculations to optimize rendering and reduce computational overhead.

* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:
 (WebCore::TextureMapperLayer::paintWith3DRenderingContext):
 (WebCore::TextureMapperLayer::collect3DRenderingContextLayers):
 (WebCore::TextureMapperLayer::collect3DSceneLayers): Deleted.
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list