• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    CHROMIUM_lose_context
4
5Name Strings
6
7    GL_CHROMIUM_lose_context
8
9Version
10
11    Last Modifed Date: December 17, 2012
12
13Dependencies
14
15    OpenGL ES 2.0 is required.
16
17Overview
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
23Issues
24
25    None
26
27New Tokens
28
29    None
30
31New 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
45Errors
46
47    None.
48
49New State
50
51    None.
52
53Revision History
54
55    12/17/2012    Documented the extension
56