Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_lose_context.txt |
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_lose_context.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_lose_context.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a7ff30ceb6d3d368d87a369200e88b4b366cf84f |
--- /dev/null |
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_lose_context.txt |
@@ -0,0 +1,55 @@ |
+Name |
+ |
+ CHROMIUM_lose_context |
+ |
+Name Strings |
+ |
+ GL_CHROMIUM_lose_context |
+ |
+Version |
+ |
+ Last Modifed Date: December 17, 2012 |
+ |
+Dependencies |
+ |
+ OpenGL ES 2.0 is required. |
+ |
+Overview |
+ |
+ This extension allows an application to force a lost context event. |
+ This is useful for debugging that an app can correctly handle the context |
+ becoming lost. |
+ |
+Issues |
+ |
+ None |
+ |
+New Tokens |
+ |
+ None |
+ |
+New Procedures and Functions |
+ |
+ void LoseContextCHROMIUM (GLenum current, GLenum other) |
+ |
+ Causes the current context and all other contexts in the same share group |
+ to become lost. <current> and <other> can each be one of: |
+ |
+ GL_GUILTY_CONTEXT_RESET_EXT |
+ GL_INNOCENT_CONTEXT_RESET_EXT |
+ GL_UNKNOWN_CONTEXT_RESET_EXT |
+ |
+ INVALID_ENUM is generated if <current> or <other> is not one of the values |
+ mentioned above. |
+ |
+Errors |
+ |
+ None. |
+ |
+New State |
+ |
+ None. |
+ |
+Revision History |
+ |
+ 12/17/2012 Documented the extension |