Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1127)

Unified Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_lose_context.txt

Issue 11568029: Add a command to lose the context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add docs, lose parent and children, fix typo Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698