Pepper_56_C_interfaces
Pepper_56_C_interfaces
|
#include <ppb_compositor_layer_samsung.h>
Public Attributes | |
PP_Bool(* | IsCompositorLayerSamsung )(PP_Resource resource) |
int32_t(* | SetBackgroundPlane )(PP_Resource layer, const struct PP_Size *size) |
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.
PP_Bool(* PPB_CompositorLayer_Samsung_0_1::IsCompositorLayerSamsung)(PP_Resource resource) |
Determines if a resource is a compositor layer samsung resource.
[in] | resource | The PP_Resource to test. |
PP_Bool
with PP_TRUE
if the given resource is a compositor layer resource or PP_FALSE
otherwise. 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.
pp_errors.h
.