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

This abstraction defines an API for syncing CPU with GPU. More...

#include <gl-sync-abstraction.h>

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

Classes

class  SyncObject
 

Public Member Functions

virtual SyncObjectCreateSyncObject ()=0
 Create a synchronisation object based on the resource id, typically that of a framebuffer texture. More...
 
virtual void DestroySyncObject (SyncObject *syncObject)=0
 Destroy the synchronisation object. More...
 

Protected Member Functions

virtual ~GlSyncAbstraction ()
 Virtual protected destructor, no deletion through this interface. More...
 

Detailed Description

This abstraction defines an API for syncing CPU with GPU.

A typical use case is to determine when GL draw calls have finished drawing to a framebuffer.

Definition at line 33 of file gl-sync-abstraction.h.

Constructor & Destructor Documentation

virtual Dali::Integration::GlSyncAbstraction::~GlSyncAbstraction ( )
inlineprotectedvirtual

Virtual protected destructor, no deletion through this interface.

Definition at line 39 of file gl-sync-abstraction.h.

Member Function Documentation

virtual SyncObject* Dali::Integration::GlSyncAbstraction::CreateSyncObject ( )
pure virtual

Create a synchronisation object based on the resource id, typically that of a framebuffer texture.

It can then be polled using the same resource id.

Returns
A pointer to an opaque sync object

Implemented in Dali::Internal::Adaptor::EglSyncImplementation, Dali::TestGlSyncAbstraction, Dali::TestGlSyncAbstraction, and Dali::TestGlSyncAbstraction.

Referenced by Dali::Internal::Render::RenderTracker::CreateSyncObject().

Here is the caller graph for this function:

virtual void Dali::Integration::GlSyncAbstraction::DestroySyncObject ( SyncObject syncObject)
pure virtual

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