Dali 3D User Interface Engine
List of all members | Public Member Functions
Dali::Integration::ContextNotifierInterface Class Referenceabstract

Interface to inform dali core of context loss and regain. More...

#include <context-notifier.h>

Inheritance diagram for Dali::Integration::ContextNotifierInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void NotifyContextLost ()=0
 Notify that the GL context has been lost, e.g. More...
 
virtual void NotifyContextRegained ()=0
 Notify that the GL context has been re-created, e.g. More...
 

Detailed Description

Interface to inform dali core of context loss and regain.

Definition at line 28 of file context-notifier.h.

Member Function Documentation

virtual void Dali::Integration::ContextNotifierInterface::NotifyContextLost ( )
pure virtual

Notify that the GL context has been lost, e.g.

during ReplaceSurface or Pause.

Multi-threading note: this method should be called from the main thread

Implemented in Dali::Internal::Stage.

Referenced by Dali::Internal::Adaptor::Adaptor::ContextLost(), UtcDaliStageContextLostSignalP(), and UtcDaliStageContextRegainedSignalP().

Here is the caller graph for this function:

virtual void Dali::Integration::ContextNotifierInterface::NotifyContextRegained ( )
pure virtual

Notify that the GL context has been re-created, e.g.

after ReplaceSurface or Context loss.

In the case of ReplaceSurface, both ContextDestroyed() and ContextCreated() will have been called on the render thread before this is called on the event thread.

Multi-threading note: this method should be called from the main thread

Implemented in Dali::Internal::Stage.

Referenced by Dali::Internal::Adaptor::Adaptor::ContextRegained(), and UtcDaliStageContextRegainedSignalP().

Here is the caller graph for this function:


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