Pepper_56_C_interfaces
Pepper_56_C_interfaces
|
Public Attributes | |
PP_Bool(* | IsFullscreen )(PP_Instance instance) |
PP_Bool(* | SetFullscreen )(PP_Instance instance, PP_Bool fullscreen) |
PP_Bool(* | GetScreenSize )(PP_Instance instance, struct PP_Size *size) |
PP_Bool(* PPB_FlashFullscreen_1_0::GetScreenSize)(PP_Instance instance, struct PP_Size *size) |
Gets the size of the screen in pixels. When going fullscreen, the instance will be resized to that size.
PP_Bool(* PPB_FlashFullscreen_1_0::IsFullscreen)(PP_Instance instance) |
Checks whether the plugin instance is currently in fullscreen mode.
PP_Bool(* PPB_FlashFullscreen_1_0::SetFullscreen)(PP_Instance instance, PP_Bool fullscreen) |
Switches the plugin instance to/from fullscreen mode. Returns PP_TRUE on success, PP_FALSE on failure.
This does not unbind the current Graphics2D or Graphics3D. 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 Graphics3D can be bound. The transition ends at the next DidChangeView when going into fullscreen mode. The transition out of fullscreen mode is synchronous.