Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_FlashFullscreen_1_0 Struct Reference

#include <ppb_flash_fullscreen.h>

Collaboration diagram for PPB_FlashFullscreen_1_0:
Collaboration graph

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)
 

Detailed Description

Definition at line 31 of file ppb_flash_fullscreen.h.

Member Data Documentation

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.

Definition at line 52 of file ppb_flash_fullscreen.h.

PP_Bool(* PPB_FlashFullscreen_1_0::IsFullscreen)(PP_Instance instance)

Checks whether the plugin instance is currently in fullscreen mode.

Definition at line 35 of file ppb_flash_fullscreen.h.

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.

Definition at line 47 of file ppb_flash_fullscreen.h.


The documentation for this struct was generated from the following file: