X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fpublic-api%2Fadaptor-framework%2Fnative-image-source.h;h=b81514dd66ea0541f798eec6767e6cc067a2d93e;hb=26117d407b8ff8da1854f0b8cc85c14625fe1595;hp=dea2a14f464aa4223e0dd24f0c5ea2d2f3798f5f;hpb=d7fcb48e5bf25299817fa720af2133badb4e9d44;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/public-api/adaptor-framework/native-image-source.h b/adaptors/public-api/adaptor-framework/native-image-source.h index dea2a14..b81514d 100644 --- a/adaptors/public-api/adaptor-framework/native-image-source.h +++ b/adaptors/public-api/adaptor-framework/native-image-source.h @@ -50,8 +50,8 @@ typedef IntrusivePtr NativeImageSourcePtr; /** * @brief Used for displaying native images. * - * The native image source can be created internally or - * externally by X11 or ECORE-X11. + * NativeImageSource can be created internally or + * externally by native image source. * * @since DALi 1.1.4 */ @@ -83,7 +83,7 @@ public: static NativeImageSourcePtr New( unsigned int width, unsigned int height, ColorDepth depth ); /** - * @brief Create a new NativeImageSource from an existing native image. + * @brief Create a new NativeImageSource from an existing native image source. * * @param[in] nativeImageSource must be a X11 pixmap or a Ecore_X_Pixmap * @return A smart-pointer to a newly allocated image. @@ -121,6 +121,13 @@ public: */ bool EncodeToFile(const std::string& filename) const; + /** + * @brief Set an existing native image source + * + * @param[in] source Any handle with native image source + */ + void SetNativeImageSource( Any source ); + private: // native image /** @@ -158,6 +165,11 @@ private: // native image */ virtual bool RequiresBlending() const; + /** + * @copydoc Dali::NativeImageInterface::GetExtension() + */ + NativeImageInterface::Extension* GetExtension(); + private: /** @@ -165,7 +177,7 @@ private: * @param[in] width The width of the image. * @param[in] height The height of the image. * @param[in] depth color depth of the image. - * @param[in] nativeImageSource contains either: pixmap of type X11 Pixmap , a Ecore_X_Pixmap or is empty + * @param[in] nativeImageSource contains either: native image source or is empty */ DALI_INTERNAL NativeImageSource( unsigned int width, unsigned int height, ColorDepth depth, Any nativeImageSource );