Project
Loading...
Searching...
No Matches
o2::gpu::GPUDisplay Class Reference

#include <GPUDisplay.h>

Inherits o2::gpu::GPUDisplayInterface.

Classes

struct  vtx
 

Public Member Functions

 GPUDisplay (GPUDisplayFrontend *frontend, GPUChainTracking *chain, GPUQA *qa, const GPUParam *param=nullptr, const GPUCalibObjectsConst *calib=nullptr, const GPUSettingsDisplay *config=nullptr)
 
 GPUDisplay (const GPUDisplay &)=delete
 
 ~GPUDisplay () override=default
 
int32_t StartDisplay () override
 
void ShowNextEvent (const GPUTrackingInOutPointers *ptrs=nullptr) override
 
void WaitForNextEvent () override
 
void SetCollisionFirstCluster (uint32_t collision, int32_t sector, int32_t cluster) override
 
void UpdateCalib (const GPUCalibObjectsConst *calib) override
 
void UpdateParam (const GPUParam *param) override
 
void HandleKey (uint8_t key)
 
int32_t DrawGLScene ()
 
void HandleSendKey (int32_t key)
 
int32_t InitDisplay (bool initFailure=false)
 
void ExitDisplay ()
 
void ResizeScene (int32_t width, int32_t height, bool init=false)
 
const GPUSettingsDisplayRenderer & cfgR () const
 
const GPUSettingsDisplayLight & cfgL () const
 
const GPUSettingsDisplayHeavy & cfgH () const
 
const GPUSettingsDisplay & cfg () const
 
bool useMultiVBO () const
 
int32_t updateDrawCommands () const
 
int32_t updateRenderPipeline () const
 
GPUDisplayBackendbackend () const
 
vecpod< int32_t > * vertexBufferStart ()
 
const vecpod< uint32_t > * vertexBufferCount () const
 
vecpod< vtx > * vertexBuffer ()
 
const GPUParamparam ()
 
GPUDisplayFrontendfrontend ()
 
bool drawTextInCompatMode () const
 
int32_t & drawTextFontSize ()
 
- Public Member Functions inherited from o2::gpu::GPUDisplayInterface
 GPUDisplayInterface (const GPUDisplayInterface &)=delete
 
virtual ~GPUDisplayInterface ()
 

Additional Inherited Members

- Static Public Member Functions inherited from o2::gpu::GPUDisplayInterface
static GPUDisplayInterfacegetDisplay (GPUDisplayFrontendInterface *frontend, GPUChainTracking *chain, GPUQA *qa, const GPUParam *param=nullptr, const GPUCalibObjectsConst *calib=nullptr, const GPUSettingsDisplay *config=nullptr)
 
- Protected Member Functions inherited from o2::gpu::GPUDisplayInterface
 GPUDisplayInterface ()
 

Detailed Description

Definition at line 38 of file GPUDisplay.h.

Constructor & Destructor Documentation

◆ GPUDisplay() [1/2]

GPUDisplay::GPUDisplay ( GPUDisplayFrontend frontend,
GPUChainTracking chain,
GPUQA qa,
const GPUParam param = nullptr,
const GPUCalibObjectsConst calib = nullptr,
const GPUSettingsDisplay *  config = nullptr 
)

Definition at line 56 of file GPUDisplay.cxx.

◆ GPUDisplay() [2/2]

o2::gpu::GPUDisplay::GPUDisplay ( const GPUDisplay )
delete

◆ ~GPUDisplay()

o2::gpu::GPUDisplay::~GPUDisplay ( )
overridedefault

Member Function Documentation

◆ backend()

GPUDisplayBackend * o2::gpu::GPUDisplay::backend ( ) const
inline

Definition at line 66 of file GPUDisplay.h.

◆ cfg()

const GPUSettingsDisplay & o2::gpu::GPUDisplay::cfg ( ) const
inline

Definition at line 62 of file GPUDisplay.h.

◆ cfgH()

const GPUSettingsDisplayHeavy & o2::gpu::GPUDisplay::cfgH ( ) const
inline

Definition at line 61 of file GPUDisplay.h.

◆ cfgL()

const GPUSettingsDisplayLight & o2::gpu::GPUDisplay::cfgL ( ) const
inline

Definition at line 60 of file GPUDisplay.h.

◆ cfgR()

const GPUSettingsDisplayRenderer & o2::gpu::GPUDisplay::cfgR ( ) const
inline

Definition at line 59 of file GPUDisplay.h.

◆ DrawGLScene()

int32_t GPUDisplay::DrawGLScene ( )

Definition at line 199 of file GPUDisplay.cxx.

◆ drawTextFontSize()

int32_t & o2::gpu::GPUDisplay::drawTextFontSize ( )
inline

Definition at line 77 of file GPUDisplay.h.

◆ drawTextInCompatMode()

bool o2::gpu::GPUDisplay::drawTextInCompatMode ( ) const
inline

Definition at line 76 of file GPUDisplay.h.

◆ ExitDisplay()

void GPUDisplay::ExitDisplay ( )

Definition at line 194 of file GPUDisplay.cxx.

◆ frontend()

GPUDisplayFrontend * o2::gpu::GPUDisplay::frontend ( )
inline

Definition at line 75 of file GPUDisplay.h.

◆ HandleKey()

void GPUDisplay::HandleKey ( uint8_t  key)

Definition at line 79 of file GPUDisplayKeys.cxx.

◆ HandleSendKey()

void GPUDisplay::HandleSendKey ( int32_t  key)

Definition at line 520 of file GPUDisplayKeys.cxx.

◆ InitDisplay()

int32_t GPUDisplay::InitDisplay ( bool  initFailure = false)

Definition at line 160 of file GPUDisplay.cxx.

◆ param()

const GPUParam * o2::gpu::GPUDisplay::param ( )
inline

Definition at line 74 of file GPUDisplay.h.

◆ ResizeScene()

void GPUDisplay::ResizeScene ( int32_t  width,
int32_t  height,
bool  init = false 
)

Definition at line 134 of file GPUDisplay.cxx.

◆ SetCollisionFirstCluster()

void GPUDisplay::SetCollisionFirstCluster ( uint32_t  collision,
int32_t  sector,
int32_t  cluster 
)
overridevirtual

Implements o2::gpu::GPUDisplayInterface.

Definition at line 109 of file GPUDisplay.cxx.

◆ ShowNextEvent()

void GPUDisplay::ShowNextEvent ( const GPUTrackingInOutPointers ptrs = nullptr)
overridevirtual

Implements o2::gpu::GPUDisplayInterface.

Definition at line 700 of file GPUDisplay.cxx.

◆ StartDisplay()

int32_t GPUDisplay::StartDisplay ( )
overridevirtual

Implements o2::gpu::GPUDisplayInterface.

Definition at line 715 of file GPUDisplay.cxx.

◆ UpdateCalib()

void o2::gpu::GPUDisplay::UpdateCalib ( const GPUCalibObjectsConst calib)
inlineoverridevirtual

Implements o2::gpu::GPUDisplayInterface.

Definition at line 49 of file GPUDisplay.h.

◆ updateDrawCommands()

int32_t o2::gpu::GPUDisplay::updateDrawCommands ( ) const
inline

Definition at line 64 of file GPUDisplay.h.

◆ UpdateParam()

void o2::gpu::GPUDisplay::UpdateParam ( const GPUParam param)
inlineoverridevirtual

Implements o2::gpu::GPUDisplayInterface.

Definition at line 50 of file GPUDisplay.h.

◆ updateRenderPipeline()

int32_t o2::gpu::GPUDisplay::updateRenderPipeline ( ) const
inline

Definition at line 65 of file GPUDisplay.h.

◆ useMultiVBO()

bool o2::gpu::GPUDisplay::useMultiVBO ( ) const
inline

Definition at line 63 of file GPUDisplay.h.

◆ vertexBuffer()

vecpod< vtx > * o2::gpu::GPUDisplay::vertexBuffer ( )
inline

Definition at line 73 of file GPUDisplay.h.

◆ vertexBufferCount()

const vecpod< uint32_t > * o2::gpu::GPUDisplay::vertexBufferCount ( ) const
inline

Definition at line 68 of file GPUDisplay.h.

◆ vertexBufferStart()

vecpod< int32_t > * o2::gpu::GPUDisplay::vertexBufferStart ( )
inline

Definition at line 67 of file GPUDisplay.h.

◆ WaitForNextEvent()

void GPUDisplay::WaitForNextEvent ( )
overridevirtual

Implements o2::gpu::GPUDisplayInterface.

Definition at line 713 of file GPUDisplay.cxx.


The documentation for this class was generated from the following files: