Index: ppapi/api/ppb_fullscreen.idl |
=================================================================== |
--- ppapi/api/ppb_fullscreen.idl (revision 98942) |
+++ ppapi/api/ppb_fullscreen.idl (working copy) |
@@ -9,10 +9,10 @@ |
*/ |
label Chrome { |
- M14 = 0.4 |
+ M15 = 0.1 |
}; |
-interface PPB_Fullscreen_Dev { |
+interface PPB_Fullscreen { |
/** |
* Checks whether the plugin instance is currently in fullscreen mode. |
*/ |
@@ -23,23 +23,19 @@ |
* Switches the plugin instance to/from fullscreen mode. Returns PP_TRUE on |
* success, PP_FALSE on failure. |
* |
- * This unbinds the current Graphics2D or Surface3D. Pending flushes and |
- * swapbuffers will execute as if the resource was off-screen. The transition |
- * is asynchronous. During the transition, IsFullscreen will return PP_False, |
- * and no Graphics2D or Surface3D can be bound. The transition ends at the |
- * next DidChangeView. |
- * |
- * Note: when switching to and from fullscreen, Context3D and Surface3D |
- * resources need to be re-created. This is a current limitation that will be |
- * lifted in a later revision. |
+ * This unbinds the current 2D or 3D devices. Pending flushes and swapbuffers |
+ * will execute as if the resource was off-screen. The transition to and from |
+ * fullscreen is asynchronous. During the transition, IsFullscreen will |
+ * return PP_FALSE, and no 2D or 3D device can be bound. The transition ends |
+ * at the next DidChangeView. |
*/ |
PP_Bool SetFullscreen( |
[in] PP_Instance instance, |
[in] PP_Bool fullscreen); |
/** |
- * Gets the size of the screen. When going fullscreen, the instance will be |
- * resized to that size. |
+ * Gets the logical size (aka resolution) of the screen in pixels. |
+ * When going fullscreen, the instance will be resized to that size. |
*/ |
PP_Bool GetScreenSize( |
[in] PP_Instance instance, |