X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fadaptor-impl.h;h=7093fb7143810d6955b268b76623d0eb89960c30;hb=b64876820169d0d123ca39f2a42ef7599a1ca2b1;hp=ec5c64568cd9704b41d496b93fc83827f78fbacf;hpb=a718c85137408afc52dafe97f26be93e9121aee6;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/adaptor-impl.h b/dali/internal/adaptor/common/adaptor-impl.h index ec5c645..7093fb7 100755 --- a/dali/internal/adaptor/common/adaptor-impl.h +++ b/dali/internal/adaptor/common/adaptor-impl.h @@ -102,6 +102,22 @@ public: * - Window, adaptor will use existing Window to draw on to * @param[in] configuration The context loss configuration ( to choose resource discard policy ) * @param[in] environmentOptions A pointer to the environment options. If NULL then one is created. + * @param[in] threadMode The mode of the Adaptor + */ + static Dali::Adaptor* New( Dali::Integration::SceneHolder window, + Dali::RenderSurfaceInterface* surface, + Dali::Configuration::ContextLoss configuration, + EnvironmentOptions* environmentOptions, + ThreadMode threadMode ); + + /** + * Creates a New Adaptor + * @param[in] window The window handle + * @param[in] surface A render surface can be one of the following + * - Pixmap, adaptor will use existing Pixmap to draw on to + * - Window, adaptor will use existing Window to draw on to + * @param[in] configuration The context loss configuration ( to choose resource discard policy ) + * @param[in] environmentOptions A pointer to the environment options. If NULL then one is created. */ static Dali::Adaptor* New( Dali::Integration::SceneHolder window, Dali::RenderSurfaceInterface* surface, @@ -127,6 +143,24 @@ public: * - Window, adaptor will use existing Window to draw on to * @param[in] configuration The context loss configuration ( to choose resource discard policy ) * @param[in] environmentOptions A pointer to the environment options. If NULL then one is created. + * @param[in] threadMode The ThreadMode of the Adaptor + */ + static Dali::Adaptor* New( GraphicsFactory& graphicsFactory, + Dali::Integration::SceneHolder window, + Dali::RenderSurfaceInterface* surface, + Dali::Configuration::ContextLoss configuration, + EnvironmentOptions* environmentOptions, + ThreadMode threadMode ); + + /** + * Creates a New Adaptor + * @param[in] graphicsFactory A factory that creates the graphics interface + * @param[in] window The window handle + * @param[in] surface A render surface can be one of the following + * - Pixmap, adaptor will use existing Pixmap to draw on to + * - Window, adaptor will use existing Window to draw on to + * @param[in] configuration The context loss configuration ( to choose resource discard policy ) + * @param[in] environmentOptions A pointer to the environment options. If NULL then one is created. */ static Dali::Adaptor* New( GraphicsFactory& graphicsFactory, Dali::Integration::SceneHolder window, @@ -633,8 +667,9 @@ private: * - Pixmap, adaptor will use existing Pixmap to draw on to * - Window, adaptor will use existing Window to draw on to * @param[in] environmentOptions A pointer to the environment options. If NULL then one is created. + * @param[in] threadMode The ThreadMode of the Adaptor */ - Adaptor( Dali::Integration::SceneHolder window, Dali::Adaptor& adaptor, Dali::RenderSurfaceInterface* surface, EnvironmentOptions* environmentOptions ); + Adaptor( Dali::Integration::SceneHolder window, Dali::Adaptor& adaptor, Dali::RenderSurfaceInterface* surface, EnvironmentOptions* environmentOptions, ThreadMode threadMode ); private: // Types