| Index: third_party/npapi/bindings/npapi_extensions.h
|
| ===================================================================
|
| --- third_party/npapi/bindings/npapi_extensions.h (revision 37731)
|
| +++ third_party/npapi/bindings/npapi_extensions.h (working copy)
|
| @@ -268,16 +268,25 @@
|
| #define NPPepper3DDevice 2
|
|
|
| typedef struct _NPDeviceContext3DConfig {
|
| - int32 commandBufferEntries;
|
| + int32 commandBufferSize;
|
| } NPDeviceContext3DConfig;
|
|
|
| +typedef enum _NPDeviceContext3DError {
|
| + NPDeviceContext3DError_NoError,
|
| + NPDeviceContext3DError_InvalidSize,
|
| + NPDeviceContext3DError_OutOfBounds,
|
| + NPDeviceContext3DError_UnknownCommand,
|
| + NPDeviceContext3DError_InvalidArguments,
|
| + NPDeviceContext3DError_GenericError,
|
| +} NPDeviceContext3DError;
|
| +
|
| typedef struct _NPDeviceContext3D
|
| {
|
| void* reserved;
|
|
|
| // Buffer in which commands are stored.
|
| void* commandBuffer;
|
| - int32 commandBufferEntries;
|
| + int32 commandBufferSize;
|
|
|
| // Offset in command buffer reader has reached. Synchronized on flush.
|
| int32 getOffset;
|
| @@ -289,7 +298,7 @@
|
| int32 token;
|
|
|
| // Error status. Synchronized on flush.
|
| - int32 error;
|
| + NPDeviceContext3DError error;
|
| } NPDeviceContext3D;
|
|
|
| /* Audio --------------------------------------------------------------------*/
|
|
|