5 #ifndef PPAPI_CPP_COMPOSITOR_LAYER_H_
6 #define PPAPI_CPP_COMPOSITOR_LAYER_H_
10 #include "ppapi/c/ppb_compositor_layer.h"
192 #endif // PPAPI_CPP_COMPOSITOR_LAYER_H_
int32_t SetImage(const ImageData &image, const CompletionCallback &callback)
int32_t SetSourceRect(const FloatRect &rect)
int32_t SetColor(float red, float green, float blue, float alpha, const Size &size)
int32_t SetTexture(const Graphics3D &context, uint32_t target, uint32_t texture, const Size &size, const CompletionCallback &cc)
int32_t SetOpacity(float opacity)
Definition: image_data.h:22
int32_t SetPremultipliedAlpha(bool premult)
This class represents a 3D rendering context in the browser.
Definition: graphics_3d.h:21
int32_t SetTransform(const float matrix[16])
Definition: completion_callback.h:26
A size of an object based on width and height.
Definition: size.h:18
int32_t SetClipRect(const Rect &rect)
~CompositorLayer()
Destructor.
int32_t SetBlendMode(PP_BlendMode mode)
PassRef
Definition: pass_ref.h:17
Definition: compositor_layer.h:19
A reference counted module resource.
Definition: resource.h:20
static bool IsCompositorLayer(const Resource &resource)