|
Pepper_47_C++_interfaces
|
#include <compositor_layer_samsung.h>


Static Public Member Functions | |
| static bool | IsCompositorLayerSamsung (const Resource &resource) |
Static Public Member Functions inherited from pp::CompositorLayer | |
| static bool | IsCompositorLayer (const Resource &resource) |
Additional Inherited Members | |
Protected Member Functions inherited from pp::Resource | |
| Resource (PP_Resource resource) | |
| Resource (PassRef, PP_Resource resource) | |
| void | PassRefFromConstructor (PP_Resource resource) |
| void | Clear () |
| Sets this resource to null. This releases ownership of the resource. More... | |
Definition at line 23 of file compositor_layer_samsung.h.
| pp::CompositorLayerSamsung::CompositorLayerSamsung | ( | ) |
Default constructor for creating an is_null() CompositorLayerSamsung object.
Definition at line 24 of file compositor_layer_samsung.cc.
| pp::CompositorLayerSamsung::CompositorLayerSamsung | ( | const CompositorLayerSamsung & | other | ) |
The copy constructor for CompositorLayerSamsung.
| [in] | other | A reference to a CompositorLayerSamsung. |
Definition at line 26 of file compositor_layer_samsung.cc.
| pp::CompositorLayerSamsung::CompositorLayerSamsung | ( | const CompositorLayer & | other | ) |
Constructs a CompositorLayerSamsung from a CompositorLayer.
| [in] | other | A reference to a CompositorLayer. |
Definition at line 30 of file compositor_layer_samsung.cc.
|
explicit |
Constructs a CompositorLayer from a Resource.
| [in] | resource | A PPB_CompositorLayer resource. |
Definition at line 33 of file compositor_layer_samsung.cc.
References IsCompositorLayerSamsung(), and PP_DCHECK.
| pp::CompositorLayerSamsung::CompositorLayerSamsung | ( | PassRef | , |
| PP_Resource | resource | ||
| ) |
A constructor used when you have received a PP_Resource as a return value that has had 1 ref added for you.
| [in] | resource | A PPB_CompositorLayer_Samsung resource. |
Definition at line 38 of file compositor_layer_samsung.cc.
| pp::CompositorLayerSamsung::~CompositorLayerSamsung | ( | ) |
Destructor.
Definition at line 41 of file compositor_layer_samsung.cc.
Checks whether a Resource is a compositor layer samsung, to test whether it is appropriate for use with the CompositorLayerSamsung constructor.
| [in] | resource | A Resource to test. |
resource is a compositor layer. Definition at line 51 of file compositor_layer_samsung.cc.
References pp::Resource::pp_resource().
Referenced by CompositorLayerSamsung().
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. Definition at line 43 of file compositor_layer_samsung.cc.
References pp::Resource::pp_resource(), and pp::Size::pp_size().
1.8.6