// INTERNAL INCLUDES
#include <dali/integration-api/gl-defines.h>
-#include <dali/public-api/images/native-image.h>
+#include <dali/public-api/images/native-image-interface.h>
#include <dali/internal/render/gl-resources/texture.h>
namespace Dali
* @param nativeImg the NativeImage to be used
* @param context the GL context
*/
- NativeTexture(NativeImage* nativeImg, Context& context);
+ NativeTexture(NativeImageInterface* nativeImg, Context& context);
/**
* Destructor.
/**
* @copydoc Texture::Bind
*/
- virtual bool Bind(GLenum target, GLenum textureunit = GL_TEXTURE0);
+ virtual bool Bind( GLenum target, TextureUnit textureunit );
/**
* @copydoc Texture::IsFullyOpaque
*/
virtual bool HasAlphaChannel() const;
-
- /**
- * @copydoc Texture::GetPixelFormat
- */
- virtual Pixel::Format GetPixelFormat() const;
-
/**
* @copydoc Texture::Init
*/
private:
- NativeImagePtr mNativeImage; ///< reference to NativeImage the Texture was created from
+ NativeImageInterfacePtr mNativeImage; ///< reference to NativeImage the Texture was created from
};
} //namespace Internal