WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
254386
[ANGLE] Implement GL_ANGLE_metal_schedule extension
https://bugs.webkit.org/show_bug.cgi?id=254386
Summary
[ANGLE] Implement GL_ANGLE_metal_schedule extension
Dan Glastonbury
Reported
2023-03-23 18:13:47 PDT
In angleproject:7809 the default behavior of Flush() was changed to become a "no wait" instead of "wait for scheduled". This changes the semantics of Flush() on ANGLE compared to Apple OpenGL, meaning that Flush() can no longer to signal to the GPU the dependency of operations affecting IOSurfaces when working with multiple APIs, such as CoreGraphics. Instead of reverting the behavior change to Flush(), this change provides a way to ensure that all queued operations currently in the pipeline have had their resources readied and are waiting for the GPU to process them. Currently, Finish() is required to ensure these dependencies are met where Schedule() would suffice.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-03-23 18:14:19 PDT
<
rdar://problem/107163821
>
Dan Glastonbury
Comment 2
2023-03-23 18:20:59 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/11899
Kenneth Russell
Comment 3
2023-03-29 17:01:52 PDT
As mentioned on the pull request,
https://github.com/WebKit/WebKit/pull/11899
, unfortunately our teams collided on this needed feature. It's already been implemented in ANGLE as the EGL extension EGL_ANGLE_wait_until_work_scheduled in
https://bugs.chromium.org/p/angleproject/issues/detail?id=7890
. I think WebKit's copy of ANGLE has already rolled forward to pick up this extension. Does it suit your needs?
Dan Glastonbury
Comment 4
2023-03-29 17:03:38 PDT
Yes, I've project my work on top of EGL_ANGLE_wait_until_work_scheduled. I'll close this bug and PR.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug