Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_CompositorLayer_Samsung_0_1 Struct Reference

#include <ppb_compositor_layer_samsung.h>

Collaboration diagram for PPB_CompositorLayer_Samsung_0_1:
Collaboration graph

Public Attributes

PP_Bool(* IsCompositorLayerSamsung )(PP_Resource resource)
 
int32_t(* SetBackgroundPlane )(PP_Resource layer, const struct PP_Size *size)
 

Detailed Description

It is extension for PPB_CompositorLayer interface, which allows creating Samsung specific layers. To create PPB_CompositorLayer_Samsung resource please use AddLayer method from PPB_Compositor interface.

Definition at line 40 of file ppb_compositor_layer_samsung.h.

Member Data Documentation

PP_Bool(* PPB_CompositorLayer_Samsung_0_1::IsCompositorLayerSamsung)(PP_Resource resource)

Determines if a resource is a compositor layer samsung resource.

Parameters
[in]resourceThe PP_Resource to test.
Returns
A PP_Bool with PP_TRUE if the given resource is a compositor layer resource or PP_FALSE otherwise.

Definition at line 50 of file ppb_compositor_layer_samsung.h.

int32_t(* PPB_CompositorLayer_Samsung_0_1::SetBackgroundPlane)(PP_Resource layer, const struct PP_Size *size)

Sets the background plane layer, which allows to present background plane content. If the layer is uninitialized, it will initialize the layer first, and then set the background plane. If the layer has been initialized to another kind of layer, the layer will not be changed, and PP_ERROR_BADARGUMENT will be returned. Position of layer can be controlled using SetClipRect method from PPB_CompositorLayer.

param[in] layer A PP_Resource corresponding to a compositor layer resource. param[in] size A PP_Size for the size of the layer before transform.

Returns
An int32_t containing a result code from pp_errors.h.

Definition at line 68 of file ppb_compositor_layer_samsung.h.


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