[Webkit-unassigned] [Bug 259756] New: GPUP WebGL in MiniBrowser still continuously allocates IOSurfaces
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 2 17:53:45 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259756
Bug ID: 259756
Summary: GPUP WebGL in MiniBrowser still continuously allocates
IOSurfaces
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kbr at google.com
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
Created attachment 467185
--> https://bugs.webkit.org/attachment.cgi?id=467185&action=review
Test case
When MiniBrowser is run in WebKit2 mode with GPUP WebGL enabled, the attached test case causes IOSurfaces to be continuously allocated because they're in use too long. Increasing maxReusedDrawingBuffers in Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.h causes the drawing buffers to be recycled. (Locally, I increased them to 6, but a smaller number would probably work.)
To reproduce:
1) Serve up the attached test case on localhost
2) Add an fprintf to stderr in this code which calls EGL_CreatePbufferFromClientBuffer:
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm#L625
3) Tools/WebKit/build-webkit
4) Tools/WebKit/run-minibrowser
Note that there's a continuous stream of output.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230803/1d718e98/attachment.htm>
More information about the webkit-unassigned
mailing list