X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fmanager%2Fupdate-manager.h;h=899db924d02ac425417fc2ea8c0354749d9170e9;hb=ba40f528f8ca9ba401a364c37599f0774e9ee821;hp=3983bdbd2253e6dd936ddd5f555e8b95b8b58685;hpb=c4b45b9bb2920cbd0029ab1575cb2e3f5825a39f;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/manager/update-manager.h b/dali/internal/update/manager/update-manager.h index 3983bdb..899db92 100644 --- a/dali/internal/update/manager/update-manager.h +++ b/dali/internal/update/manager/update-manager.h @@ -594,12 +594,6 @@ public: bool isRenderingToFbo ); /** - * Set the background color i.e. the glClear color used at the beginning of each frame. - * @param[in] color The new background color. - */ - void SetBackgroundColor(const Vector4& color); - - /** * Set the default surface rect. * @param[in] rect The rect value representing the surface. */ @@ -1014,17 +1008,6 @@ inline void SetShaderProgramMessage( UpdateManager& manager, new (slot) LocalType( &manager, &UpdateManager::SetShaderProgram, const_cast( &shader ), shaderData, modifiesGeometry ); } -inline void SetBackgroundColorMessage( UpdateManager& manager, const Vector4& color ) -{ - typedef MessageValue1< UpdateManager, Vector4 > LocalType; - - // Reserve some memory inside the message queue - uint32_t* slot = manager.ReserveMessageSlot( sizeof( LocalType ) ); - - // Construct message in the message queue memory; note that delete should not be called on the return value - new (slot) LocalType( &manager, &UpdateManager::SetBackgroundColor, color ); -} - inline void SetDefaultSurfaceRectMessage( UpdateManager& manager, const Rect& rect ) { typedef MessageValue1< UpdateManager, Rect > LocalType;