Index: ppapi/c/ppb_fullscreen.h |
=================================================================== |
--- ppapi/c/ppb_fullscreen.h (revision 98942) |
+++ ppapi/c/ppb_fullscreen.h (working copy) |
@@ -3,10 +3,10 @@ |
* found in the LICENSE file. |
*/ |
-/* From dev/ppb_fullscreen_dev.idl modified Fri Aug 26 10:51:16 2011. */ |
+/* From ppb_fullscreen.idl modified Thu Sep 1 14:31:56 2011. */ |
-#ifndef PPAPI_C_DEV_PPB_FULLSCREEN_DEV_H_ |
-#define PPAPI_C_DEV_PPB_FULLSCREEN_DEV_H_ |
+#ifndef PPAPI_C_PPB_FULLSCREEN_H_ |
+#define PPAPI_C_PPB_FULLSCREEN_H_ |
#include "ppapi/c/pp_bool.h" |
#include "ppapi/c/pp_instance.h" |
@@ -14,8 +14,8 @@ |
#include "ppapi/c/pp_size.h" |
#include "ppapi/c/pp_stdint.h" |
-#define PPB_FULLSCREEN_DEV_INTERFACE_0_4 "PPB_Fullscreen(Dev);0.4" |
-#define PPB_FULLSCREEN_DEV_INTERFACE PPB_FULLSCREEN_DEV_INTERFACE_0_4 |
+#define PPB_FULLSCREEN_INTERFACE_0_1 "PPB_Fullscreen;0.1" |
+#define PPB_FULLSCREEN_INTERFACE PPB_FULLSCREEN_INTERFACE_0_1 |
/** |
* @file |
@@ -27,7 +27,7 @@ |
* @addtogroup Interfaces |
* @{ |
*/ |
-struct PPB_Fullscreen_Dev { |
+struct PPB_Fullscreen { |
/** |
* Checks whether the plugin instance is currently in fullscreen mode. |
*/ |
@@ -36,20 +36,16 @@ |
* 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)(PP_Instance instance, 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)(PP_Instance instance, struct PP_Size* size); |
}; |
@@ -57,5 +53,5 @@ |
* @} |
*/ |
-#endif /* PPAPI_C_DEV_PPB_FULLSCREEN_DEV_H_ */ |
+#endif /* PPAPI_C_PPB_FULLSCREEN_H_ */ |