projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Implement partial update
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
update
/
manager
/
update-manager.h
diff --git
a/dali/internal/update/manager/update-manager.h
b/dali/internal/update/manager/update-manager.h
old mode 100644
(file)
new mode 100755
(executable)
index
039e054
..
72df33c
--- a/
dali/internal/update/manager/update-manager.h
+++ b/
dali/internal/update/manager/update-manager.h
@@
-132,6
+132,7
@@
public:
* @param[in] renderManager This is responsible for rendering the results of each "update".
* @param[in] renderQueue Used to queue messages for the next render.
* @param[in] renderTaskProcessor Handles RenderTasks and RenderInstrucitons.
* @param[in] renderManager This is responsible for rendering the results of each "update".
* @param[in] renderQueue Used to queue messages for the next render.
* @param[in] renderTaskProcessor Handles RenderTasks and RenderInstrucitons.
+ * @param[in] partialUpdateAvailble whether the partial update is available
*/
UpdateManager( NotificationManager& notificationManager,
CompleteNotificationInterface& animationPlaylist,
*/
UpdateManager( NotificationManager& notificationManager,
CompleteNotificationInterface& animationPlaylist,
@@
-140,7
+141,8
@@
public:
Integration::RenderController& controller,
RenderManager& renderManager,
RenderQueue& renderQueue,
Integration::RenderController& controller,
RenderManager& renderManager,
RenderQueue& renderQueue,
- RenderTaskProcessor& renderTaskProcessor );
+ RenderTaskProcessor& renderTaskProcessor,
+ bool partialUpdateAvailable );
/**
* Destructor.
/**
* Destructor.
@@
-594,18
+596,18
@@
public:
bool isRenderingToFbo );
/**
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.
*/
void SetDefaultSurfaceRect( const Rect<int>& rect );
/**
* Set the default surface rect.
* @param[in] rect The rect value representing the surface.
*/
void SetDefaultSurfaceRect( const Rect<int>& rect );
/**
+ * Set the default surface orientation.
+ * @param[in] orientation The orientation value representing the surface.
+ */
+ void SetDefaultSurfaceOrientation( int orientation );
+
+ /**
* @copydoc Dali::Stage::KeepRendering()
*/
void KeepRendering( float durationSeconds );
* @copydoc Dali::Stage::KeepRendering()
*/
void KeepRendering( float durationSeconds );
@@
-1008,26
+1010,26
@@
inline void SetShaderProgramMessage( UpdateManager& manager,
new (slot) LocalType( &manager, &UpdateManager::SetShaderProgram, const_cast<Shader*>( &shader ), shaderData, modifiesGeometry );
}
new (slot) LocalType( &manager, &UpdateManager::SetShaderProgram, const_cast<Shader*>( &shader ), shaderData, modifiesGeometry );
}
-inline void Set
BackgroundColorMessage( UpdateManager& manager, const Vector4& color
)
+inline void Set
DefaultSurfaceRectMessage( UpdateManager& manager, const Rect<int32_t>& rect
)
{
{
- typedef MessageValue1< UpdateManager,
Vector4
> LocalType;
+ typedef MessageValue1< UpdateManager,
Rect<int32_t>
> 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
// 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::Set
BackgroundColor, color
);
+ new (slot) LocalType( &manager, &UpdateManager::Set
DefaultSurfaceRect, rect
);
}
}
-inline void SetDefaultSurface
RectMessage( UpdateManager& manager, const Rect<int32_t>& rect
)
+inline void SetDefaultSurface
OrientationMessage( UpdateManager& manager, int orientation
)
{
{
- typedef MessageValue1< UpdateManager,
Rect<int32_t>
> LocalType;
+ typedef MessageValue1< UpdateManager,
int
> LocalType;
// Reserve some memory inside the message queue
// Reserve some memory inside the message queue
- u
int32_
t* slot = manager.ReserveMessageSlot( sizeof( LocalType ) );
+ u
nsigned in
t* slot = manager.ReserveMessageSlot( sizeof( LocalType ) );
// Construct message in the message queue memory; note that delete should not be called on the return value
// Construct message in the message queue memory; note that delete should not be called on the return value
- new (slot) LocalType( &manager, &UpdateManager::SetDefaultSurface
Rect, rect
);
+ new (slot) LocalType( &manager, &UpdateManager::SetDefaultSurface
Orientation, orientation
);
}
inline void KeepRenderingMessage( UpdateManager& manager, float durationSeconds )
}
inline void KeepRenderingMessage( UpdateManager& manager, float durationSeconds )