Dali 3D User Interface Engine
List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::SceneGraph::RenderManager Class Reference

RenderManager is responsible for rendering the result of the previous "update", which is provided in a RenderCommand during UpdateManager::Update(). More...

#include <render-manager.h>

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

Classes

struct  Impl
 Structure to contain internal data. More...
 

Public Member Functions

 ~RenderManager ()
 Non-virtual destructor; not intended as a base class. More...
 
RenderQueueGetRenderQueue ()
 Retrieve the RenderQueue. More...
 
TextureCacheGetTextureCache ()
 Retrieve the texture cache. More...
 
void ContextCreated ()
 Notify the Core that the GL context has been created. More...
 
void ContextDestroyed ()
  More...
 
virtual void DispatchPostProcessRequest (ResourcePostProcessRequest &request)
 Dispatch requests onto the postProcessResourcesQueue. More...
 
void SetShaderSaver (ShaderSaver &upstream)
 Set the upstream interface for compiled shader binaries to be sent back to for eventual caching and saving. More...
 
RenderInstructionContainerGetRenderInstructionContainer ()
 Retrieve the render instructions; these should be set during each "update" traversal. More...
 
void SetBackgroundColor (const Vector4 &color)
 Set the background color i.e. More...
 
void SetFrameDeltaTime (float deltaTime)
 
void SetDefaultSurfaceRect (const Rect< int > &rect)
 Returns the rectangle for the default surface (probably the application window). More...
 
void AddRenderer (Render::Renderer *renderer)
 Add a Renderer to the render manager. More...
 
void RemoveRenderer (Render::Renderer *renderer)
 Remove a Renderer from the render manager. More...
 
void AddSampler (Render::Sampler *sampler)
 Add a sampler to the render manager. More...
 
void RemoveSampler (Render::Sampler *sampler)
 Remove a sampler from the render manager. More...
 
void SetFilterMode (Render::Sampler *sampler, unsigned int minFilterMode, unsigned int magFilterMode)
 Set minification and magnification filter modes for a sampler. More...
 
void SetWrapMode (Render::Sampler *sampler, unsigned int uWrapMode, unsigned int vWrapMode)
 Set wrapping mode for a sampler. More...
 
void AddPropertyBuffer (Render::PropertyBuffer *propertyBuffer)
 Add a property buffer to the render manager. More...
 
void RemovePropertyBuffer (Render::PropertyBuffer *propertyBuffer)
 Remove a property buffer from the render manager. More...
 
void AddGeometry (RenderGeometry *geometry)
 Add a geometry to the render manager. More...
 
void RemoveGeometry (RenderGeometry *geometry)
 Remove a geometry from the render manager. More...
 
void AddPropertyBuffer (RenderGeometry *renderGeometry, Render::PropertyBuffer *propertyBuffer, bool isIndexBuffer)
 Adds a property buffer to a RenderGeometry from the render manager. More...
 
void RemovePropertyBuffer (RenderGeometry *renderGeometry, Render::PropertyBuffer *propertyBuffer)
 Remove a property buffer from a RenderGeometry from the render manager. More...
 
void SetPropertyBufferFormat (Render::PropertyBuffer *propertyBuffer, Render::PropertyBuffer::Format *format)
 Sets the format of an existing property buffer. More...
 
void SetPropertyBufferData (Render::PropertyBuffer *propertyBuffer, Dali::Vector< char > *data)
 Sets the data of an existing property buffer. More...
 
void SetPropertyBufferSize (Render::PropertyBuffer *propertyBuffer, size_t size)
 Sets the size of an existing property buffer. More...
 
void SetGeometryType (RenderGeometry *geometry, int geometryType)
 Set the geometry type of an existing render geometry. More...
 
void SetGeometryRequiresDepthTest (RenderGeometry *geometry, bool requiresDepthTest)
 Set if an existing geometry requires depth testing. More...
 
void AddRenderTracker (Render::RenderTracker *renderTracker)
 Adds a render tracker to the RenderManager. More...
 
void RemoveRenderTracker (Render::RenderTracker *renderTracker)
 Removes a render tracker from the RenderManager. More...
 
void SetDefaultShader (Shader *shader)
 Set the default shader that is to be used in absence of custom shader. More...
 
ProgramCacheGetProgramCache ()
 returns the Program controller for sending program messages More...
 
bool Render (Integration::RenderStatus &status)
 Renders the results of the previous "update" traversal. More...
 

Static Public Member Functions

static RenderManagerNew (Integration::GlAbstraction &glAbstraction, Integration::GlSyncAbstraction &glSyncAbstraction, ResourcePostProcessList &resourcePostProcessQueue)
 Construct a new RenderManager. More...
 

Private Member Functions

void DoRender (RenderInstruction &instruction, Shader &defaultShader)
 Helper to process a single RenderInstruction. More...
 
 RenderManager ()
 Construct a new RenderManager. More...
 
 RenderManager (const RenderManager &)
 
RenderManageroperator= (const RenderManager &rhs)
 

Private Attributes

ImplmImpl
 

Additional Inherited Members

- Protected Member Functions inherited from Dali::Internal::SceneGraph::PostProcessResourceDispatcher
virtual ~PostProcessResourceDispatcher ()
 Virtual destructor. More...
 

Detailed Description

RenderManager is responsible for rendering the result of the previous "update", which is provided in a RenderCommand during UpdateManager::Update().

Definition at line 68 of file render-manager.h.

Constructor & Destructor Documentation

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

Non-virtual destructor; not intended as a base class.

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

References mImpl.

Dali::Internal::SceneGraph::RenderManager::RenderManager ( )
private

Construct a new RenderManager.

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

Referenced by New().

Here is the caller graph for this function:

Dali::Internal::SceneGraph::RenderManager::RenderManager ( const RenderManager )
private

Member Function Documentation

void Dali::Internal::SceneGraph::RenderManager::AddGeometry ( RenderGeometry geometry)

Add a geometry to the render manager.

Parameters
[in]geometryThe geometry to add.
Postcondition
geometry is owned by RenderManager

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

References mImpl, Dali::Vector< T, IsTrivialType >::PushBack(), and Dali::Internal::SceneGraph::RenderManager::Impl::renderGeometryContainer.

Referenced by Dali::Internal::SceneGraph::RenderMessageDispatcher::AddGeometry().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::AddPropertyBuffer ( Render::PropertyBuffer propertyBuffer)

Add a property buffer to the render manager.

Parameters
[in]propertyBufferThe property buffer to add.
Postcondition
propertBuffer is owned by RenderManager

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

References mImpl, Dali::Internal::SceneGraph::RenderManager::Impl::propertyBufferContainer, and Dali::Vector< T, IsTrivialType >::PushBack().

Referenced by Dali::Internal::SceneGraph::RenderMessageDispatcher::AddPropertyBuffer(), and Dali::Internal::SceneGraph::UpdateManager::AddPropertyBuffer().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::AddPropertyBuffer ( RenderGeometry renderGeometry,
Render::PropertyBuffer propertyBuffer,
bool  isIndexBuffer 
)

Adds a property buffer to a RenderGeometry from the render manager.

Parameters
[in]geometryThe geometry
[in]propertyBufferThe property buffer to remove.
[in]isIndexBufferTrue if the property buffer is intended to be used as an index buffer

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

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_DEBUG, Dali::Vector< T, IsTrivialType >::End(), mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::renderGeometryContainer.

Here is the call graph for this function:

void Dali::Internal::SceneGraph::RenderManager::AddRenderer ( Render::Renderer renderer)
void Dali::Internal::SceneGraph::RenderManager::AddRenderTracker ( Render::RenderTracker renderTracker)

Adds a render tracker to the RenderManager.

RenderManager takes ownership of the tracker. The lifetime of the tracker is related to the lifetime of the tracked object, usually an offscreen render task.

Parameters
[in]renderTrackerThe render tracker

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

References Dali::Internal::SceneGraph::RenderManager::Impl::AddRenderTracker(), and mImpl.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::AddSampler ( Render::Sampler sampler)

Add a sampler to the render manager.

Parameters
[in]samplerThe sampler to add.
Postcondition
sampler is owned by RenderManager

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

References mImpl, Dali::Vector< T, IsTrivialType >::PushBack(), and Dali::Internal::SceneGraph::RenderManager::Impl::samplerContainer.

Referenced by Dali::Internal::SceneGraph::UpdateManager::AddSampler().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::ContextCreated ( )

Notify the Core that the GL context has been created.

The context must be created before the Core can render. Multi-threading note: this method should be called from the rendering thread only

Postcondition
The Core is aware of the GL context.

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

References Dali::Internal::SceneGraph::RenderManager::Impl::context, Dali::Internal::Context::GlContextCreated(), Dali::Internal::ProgramController::GlContextCreated(), mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::programController.

Here is the call graph for this function:

void Dali::Internal::SceneGraph::RenderManager::ContextDestroyed ( )
void Dali::Internal::SceneGraph::RenderManager::DispatchPostProcessRequest ( ResourcePostProcessRequest request)
virtual

Dispatch requests onto the postProcessResourcesQueue.

Parameters
[in]requestThe request to dispatch

Implements Dali::Internal::SceneGraph::PostProcessResourceDispatcher.

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

References mImpl, Dali::Internal::SceneGraph::RenderManager::Impl::renderBufferIndex, and Dali::Internal::SceneGraph::RenderManager::Impl::resourcePostProcessQueue.

void Dali::Internal::SceneGraph::RenderManager::DoRender ( RenderInstruction instruction,
Shader defaultShader 
)
private

Helper to process a single RenderInstruction.

Parameters
[in]instructionA description of the rendering operation.
[in]defaultShaderdefault shader to use.

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

References Dali::Vector4::a, Dali::Vector4::b, Dali::Internal::Context::BindFramebuffer(), Dali::Internal::Context::CHECK_CACHED_VALUES, Dali::Internal::Context::Clear(), Dali::Internal::Context::ClearColor(), Dali::Internal::Context::ColorMask(), Dali::Internal::SceneGraph::RenderManager::Impl::context, Dali::Internal::Render::RenderTracker::CreateSyncObject(), DALI_ASSERT_DEBUG, Dali::RenderTask::DEFAULT_CLEAR_COLOR, Dali::Internal::SceneGraph::RenderManager::Impl::defaultSurfaceRect, Dali::Vector4::g, Dali::Internal::SceneGraph::TextureCache::GetFramebuffer(), Dali::Internal::Texture::GetHeight(), Dali::Internal::Texture::GetWidth(), GL_COLOR_BUFFER_BIT, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, Dali::Internal::SceneGraph::RenderManager::Impl::glSyncAbstraction, Dali::Rect< T >::height, Dali::Internal::Context::InvalidateFramebuffer(), Dali::Internal::SceneGraph::RenderInstruction::mClearColor, mImpl, Dali::Internal::SceneGraph::RenderInstruction::mIsClearColorSet, Dali::Internal::SceneGraph::RenderInstruction::mIsViewportSet, Dali::Internal::SceneGraph::RenderInstruction::mOffscreenTextureId, Dali::Internal::SceneGraph::RenderInstruction::mRenderTracker, Dali::Internal::SceneGraph::RenderInstruction::mViewport, Dali::Internal::FrameBufferTexture::Prepare(), Dali::Internal::Render::ProcessRenderInstruction(), Dali::Vector4::r, Dali::Internal::SceneGraph::RenderManager::Impl::renderBufferIndex, Dali::Internal::Context::Scissor(), Dali::Rect< T >::Set(), Dali::Internal::Context::SetScissorTest(), Dali::Internal::SceneGraph::RenderManager::Impl::textureCache, Dali::Internal::Context::Viewport(), Dali::Rect< T >::width, Dali::Rect< T >::x, and Dali::Rect< T >::y.

Referenced by Render().

Here is the call graph for this function:

Here is the caller graph for this function:

ProgramCache * Dali::Internal::SceneGraph::RenderManager::GetProgramCache ( )

returns the Program controller for sending program messages

Returns
the ProgramController

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

References mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::programController.

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetShaderProgram().

Here is the caller graph for this function:

RenderInstructionContainer & Dali::Internal::SceneGraph::RenderManager::GetRenderInstructionContainer ( )

Retrieve the render instructions; these should be set during each "update" traversal.

Returns
The render instruction container.

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

References Dali::Internal::SceneGraph::RenderManager::Impl::instructions, and mImpl.

RenderQueue & Dali::Internal::SceneGraph::RenderManager::GetRenderQueue ( )

Retrieve the RenderQueue.

Messages should only be added to this from the update-thread.

Returns
The render queue.

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

References mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::renderQueue.

TextureCache & Dali::Internal::SceneGraph::RenderManager::GetTextureCache ( )

Retrieve the texture cache.

Messages should only be sent to this from the update thread, accessor methods should only be used from the render thread.

Returns
The texture cache

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

References mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::textureCache.

RenderManager * Dali::Internal::SceneGraph::RenderManager::New ( Integration::GlAbstraction glAbstraction,
Integration::GlSyncAbstraction glSyncAbstraction,
ResourcePostProcessList resourcePostProcessQueue 
)
static

Construct a new RenderManager.

Parameters
[in]glAbstractionThe GL abstraction used for rendering.
[in]glSyncAbstractionThe GL sync abstraction used fence sync creation/deletion.
[out]resourcePostProcessQueueA queue for sending rendered texture ids to the update-thread.

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

References mImpl, and RenderManager().

Here is the call graph for this function:

RenderManager& Dali::Internal::SceneGraph::RenderManager::operator= ( const RenderManager rhs)
private
void Dali::Internal::SceneGraph::RenderManager::RemoveGeometry ( RenderGeometry geometry)

Remove a geometry from the render manager.

Parameters
[in]geometryThe geometry to remove.
Postcondition
geometry is destroyed.

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

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_DEBUG, Dali::Vector< T, IsTrivialType >::End(), Dali::OwnerContainer< T >::Erase(), mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::renderGeometryContainer.

Referenced by Dali::Internal::SceneGraph::RenderMessageDispatcher::RemoveGeometry().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::RemovePropertyBuffer ( Render::PropertyBuffer propertyBuffer)

Remove a property buffer from the render manager.

Parameters
[in]propertyBufferThe property buffer to remove.
Postcondition
propertyBuffer is destroyed.

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

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_DEBUG, Dali::Vector< T, IsTrivialType >::End(), Dali::OwnerContainer< T >::Erase(), mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::propertyBufferContainer.

Referenced by Dali::Internal::SceneGraph::RenderMessageDispatcher::RemovePropertyBuffer(), and Dali::Internal::SceneGraph::UpdateManager::RemovePropertyBuffer().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::RemovePropertyBuffer ( RenderGeometry renderGeometry,
Render::PropertyBuffer propertyBuffer 
)

Remove a property buffer from a RenderGeometry from the render manager.

Parameters
[in]geometryThe geometry
[in]propertyBufferThe property buffer to remove.
Postcondition
property buffer is destroyed.

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

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_DEBUG, Dali::Vector< T, IsTrivialType >::End(), mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::renderGeometryContainer.

Here is the call graph for this function:

void Dali::Internal::SceneGraph::RenderManager::RemoveRenderer ( Render::Renderer renderer)

Remove a Renderer from the render manager.

Parameters
[in]rendererThe renderer to remove.
Postcondition
renderer is destroyed.

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

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_DEBUG, Dali::Vector< T, IsTrivialType >::End(), Dali::OwnerContainer< T >::Erase(), mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::rendererContainer.

Referenced by Dali::Internal::SceneGraph::RenderMessageDispatcher::RemoveRenderer().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Removes a render tracker from the RenderManager.

Parameters
[in]renderTrackerThe render tracker to remove.

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

References mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::RemoveRenderTracker().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::RemoveSampler ( Render::Sampler sampler)

Remove a sampler from the render manager.

Parameters
[in]samplerThe sampler to remove.
Postcondition
sampler is destroyed.

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

References Dali::Vector< T, IsTrivialType >::Begin(), DALI_ASSERT_DEBUG, Dali::Vector< T, IsTrivialType >::End(), Dali::OwnerContainer< T >::Erase(), mImpl, and Dali::Internal::SceneGraph::RenderManager::Impl::samplerContainer.

Referenced by Dali::Internal::SceneGraph::UpdateManager::RemoveSampler().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Dali::Internal::SceneGraph::RenderManager::Render ( Integration::RenderStatus status)

Renders the results of the previous "update" traversal.

Parameters
[out]statuscontains the flag that indicates if render instructions exist
Returns
true if a further update is required

The rendering has finished; swap to the next buffer. Ideally the update has just finished using this buffer; otherwise the render thread should block until the update has finished.

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

References Dali::Vector4::a, Dali::Internal::SceneGraph::RenderInstructionContainer::At(), Dali::Vector4::b, Dali::Internal::SceneGraph::RenderManager::Impl::backgroundColor, Dali::Vector< T, IsTrivialType >::Begin(), Dali::Internal::Context::BindFramebuffer(), Dali::Internal::Context::Clear(), Dali::Internal::Context::ClearColor(), Dali::Internal::Context::ClearStencil(), Dali::Internal::Context::ColorMask(), Dali::Internal::SceneGraph::RenderManager::Impl::context, Dali::Internal::SceneGraph::RenderInstructionContainer::Count(), DALI_ASSERT_DEBUG, DALI_PRINT_RENDER_END, DALI_PRINT_RENDER_START, Dali::Internal::SceneGraph::RenderManager::Impl::defaultShader, Dali::Internal::SceneGraph::RenderManager::Impl::defaultSurfaceRect, Dali::Internal::Context::DepthMask(), DoRender(), Dali::Vector< T, IsTrivialType >::End(), Dali::Internal::SceneGraph::RenderManager::Impl::firstRenderCompleted, Dali::Internal::Context::FORCE_CLEAR, Dali::Internal::SceneGraph::RenderManager::Impl::frameCount, Dali::Vector4::g, GL_COLOR_BUFFER_BIT, GL_DEPTH, GL_DEPTH_BUFFER_BIT, GL_FRAMEBUFFER, GL_STENCIL, GL_STENCIL_BUFFER_BIT, Dali::Rect< T >::height, Dali::Internal::SceneGraph::RenderManager::Impl::instructions, Dali::Internal::Context::InvalidateFramebuffer(), Dali::Internal::Context::IsGlContextCreated(), mImpl, Dali::Internal::SceneGraph::RenderQueue::ProcessMessages(), Dali::Internal::SceneGraph::RenderManager::Impl::programController, Dali::Vector4::r, Dali::Internal::SceneGraph::RenderManager::Impl::renderBufferIndex, Dali::Internal::SceneGraph::RenderManager::Impl::renderersAdded, Dali::Internal::SceneGraph::RenderManager::Impl::renderGeometryContainer, Dali::Internal::SceneGraph::RenderInstruction::RenderListCount(), Dali::Internal::SceneGraph::RenderManager::Impl::renderQueue, Dali::Internal::ProgramController::ResetProgramMatrices(), Dali::Internal::SceneGraph::RenderManager::Impl::resourcePostProcessQueue, Dali::Integration::RenderStatus::SetHasRendered(), Dali::Internal::Context::SetScissorTest(), Dali::Internal::Context::StencilMask(), Dali::Internal::SceneGraph::RenderManager::Impl::UpdateTrackers(), Dali::Internal::Context::Viewport(), Dali::Rect< T >::width, Dali::Rect< T >::x, and Dali::Rect< T >::y.

Here is the call graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetBackgroundColor ( const Vector4 color)

Set the background color i.e.

the glClear color used at the beginning of each frame.

Parameters
[in]colorThe new background color.

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

References Dali::Internal::SceneGraph::RenderManager::Impl::backgroundColor, and mImpl.

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetBackgroundColor().

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetDefaultShader ( Shader shader)

Set the default shader that is to be used in absence of custom shader.

Parameters
[in]shaderthat is the default one

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

References Dali::Internal::SceneGraph::RenderManager::Impl::defaultShader, and mImpl.

Referenced by Dali::Internal::SceneGraph::UpdateManager::AddShader().

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetDefaultSurfaceRect ( const Rect< int > &  rect)

Returns the rectangle for the default surface (probably the application window).

Returns
Rectangle for the surface.

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

References Dali::Internal::SceneGraph::RenderManager::Impl::defaultSurfaceRect, and mImpl.

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetDefaultSurfaceRect().

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetFilterMode ( Render::Sampler sampler,
unsigned int  minFilterMode,
unsigned int  magFilterMode 
)

Set minification and magnification filter modes for a sampler.

Parameters
[in]minFilterModeFilter mode to use when the texture is minificated
[in]magFilterModeFilter mode to use when the texture is magnified

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

References Dali::Internal::Render::Sampler::SetFilterMode().

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetFilterMode().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetFrameDeltaTime ( float  deltaTime)
void Dali::Internal::SceneGraph::RenderManager::SetGeometryRequiresDepthTest ( RenderGeometry geometry,
bool  requiresDepthTest 
)

Set if an existing geometry requires depth testing.

Parameters
[in]geometryThe render geometry
[in]requiresDepthTestTrue if depth testing is required, false otherwise

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

References Dali::Internal::SceneGraph::RenderGeometry::SetRequiresDepthTest().

Referenced by Dali::Internal::SceneGraph::RenderMessageDispatcher::SetGeometryRequiresDepthTest().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetGeometryType ( RenderGeometry geometry,
int  geometryType 
)

Set the geometry type of an existing render geometry.

Parameters
[in]geometryThe render geometry
[in]geometryTypeThe new geometry type

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

References Dali::Internal::SceneGraph::RenderGeometry::SetGeometryType().

Referenced by Dali::Internal::SceneGraph::RenderMessageDispatcher::SetGeometryType().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetPropertyBufferData ( Render::PropertyBuffer propertyBuffer,
Dali::Vector< char > *  data 
)

Sets the data of an existing property buffer.

Parameters
[in]propertyBufferThe property buffer.
[in]dataThe new data of the buffer

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

References Dali::Internal::Render::PropertyBuffer::SetData().

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetPropertyBufferData().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetPropertyBufferFormat ( Render::PropertyBuffer propertyBuffer,
Render::PropertyBuffer::Format format 
)

Sets the format of an existing property buffer.

Parameters
[in]propertyBufferThe property buffer.
[in]formatThe new format of the buffer

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

References Dali::Internal::Render::PropertyBuffer::SetFormat().

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetPropertyBufferFormat().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetPropertyBufferSize ( Render::PropertyBuffer propertyBuffer,
size_t  size 
)

Sets the size of an existing property buffer.

Parameters
[in]propertyBufferThe property buffer.
[in]sizeThe new size of the buffer

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

References Dali::Internal::Render::PropertyBuffer::SetSize().

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetPropertyBufferSize().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetShaderSaver ( ShaderSaver upstream)

Set the upstream interface for compiled shader binaries to be sent back to for eventual caching and saving.

Parameters
[in]upstreamThe abstract interface to send any received ShaderDatas onwards to..
Note
This should be called during core initialisation if shader binaries are to be used.

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

References mImpl, Dali::Internal::SceneGraph::RenderManager::Impl::programController, and Dali::Internal::ProgramController::SetShaderSaver().

Here is the call graph for this function:

void Dali::Internal::SceneGraph::RenderManager::SetWrapMode ( Render::Sampler sampler,
unsigned int  uWrapMode,
unsigned int  vWrapMode 
)

Set wrapping mode for a sampler.

Parameters
[in]uWrapModeWrap mode in the x direction
[in]vWrapModeWrap mode in the y direction

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

References Dali::Internal::Render::Sampler::SetWrapMode().

Referenced by Dali::Internal::SceneGraph::UpdateManager::SetWrapMode().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Impl* Dali::Internal::SceneGraph::RenderManager::mImpl
private

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