Tizen Native API
5.5
|
Abstract interface to provide platform-specific support for handling image data. More...
Public Member Functions | |
virtual bool | GlExtensionCreate ()=0 |
Forward declare future extension interface. | |
virtual void | GlExtensionDestroy ()=0 |
Destroys the GL resource for the NativeImage. | |
virtual uint32_t | TargetTexture ()=0 |
Uses the NativeImage as a texture for rendering. | |
virtual void | PrepareTexture ()=0 |
Called internally for each Bind call for this texture to allow implementation specific operations. | |
virtual uint32_t | GetWidth () const =0 |
Returns the width of the NativeImage. | |
virtual uint32_t | GetHeight () const =0 |
Returns the height of the NativeImage. | |
virtual bool | RequiresBlending () const =0 |
Queries whether blending is required. | |
virtual Extension * | GetExtension () |
Retrieves the extension for the interface. | |
Protected Member Functions | |
virtual | ~NativeImageInterface () |
A reference counted object may only be deleted by calling Unreference(). |
Abstract interface to provide platform-specific support for handling image data.
For example, an implementation could use EGL extensions, etc.
virtual Dali::NativeImageInterface::~NativeImageInterface | ( | ) | [protected, virtual] |
A reference counted object may only be deleted by calling Unreference().
The implementation should destroy the NativeImage resources.
virtual Extension* Dali::NativeImageInterface::GetExtension | ( | ) | [virtual] |
Retrieves the extension for the interface.
virtual uint32_t Dali::NativeImageInterface::GetHeight | ( | ) | const [pure virtual] |
virtual uint32_t Dali::NativeImageInterface::GetWidth | ( | ) | const [pure virtual] |
virtual bool Dali::NativeImageInterface::GlExtensionCreate | ( | ) | [pure virtual] |
Forward declare future extension interface.
Creates the GL resource for the NativeImage.
e.g. For the EglImageKHR extension, this corresponds to calling eglCreateImageKHR().
virtual void Dali::NativeImageInterface::GlExtensionDestroy | ( | ) | [pure virtual] |
Destroys the GL resource for the NativeImage.
e.g. For the EglImageKHR extension, this corresponds to calling eglDestroyImageKHR().
virtual void Dali::NativeImageInterface::PrepareTexture | ( | ) | [pure virtual] |
Called internally for each Bind call for this texture to allow implementation specific operations.
The correct texture sampler has already been bound before the function gets called.
virtual bool Dali::NativeImageInterface::RequiresBlending | ( | ) | const [pure virtual] |
Queries whether blending is required.
virtual uint32_t Dali::NativeImageInterface::TargetTexture | ( | ) | [pure virtual] |
Uses the NativeImage as a texture for rendering.