summaryrefslogtreecommitdiffstats
path: root/ppapi/api/ppp_graphics_3d.idl
diff options
context:
space:
mode:
authornoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 23:00:10 +0000
committernoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 23:00:10 +0000
commit032bea31ce9cd207e27c6007806703a1f72919e3 (patch)
treea5467f449006600650a0ae6c5fc67b933ef5f6b6 /ppapi/api/ppp_graphics_3d.idl
parent7d6fb2281a9d7b9c041cfbb0cdc72c74c6b09070 (diff)
downloadchromium_src-032bea31ce9cd207e27c6007806703a1f72919e3.zip
chromium_src-032bea31ce9cd207e27c6007806703a1f72919e3.tar.gz
chromium_src-032bea31ce9cd207e27c6007806703a1f72919e3.tar.bz2
Add missing ppp_graphics_3d.idl
The ppb version of the interface was added, this CL adds the missing ppp portion. See: http://codereview.chromium.org/9340003 Alok for verification, Brett for OWNER. R=alokp@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/9689076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/ppp_graphics_3d.idl')
-rw-r--r--ppapi/api/ppp_graphics_3d.idl25
1 files changed, 25 insertions, 0 deletions
diff --git a/ppapi/api/ppp_graphics_3d.idl b/ppapi/api/ppp_graphics_3d.idl
new file mode 100644
index 0000000..d3aa3b0
--- /dev/null
+++ b/ppapi/api/ppp_graphics_3d.idl
@@ -0,0 +1,25 @@
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * Defines the <code>PPP_Graphics3D</code> struct representing a 3D graphics
+ * context within the browser.
+ */
+
+label Chrome {
+ M15 = 1.0
+};
+
+/**
+ * <code>PPP_Graphics3D</code> defines the notification interface for a 3D
+ * graphics context.
+ */
+[macro="PPP_GRAPHICS_3D_INTERFACE"]
+interface PPP_Graphics3D {
+ /**
+ * Called when the OpenGL ES window is invalidated and needs to be repainted.
+ */
+ void Graphics3DContextLost(PP_Instance instance);
+};