Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Attributes
Dali::Integration::RenderStatus Class Reference

The status of the Core::Render operation. More...

#include <core.h>

Public Member Functions

 RenderStatus ()
 Constructor. More...
 
void SetNeedsUpdate (bool updateRequired)
 Set whether update needs to run following a render. More...
 
bool NeedsUpdate ()
 Query the update status following rendering of a frame. More...
 
void SetHasRendered (bool rendered)
 Set whether there were new render instructions. More...
 
bool HasRendered ()
 Query whether there were new render instructions. More...
 

Private Attributes

bool needsUpdate
 
bool hasRendered
 

Detailed Description

The status of the Core::Render operation.

Definition at line 114 of file core.h.

Constructor & Destructor Documentation

Dali::Integration::RenderStatus::RenderStatus ( )
inline

Constructor.

Definition at line 121 of file core.h.

Member Function Documentation

bool Dali::Integration::RenderStatus::HasRendered ( )
inline

Query whether there were new render instructions.

Returns
true if there were render instructions

Definition at line 149 of file core.h.

References hasRendered.

Referenced by Dali::TestApplication::GetRenderHasRendered(), Dali::Internal::Adaptor::SingleThreadController::RequestUpdateOnce(), Dali::Internal::Adaptor::RenderThread::Run(), Dali::Internal::Adaptor::SingleThreadController::UpdateRender(), and Dali::Internal::Adaptor::CombinedUpdateRenderController::UpdateRenderThread().

Here is the caller graph for this function:

bool Dali::Integration::RenderStatus::NeedsUpdate ( )
inline

Query the update status following rendering of a frame.

Returns
true if update should run.

Definition at line 138 of file core.h.

References needsUpdate.

Referenced by Dali::TestApplication::DoUpdate(), Dali::TestApplication::GetRenderNeedsUpdate(), Dali::TestApplication::Render(), Dali::TestApplication::RenderOnly(), Dali::Internal::Adaptor::SingleThreadController::UpdateRender(), and Dali::Internal::Adaptor::CombinedUpdateRenderController::UpdateRenderThread().

Here is the caller graph for this function:

void Dali::Integration::RenderStatus::SetHasRendered ( bool  rendered)
inline

Set whether there were new render instructions.

Definition at line 143 of file core.h.

References hasRendered.

Referenced by Dali::Internal::SceneGraph::RenderManager::Render().

Here is the caller graph for this function:

void Dali::Integration::RenderStatus::SetNeedsUpdate ( bool  updateRequired)
inline

Set whether update needs to run following a render.

This might be because render has sent messages to update, or it has some textures to upload over several frames.

Definition at line 132 of file core.h.

References needsUpdate.

Member Data Documentation

bool Dali::Integration::RenderStatus::hasRendered
private

Definition at line 154 of file core.h.

Referenced by HasRendered(), and SetHasRendered().

bool Dali::Integration::RenderStatus::needsUpdate
private

Definition at line 153 of file core.h.

Referenced by NeedsUpdate(), and SetNeedsUpdate().


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali