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

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

Issue 555020: Redesigned CommandBuffer and NPDevice3D interfaces (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/command_buffer_pepper.cc ('k') | no next file » | 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 37414)
+++ third_party/npapi/bindings/npapi_extensions.h (working copy)
@@ -271,20 +271,6 @@
int32 commandBufferEntries;
} NPDeviceContext3DConfig;
-typedef enum {
- // The offset the command buffer service has read to.
- NPDeviceContext3DState_GetOffset,
- // The offset the plugin instance has written to.
- NPDeviceContext3DState_PutOffset,
- // The last token processed by the command buffer service.
- NPDeviceContext3DState_Token,
- // The most recent parse error. Getting this value resets the parse error
- // if it recoverable.
- NPDeviceContext3DState_ParseError,
- // Wether the command buffer has encountered an unrecoverable error.
- NPDeviceContext3DState_ErrorStatus
-} NPDeviceContext3DState;
-
typedef struct _NPDeviceContext3D
{
void* reserved;
@@ -298,6 +284,12 @@
// Offset in command buffer writer has reached. Synchronized on flush.
int32 putOffset;
+
+ // Last processed token. Synchronized on flush.
+ int32 token;
+
+ // Error status. Synchronized on flush.
+ int32 error;
} NPDeviceContext3D;
/* Audio --------------------------------------------------------------------*/
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698