X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fadaptor-impl.h;h=4cbbdc2dbb3810e378bd16e94229d77eb2d3e4ad;hb=6e329ecbaa0bc9ff01f2031434f4f266b4808752;hp=faf19b3af9291fcfd2b67fc3b841574a9c6485cc;hpb=e0616f6eee2ae65bc661347545a0c12b1a2684ae;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/adaptor-impl.h b/adaptors/common/adaptor-impl.h index faf19b3..4cbbdc2 100644 --- a/adaptors/common/adaptor-impl.h +++ b/adaptors/common/adaptor-impl.h @@ -293,6 +293,12 @@ public: */ Any GetNativeWindowHandle(); + /** + * Sets use remote surface for eglSurface output + * @param[in] useRemoteSurface True if the remote surface is used + */ + void SetUseRemoteSurface(bool useRemoteSurface); + public: /** @@ -339,6 +345,11 @@ public: */ void GetAppId( std::string& appId ); + /** + * Informs core the surface size has changed + */ + void SurfaceSizeChanged( const PositionSize& positionSize ); + public: //AdaptorInternalServices /** @@ -489,17 +500,17 @@ private: private: /** - * Informs core the surface size has changed - */ - void SurfaceSizeChanged(const PositionSize& positionSize); - - /** * Assigns the render surface to the adaptor * */ void SetSurface(RenderSurface *surface); /** + * called after surface is created + */ + void SurfaceInitialized(); + + /** * Sends an notification message from main loop idle handler */ void ProcessCoreEventsFromIdle(); @@ -552,7 +563,7 @@ private: // Data Any mNativeWindow; ///< window identifier RenderSurface* mSurface; ///< Current surface - TizenPlatform::TizenPlatformAbstraction* mPlatformAbstraction; ///< Platform abstraction + TizenPlatform::TizenPlatformAbstraction* mPlatformAbstraction; ///< Platform abstraction EventHandler* mEventHandler; ///< event handler CallbackManager* mCallbackManager; ///< Used to install callbacks @@ -573,6 +584,7 @@ private: // Data ObjectProfiler* mObjectProfiler; ///< Tracks object lifetime for profiling SocketFactory mSocketFactory; ///< Socket factory const bool mEnvironmentOptionsOwned:1; ///< Whether we own the EnvironmentOptions (and thus, need to delete it) + bool mUseRemoteSurface; ///< whether the remoteSurface is used or not public: inline static Adaptor& GetImplementation(Dali::Adaptor& adaptor) {return *adaptor.mImpl;} };