Hash :
be9e8e7b
        
        Author :
  
        
        Date :
2022-12-14T14:13:39
        
      
Add EGL_ANGLE_wait_until_work_scheduled extension 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>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
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