Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes
Dali::Internal::SceneGraph::RenderManager::Impl Struct Reference

Structure to contain internal data. More...

Collaboration diagram for Dali::Internal::SceneGraph::RenderManager::Impl:
Collaboration graph
[legend]

Public Member Functions

 Impl (Integration::GlAbstraction &glAbstraction, Integration::GlSyncAbstraction &glSyncAbstraction, ResourcePostProcessList &resourcePostProcessQ, PostProcessResourceDispatcher &postProcessDispatcher)
 
 ~Impl ()
 
void AddRenderTracker (Render::RenderTracker *renderTracker)
 
void RemoveRenderTracker (Render::RenderTracker *renderTracker)
 
void UpdateTrackers ()
 

Public Attributes

Context context
 holds the GL state More...
 
Integration::GlSyncAbstractionglSyncAbstraction
 GL sync abstraction. More...
 
RenderQueue renderQueue
 A message queue for receiving messages from the update-thread. More...
 
TextureCache textureCache
 Cache for all GL textures. More...
 
Render::UniformNameCache uniformNameCache
 Cache to provide unique indices for uniforms. More...
 
ResourcePostProcessListresourcePostProcessQueue
 A queue for requesting resource post processing in update thread. More...
 
RenderInstructionContainer instructions
 
Vector4 backgroundColor
 The glClear color used at the beginning of each frame. More...
 
unsigned int frameCount
 The current frame count. More...
 
BufferIndex renderBufferIndex
 The index of the buffer to read from; this is opposite of the "update" buffer. More...
 
Rect< int > defaultSurfaceRect
 Rectangle for the default surface we are rendering to. More...
 
RendererOwnerContainer rendererContainer
 List of owned renderers. More...
 
SamplerOwnerContainer samplerContainer
 List of owned samplers. More...
 
PropertyBufferOwnerContainer propertyBufferContainer
 List of owned property buffers. More...
 
RenderGeometryOwnerContainer renderGeometryContainer
 List of owned RenderGeometries. More...
 
bool renderersAdded
 
RenderTrackerContainer mRenderTrackers
 List of render trackers. More...
 
bool firstRenderCompleted
 False until the first render is done. More...
 
ShaderdefaultShader
 Default shader to use. More...
 
ProgramController programController
 Owner of the GL programs. More...
 

Detailed Description

Structure to contain internal data.

Definition at line 72 of file render-manager.cpp.

Constructor & Destructor Documentation

Dali::Internal::SceneGraph::RenderManager::Impl::Impl ( Integration::GlAbstraction glAbstraction,
Integration::GlSyncAbstraction glSyncAbstraction,
ResourcePostProcessList resourcePostProcessQ,
PostProcessResourceDispatcher postProcessDispatcher 
)
inline

Definition at line 74 of file render-manager.cpp.

Dali::Internal::SceneGraph::RenderManager::Impl::~Impl ( )
inline

Definition at line 97 of file render-manager.cpp.

Member Function Documentation

void Dali::Internal::SceneGraph::RenderManager::Impl::AddRenderTracker ( Render::RenderTracker renderTracker)
inline

Definition at line 101 of file render-manager.cpp.

References DALI_ASSERT_DEBUG, mRenderTrackers, and Dali::Vector< T, IsTrivialType >::PushBack().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::Impl::RemoveRenderTracker ( Render::RenderTracker renderTracker)
inline

Definition at line 107 of file render-manager.cpp.

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_DEBUG, Dali::Vector< T, IsTrivialType >::End(), Dali::OwnerContainer< T >::Erase(), and mRenderTrackers.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::Impl::UpdateTrackers ( )
inline

Definition at line 120 of file render-manager.cpp.

References Dali::Vector< T, IsTrivialType >::Begin(), Dali::Vector< T, IsTrivialType >::End(), and mRenderTrackers.

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

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Vector4 Dali::Internal::SceneGraph::RenderManager::Impl::backgroundColor

The glClear color used at the beginning of each frame.

Definition at line 141 of file render-manager.cpp.

Referenced by Dali::Internal::SceneGraph::RenderManager::Render(), and Dali::Internal::SceneGraph::RenderManager::SetBackgroundColor().

Context Dali::Internal::SceneGraph::RenderManager::Impl::context
Shader* Dali::Internal::SceneGraph::RenderManager::Impl::defaultShader
Rect<int> Dali::Internal::SceneGraph::RenderManager::Impl::defaultSurfaceRect
bool Dali::Internal::SceneGraph::RenderManager::Impl::firstRenderCompleted

False until the first render is done.

Definition at line 157 of file render-manager.cpp.

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

unsigned int Dali::Internal::SceneGraph::RenderManager::Impl::frameCount

The current frame count.

Definition at line 143 of file render-manager.cpp.

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

Integration::GlSyncAbstraction& Dali::Internal::SceneGraph::RenderManager::Impl::glSyncAbstraction

GL sync abstraction.

Definition at line 131 of file render-manager.cpp.

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

RenderInstructionContainer Dali::Internal::SceneGraph::RenderManager::Impl::instructions
RenderTrackerContainer Dali::Internal::SceneGraph::RenderManager::Impl::mRenderTrackers

List of render trackers.

Definition at line 155 of file render-manager.cpp.

Referenced by AddRenderTracker(), RemoveRenderTracker(), and UpdateTrackers().

ProgramController Dali::Internal::SceneGraph::RenderManager::Impl::programController
PropertyBufferOwnerContainer Dali::Internal::SceneGraph::RenderManager::Impl::propertyBufferContainer
BufferIndex Dali::Internal::SceneGraph::RenderManager::Impl::renderBufferIndex

The index of the buffer to read from; this is opposite of the "update" buffer.

Definition at line 144 of file render-manager.cpp.

Referenced by Dali::Internal::SceneGraph::RenderManager::DispatchPostProcessRequest(), Dali::Internal::SceneGraph::RenderManager::DoRender(), and Dali::Internal::SceneGraph::RenderManager::Render().

RendererOwnerContainer Dali::Internal::SceneGraph::RenderManager::Impl::rendererContainer
bool Dali::Internal::SceneGraph::RenderManager::Impl::renderersAdded
RenderGeometryOwnerContainer Dali::Internal::SceneGraph::RenderManager::Impl::renderGeometryContainer
RenderQueue Dali::Internal::SceneGraph::RenderManager::Impl::renderQueue

A message queue for receiving messages from the update-thread.

Definition at line 132 of file render-manager.cpp.

Referenced by Dali::Internal::SceneGraph::RenderManager::GetRenderQueue(), and Dali::Internal::SceneGraph::RenderManager::Render().

ResourcePostProcessList& Dali::Internal::SceneGraph::RenderManager::Impl::resourcePostProcessQueue

A queue for requesting resource post processing in update thread.

Definition at line 135 of file render-manager.cpp.

Referenced by Dali::Internal::SceneGraph::RenderManager::DispatchPostProcessRequest(), and Dali::Internal::SceneGraph::RenderManager::Render().

SamplerOwnerContainer Dali::Internal::SceneGraph::RenderManager::Impl::samplerContainer
TextureCache Dali::Internal::SceneGraph::RenderManager::Impl::textureCache
Render::UniformNameCache Dali::Internal::SceneGraph::RenderManager::Impl::uniformNameCache

Cache to provide unique indices for uniforms.

Definition at line 134 of file render-manager.cpp.

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


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