mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-06 02:09:55 +03:00
We're changing eglReleaseTexImage so it calls flushCommandBuffer(mtl::NoWait) instead of flushCommandBuffer(mtl::WaitUntilScheduled) and then adding an extension to allow us to WaitUntilScheduled. This is because Chrome calls eglReleaseTexImage for every canvas and having it WaitUntilScheduled per call is very slow. So instead we'll call eglWaitUntilWorkScheduledANGLE once which will effectively wait just once. Bug: angleproject:7890 Change-Id: I87bc9f9a1a7f4a0f99d93736cc3083799e76afeb Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4109311 Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Gregg Tavares <gman@chromium.org>
64 lines
975 B
Plaintext
64 lines
975 B
Plaintext
Name
|
|
|
|
ANGLE_wait_until_work_scheduled
|
|
|
|
Name Strings
|
|
|
|
EGL_ANGLE_wait_until_work_scheduled
|
|
|
|
Contact
|
|
|
|
Gregg Tavares, Google (gman 'at' google.com)
|
|
|
|
Status
|
|
|
|
Draft.
|
|
|
|
Version
|
|
|
|
Version 1, 2022-12-15
|
|
|
|
Number
|
|
|
|
???
|
|
|
|
Dependencies
|
|
|
|
The extension is written against the EGL 1.3 Specification, although it
|
|
should work on other versions of these specifications.
|
|
|
|
Overview
|
|
|
|
This extension provides a function that given a EGLDisplay will wait
|
|
until all contexts from that display have their work scheduled.
|
|
|
|
Issues
|
|
|
|
None.
|
|
|
|
IP Status
|
|
|
|
No known issues.
|
|
|
|
New Procedures and Functions
|
|
|
|
void eglWaitUntilWorkScheduledANGLE(EGLDisplay* dpy)
|
|
|
|
New Tokens
|
|
|
|
None
|
|
|
|
Additions to the EGL 1.3 Specification
|
|
|
|
Calling eglWaitUntilWorkScheduledANGLE will wait until all contexts
|
|
for the given display have their work scheduled.
|
|
|
|
New Implementation Dependent State
|
|
|
|
None
|
|
|
|
Revision History
|
|
|
|
Version 1, 2022-12-15 (Gregg Tavares)
|
|
- Initial draft
|