#include <GPUDisplayFrontend.h>
Inherits o2::gpu::GPUDisplayFrontendInterface.
Inherited by o2::gpu::GPUDisplayFrontendGlfw, o2::gpu::GPUDisplayFrontendGlut, o2::gpu::GPUDisplayFrontendNone, o2::gpu::GPUDisplayFrontendWayland, o2::gpu::GPUDisplayFrontendWindows, and o2::gpu::GPUDisplayFrontendX11.
Definition at line 29 of file GPUDisplayFrontend.h.
◆ frontendTypes
Enumerator |
---|
TYPE_INVALID | |
TYPE_WIN32 | |
TYPE_X11 | |
TYPE_GLUT | |
TYPE_GLFW | |
TYPE_WAYLAND | |
Definition at line 37 of file GPUDisplayFrontend.h.
◆ GPUDisplayFrontend()
o2::gpu::GPUDisplayFrontend::GPUDisplayFrontend |
( |
| ) |
|
|
default |
◆ ~GPUDisplayFrontend()
GPUDisplayFrontend::~GPUDisplayFrontend |
( |
| ) |
|
|
overridedefault |
◆ backend()
◆ DisplayExit()
void o2::gpu::GPUDisplayFrontend::DisplayExit |
( |
| ) |
|
|
overridepure virtual |
◆ DrawGLScene()
int32_t GPUDisplayFrontend::DrawGLScene |
( |
| ) |
|
|
protected |
◆ drawTextFontSize()
int32_t & GPUDisplayFrontend::drawTextFontSize |
( |
| ) |
|
|
protected |
◆ EnableSendKey()
bool GPUDisplayFrontend::EnableSendKey |
( |
| ) |
|
|
overridevirtual |
◆ ExitDisplay()
void GPUDisplayFrontend::ExitDisplay |
( |
| ) |
|
|
protected |
◆ FrontendMain()
virtual int32_t o2::gpu::GPUDisplayFrontend::FrontendMain |
( |
| ) |
|
|
protectedpure virtual |
◆ frontendName()
const char * o2::gpu::GPUDisplayFrontend::frontendName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ FrontendThreadWrapper()
void * GPUDisplayFrontend::FrontendThreadWrapper |
( |
void * |
ptr | ) |
|
|
staticprotected |
◆ frontendType()
frontendTypes o2::gpu::GPUDisplayFrontend::frontendType |
( |
| ) |
const |
|
inline |
◆ getDisplayControl()
int32_t o2::gpu::GPUDisplayFrontend::getDisplayControl |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getFrontend()
◆ getNeedUpdate()
int32_t o2::gpu::GPUDisplayFrontend::getNeedUpdate |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getReqVulkanExtensions()
virtual uint32_t o2::gpu::GPUDisplayFrontend::getReqVulkanExtensions |
( |
const char **& |
p | ) |
|
|
inlinevirtual |
◆ getSendKey()
int32_t o2::gpu::GPUDisplayFrontend::getSendKey |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getSize()
virtual void o2::gpu::GPUDisplayFrontend::getSize |
( |
int32_t & |
width, |
|
|
int32_t & |
height |
|
) |
| |
|
inlinevirtual |
◆ getVulkanSurface()
virtual int32_t o2::gpu::GPUDisplayFrontend::getVulkanSurface |
( |
void * |
instance, |
|
|
void * |
surface |
|
) |
| |
|
inlinevirtual |
◆ HandleKey()
void GPUDisplayFrontend::HandleKey |
( |
uint8_t |
key | ) |
|
|
protected |
◆ HandleSendKey()
void GPUDisplayFrontend::HandleSendKey |
( |
| ) |
|
|
protected |
◆ InitDisplay()
int32_t GPUDisplayFrontend::InitDisplay |
( |
bool |
initFailure = false | ) |
|
|
protected |
◆ isGUIRunning()
bool GPUDisplayFrontend::isGUIRunning |
( |
| ) |
|
◆ OpenGLPrint()
virtual void o2::gpu::GPUDisplayFrontend::OpenGLPrint |
( |
const char * |
s, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a, |
|
|
bool |
fromBotton = true |
|
) |
| |
|
pure virtual |
◆ ResizeScene()
void GPUDisplayFrontend::ResizeScene |
( |
int32_t |
width, |
|
|
int32_t |
height |
|
) |
| |
|
protected |
◆ setDisplayControl()
void o2::gpu::GPUDisplayFrontend::setDisplayControl |
( |
int32_t |
v | ) |
|
|
inlineoverridevirtual |
◆ setNeedUpdate()
void o2::gpu::GPUDisplayFrontend::setNeedUpdate |
( |
int32_t |
v | ) |
|
|
inlineoverridevirtual |
◆ setSendKey()
void o2::gpu::GPUDisplayFrontend::setSendKey |
( |
int32_t |
v | ) |
|
|
inlineoverridevirtual |
◆ SetVSync()
virtual void o2::gpu::GPUDisplayFrontend::SetVSync |
( |
bool |
enable | ) |
|
|
pure virtual |
◆ StartDisplay()
virtual int32_t o2::gpu::GPUDisplayFrontend::StartDisplay |
( |
| ) |
|
|
pure virtual |
◆ startGUI()
int32_t GPUDisplayFrontend::startGUI |
( |
| ) |
|
◆ stopGUI()
void GPUDisplayFrontend::stopGUI |
( |
| ) |
|
◆ SwitchFullscreen()
virtual void o2::gpu::GPUDisplayFrontend::SwitchFullscreen |
( |
bool |
set | ) |
|
|
pure virtual |
◆ ToggleMaximized()
virtual void o2::gpu::GPUDisplayFrontend::ToggleMaximized |
( |
bool |
set | ) |
|
|
pure virtual |
◆ GPUDisplay
◆ DISPLAY_WINDOW_NAME
constexpr const char* o2::gpu::GPUDisplayFrontend::DISPLAY_WINDOW_NAME = "GPU CA Standalone Event Display" |
|
staticconstexprprotected |
◆ GL_MIN_VERSION_MAJOR
constexpr int32_t o2::gpu::GPUDisplayFrontend::GL_MIN_VERSION_MAJOR = 4 |
|
staticconstexpr |
◆ GL_MIN_VERSION_MINOR
constexpr int32_t o2::gpu::GPUDisplayFrontend::GL_MIN_VERSION_MINOR = 5 |
|
staticconstexpr |
◆ INIT_HEIGHT
constexpr int32_t o2::gpu::GPUDisplayFrontend::INIT_HEIGHT = 768 |
|
staticprotected |
◆ INIT_WIDTH
constexpr int32_t o2::gpu::GPUDisplayFrontend::INIT_WIDTH = 1024 |
|
staticconstexprprotected |
◆ KEY_ALT
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_ALT = 9 |
|
staticconstexprprotected |
◆ KEY_CTRL
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_CTRL = 11 |
|
staticconstexprprotected |
◆ KEY_DOWN
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_DOWN = 2 |
|
staticconstexprprotected |
◆ KEY_END
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_END = 29 |
|
staticconstexprprotected |
◆ KEY_ENTER
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_ENTER = 13 |
|
staticconstexprprotected |
◆ KEY_ESCAPE
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_ESCAPE = 27 |
|
staticconstexprprotected |
◆ KEY_F1
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F1 = 14 |
|
staticconstexprprotected |
◆ KEY_F10
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F10 = 23 |
|
staticconstexprprotected |
◆ KEY_F11
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F11 = 24 |
|
staticconstexprprotected |
◆ KEY_F12
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F12 = 25 |
|
staticconstexprprotected |
◆ KEY_F2
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F2 = 15 |
|
staticconstexprprotected |
◆ KEY_F3
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F3 = 26 |
|
staticconstexprprotected |
◆ KEY_F4
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F4 = 17 |
|
staticconstexprprotected |
◆ KEY_F5
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F5 = 18 |
|
staticconstexprprotected |
◆ KEY_F6
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F6 = 19 |
|
staticconstexprprotected |
◆ KEY_F7
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F7 = 20 |
|
staticconstexprprotected |
◆ KEY_F8
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F8 = 21 |
|
staticconstexprprotected |
◆ KEY_F9
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_F9 = 22 |
|
staticconstexprprotected |
◆ KEY_HOME
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_HOME = 28 |
|
staticconstexprprotected |
◆ KEY_INSERT
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_INSERT = 26 |
|
staticconstexprprotected |
◆ KEY_LEFT
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_LEFT = 3 |
|
staticconstexprprotected |
◆ KEY_PAGEDOWN
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_PAGEDOWN = 6 |
|
staticconstexprprotected |
◆ KEY_PAGEUP
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_PAGEUP = 5 |
|
staticconstexprprotected |
◆ KEY_RALT
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_RALT = 10 |
|
staticconstexprprotected |
◆ KEY_RCTRL
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_RCTRL = 12 |
|
staticconstexprprotected |
◆ KEY_RIGHT
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_RIGHT = 4 |
|
staticconstexprprotected |
◆ KEY_SHIFT
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_SHIFT = 8 |
|
staticconstexprprotected |
◆ KEY_SPACE
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_SPACE = 32 |
|
staticconstexprprotected |
◆ KEY_UP
constexpr int32_t o2::gpu::GPUDisplayFrontend::KEY_UP = 1 |
|
staticconstexprprotected |
◆ mBackend
◆ mCanDrawText
int32_t o2::gpu::GPUDisplayFrontend::mCanDrawText = 0 |
|
protected |
◆ mDisplay
GPUDisplay* o2::gpu::GPUDisplayFrontend::mDisplay = nullptr |
|
protected |
◆ mDisplayControl
volatile int32_t o2::gpu::GPUDisplayFrontend::mDisplayControl = 0 |
◆ mDisplayHeight
int32_t o2::gpu::GPUDisplayFrontend::mDisplayHeight = INIT_HEIGHT |
|
protected |
◆ mDisplayWidth
int32_t o2::gpu::GPUDisplayFrontend::mDisplayWidth = INIT_WIDTH |
|
protected |
◆ mFrontendName
const char* o2::gpu::GPUDisplayFrontend::mFrontendName = nullptr |
|
protected |
◆ mFrontendType
◆ mGUI
◆ mKeys
bool o2::gpu::GPUDisplayFrontend::mKeys[256] = {false} |
|
protected |
◆ mKeysShift
bool o2::gpu::GPUDisplayFrontend::mKeysShift[256] = {false} |
|
protected |
◆ mMaxFPSRate
int32_t o2::gpu::GPUDisplayFrontend::mMaxFPSRate = 0 |
|
protected |
◆ mMouseDn
bool o2::gpu::GPUDisplayFrontend::mMouseDn = false |
|
protected |
◆ mMouseDnR
bool o2::gpu::GPUDisplayFrontend::mMouseDnR = false |
|
protected |
◆ mMouseDnX
float o2::gpu::GPUDisplayFrontend::mMouseDnX |
|
protected |
◆ mMouseDnY
float o2::gpu::GPUDisplayFrontend::mMouseDnY |
|
protected |
◆ mMouseMvX
float o2::gpu::GPUDisplayFrontend::mMouseMvX |
|
protected |
◆ mMouseMvY
float o2::gpu::GPUDisplayFrontend::mMouseMvY |
|
protected |
◆ mMouseWheel
int32_t o2::gpu::GPUDisplayFrontend::mMouseWheel = 0 |
|
protected |
◆ mNeedUpdate
volatile int32_t o2::gpu::GPUDisplayFrontend::mNeedUpdate = 0 |
◆ mSendKey
volatile int32_t o2::gpu::GPUDisplayFrontend::mSendKey = 0 |
The documentation for this class was generated from the following files: