summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/bindings/npapi_extensions.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/npapi/bindings/npapi_extensions.h')
-rw-r--r--third_party/npapi/bindings/npapi_extensions.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/third_party/npapi/bindings/npapi_extensions.h b/third_party/npapi/bindings/npapi_extensions.h
index 7ca636d..f72a9aa 100644
--- a/third_party/npapi/bindings/npapi_extensions.h
+++ b/third_party/npapi/bindings/npapi_extensions.h
@@ -198,11 +198,6 @@ typedef struct _NPPepperEvent
#define NPPepper2DDevice 1
-typedef enum _NPRenderType
-{
- NPRenderGraphicsRGBA
-} NPRenderType;
-
typedef struct _NPDeviceContext2DConfig {
} NPDeviceContext2DConfig;
@@ -228,4 +223,17 @@ typedef struct _NPDeviceContext2D
} u;
} NPDeviceContext2D;
+/* 3D -----------------------------------------------------------------------*/
+
+#define NPPepper3DDevice 2
+
+typedef struct _NPDeviceContext3DConfig {
+} NPDeviceContext3DConfig;
+
+typedef struct _NPDeviceContext3D
+{
+ void* buffer;
+ int32 bufferLength;
+} NPDeviceContext3D;
+
#endif /* _NP_EXTENSIONS_H_ */