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

Unified Diff: third_party/npapi/bindings/npapi_extensions.h

Issue 566021: [GPU] GLES2 lost context recovery (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months 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 | « gpu/pgl/pgl.cc ('k') | webkit/tools/pepper_test_plugin/plugin_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/npapi/bindings/npapi_extensions.h
===================================================================
--- third_party/npapi/bindings/npapi_extensions.h (revision 37846)
+++ third_party/npapi/bindings/npapi_extensions.h (working copy)
@@ -272,11 +272,26 @@
} NPDeviceContext3DConfig;
typedef enum _NPDeviceContext3DError {
+ // No error has ocurred.
NPDeviceContext3DError_NoError,
+
+ // The size of a command was invalid.
NPDeviceContext3DError_InvalidSize,
+
+ // An offset was out of bounds.
NPDeviceContext3DError_OutOfBounds,
+
+ // A command was not recognized.
NPDeviceContext3DError_UnknownCommand,
+
+ // The arguments to a command were invalid.
NPDeviceContext3DError_InvalidArguments,
+
+ // The 3D context was lost, for example due to a power management event. The
+ // context must be destroyed and a new one created.
+ NPDeviceContext3DError_LostContext,
+
+ // Any other error.
NPDeviceContext3DError_GenericError
} NPDeviceContext3DError;
« no previous file with comments | « gpu/pgl/pgl.cc ('k') | webkit/tools/pepper_test_plugin/plugin_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698