X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Ftizen%2Fnative-image-source-impl.h;h=505d8b23107a5c84c261a64b60435e551ff2e48f;hb=42a87676ee90611c5f6085187919fb11e10b19f5;hp=48876f022db1ba73c0ffde0fdedb820058e93d5a;hpb=e0616f6eee2ae65bc661347545a0c12b1a2684ae;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/tizen/native-image-source-impl.h b/adaptors/tizen/native-image-source-impl.h index 48876f0..505d8b2 100755 --- a/adaptors/tizen/native-image-source-impl.h +++ b/adaptors/tizen/native-image-source-impl.h @@ -34,12 +34,8 @@ namespace Internal namespace Adaptor { -class EglImageExtensions; -namespace -{ - typedef Dali::Vector< void* > EglImageContainer; -}; +class EglImageExtensions; /** * Dali internal NativeImageSource. @@ -179,18 +175,20 @@ private: tbm_surface_h GetSurfaceFromAny( Any source ) const; + bool CheckBlending( tbm_format format ); + private: unsigned int mWidth; ///< image width unsigned int mHeight; ///< image heights - bool mOwnTbmsurface; ///< Whether we created pixmap or not - tbm_surface_h mTbmsurface; + bool mOwnTbmSurface; ///< Whether we created pixmap or not + tbm_surface_h mTbmSurface; + tbm_format mTbmFormat; bool mBlendingRequired; ///< Whether blending is required Dali::NativeImageSource::ColorDepth mColorDepth; ///< color depth of image void* mEglImageKHR; ///< From EGL extension EglImageExtensions* mEglImageExtensions; ///< The EGL Image Extensions bool mSetSource; - EglImageContainer mEglImageKHRContainer; }; } // namespace Adaptor