Home | History | Annotate | Download | only in CHROMIUM
      1 Name
      2 
      3     CHROMIUM_sync_query
      4 
      5 Name Strings
      6 
      7     GL_CHROMIUM_sync_query
      8 
      9 Version
     10 
     11     Last Modifed Date: April 15, 2014
     12 
     13 Dependencies
     14 
     15     OpenGL ES 2.0 is required.
     16 
     17     EXT_occlusion_query_boolean is required.
     18 
     19 Overview
     20 
     21     This extension provides a query mechanism that allow for synchronization
     22     between the host CPU and the GPU, which may be accessing the same
     23     resources (typically memory).
     24 
     25     This extension is useful in conjunction with CHROMIUM_map_image to
     26     determine when it is safe to access a mapped image. Once the result of
     27     a COMMANDS_COMPLETED_CHROMIUM query is available, all drawing commands
     28     issued before the query must have finished. This ensures that the memory
     29     corresponding to the issued commands can be safely modified (assuming no
     30     other outstanding drawing commands are issued subsequent to the query).
     31 
     32 New Procedures and Functions
     33 
     34     None.
     35 
     36 Errors
     37 
     38     None.
     39 
     40 New Tokens
     41 
     42     Accepted by the <target> parameter of BeginQueryEXT, EndQueryEXT,
     43     and GetQueryivEXT:
     44 
     45         COMMANDS_COMPLETED_CHROMIUM                     0x84F7
     46 
     47 New State
     48 
     49     None.
     50 
     51 Revision History
     52 
     53     4/15/2014   Documented the extension
     54