Bug 284279

Summary: [TextureMapper] Avoid stencil use in clipping
Product: WebKit Reporter: Jani Hautakangas <jani>
Component: WPE WebKitAssignee: Jani Hautakangas <jani>
Status: NEW    
Severity: Normal CC: bugs-noreply, fujii.hironori, webkit-bug-importer
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=283820
https://bugs.webkit.org/show_bug.cgi?id=284250

Jani Hautakangas
Reported 2024-12-09 00:23:57 PST
Stencil usage can often be avoided by rendering only the relevant portions of a layer or texture. This can be achieved by carefully setting up texture coordinates and vertex positions to render only the desired section of the texture. To implement this, shaders need to be updated, and new antialiasing logic must be introduced to allow for selective antialiased edges. It's essential to ensure that cutting edges are not antialiased, as this could affect the visual fidelity of the clipping. This optimization will reduce stencil usage and significantly improve performance, particularly on low-end devices like the Raspberry Pi 3, where computational resources are limited.
Attachments
Note You need to log in before you can comment on or make changes to this bug.