Home | History | Annotate | Download | only in CHROMIUM
      1 Name
      2 
      3     CHROMIUM_lose_context
      4 
      5 Name Strings
      6 
      7     GL_CHROMIUM_lose_context
      8 
      9 Version
     10 
     11     Last Modifed Date: December 17, 2012
     12 
     13 Dependencies
     14 
     15     OpenGL ES 2.0 is required.
     16 
     17 Overview
     18 
     19     This extension allows an application to force a lost context event.
     20     This is useful for debugging that an app can correctly handle the context
     21     becoming lost.
     22 
     23 Issues
     24 
     25     None
     26 
     27 New Tokens
     28 
     29     None
     30 
     31 New Procedures and Functions
     32 
     33     void LoseContextCHROMIUM (GLenum current, GLenum other)
     34 
     35     Causes the current context and all other contexts in the same share group
     36     to become lost. <current> and <other> can each be one of:
     37 
     38         GL_GUILTY_CONTEXT_RESET_EXT
     39         GL_INNOCENT_CONTEXT_RESET_EXT
     40         GL_UNKNOWN_CONTEXT_RESET_EXT
     41 
     42     INVALID_ENUM is generated if <current> or <other> is not one of the values
     43     mentioned above.
     44 
     45 Errors
     46 
     47     None.
     48 
     49 New State
     50 
     51     None.
     52 
     53 Revision History
     54 
     55     12/17/2012    Documented the extension
     56