![]() |
Project
|
#include <GPUDisplayFrontendGlut.h>
Inherits o2::gpu::GPUDisplayFrontend.
Public Member Functions | |
GPUDisplayFrontendGlut () | |
~GPUDisplayFrontendGlut () override=default | |
int32_t | StartDisplay () override |
void | DisplayExit () override |
void | SwitchFullscreen (bool set) override |
void | ToggleMaximized (bool set) override |
void | SetVSync (bool enable) override |
void | OpenGLPrint (const char *s, float x, float y, float r, float g, float b, float a, bool fromBotton=true) override |
![]() | |
GPUDisplayFrontend ()=default | |
~GPUDisplayFrontend () override | |
bool | EnableSendKey () override |
GPUDisplayBackend * | backend () |
virtual void | getSize (int32_t &width, int32_t &height) |
virtual int32_t | getVulkanSurface (void *instance, void *surface) |
virtual uint32_t | getReqVulkanExtensions (const char **&p) |
int32_t | getDisplayControl () const override |
int32_t | getSendKey () const override |
int32_t | getNeedUpdate () const override |
void | setDisplayControl (int32_t v) override |
void | setSendKey (int32_t v) override |
void | setNeedUpdate (int32_t v) override |
frontendTypes | frontendType () const |
const char * | frontendName () const override |
int32_t | startGUI () |
void | stopGUI () |
bool | isGUIRunning () |
![]() | |
virtual | ~GPUDisplayFrontendInterface () |
Additional Inherited Members | |
![]() | |
enum | frontendTypes { TYPE_INVALID = -1 , TYPE_WIN32 = 0 , TYPE_X11 = 1 , TYPE_GLUT = 2 , TYPE_GLFW = 3 , TYPE_WAYLAND = 4 } |
![]() | |
static GPUDisplayFrontend * | getFrontend (const char *type) |
![]() | |
static GPUDisplayFrontendInterface * | getFrontend (const char *type) |
![]() | |
volatile int32_t | mDisplayControl = 0 |
volatile int32_t | mSendKey = 0 |
volatile int32_t | mNeedUpdate = 0 |
![]() | |
static constexpr int32_t | GL_MIN_VERSION_MAJOR = 4 |
static constexpr int32_t | GL_MIN_VERSION_MINOR = 5 |
![]() | |
void | HandleKey (uint8_t key) |
int32_t | DrawGLScene () |
void | HandleSendKey () |
void | ResizeScene (int32_t width, int32_t height) |
int32_t | InitDisplay (bool initFailure=false) |
void | ExitDisplay () |
int32_t & | drawTextFontSize () |
![]() | |
GPUDisplayFrontendInterface () | |
![]() | |
static void * | FrontendThreadWrapper (void *) |
![]() | |
bool | mMouseDn = false |
bool | mMouseDnR = false |
float | mMouseDnX |
float | mMouseDnY |
float | mMouseMvX |
float | mMouseMvY |
int32_t | mMouseWheel = 0 |
bool | mKeys [256] = {false} |
bool | mKeysShift [256] = {false} |
int32_t | mDisplayHeight = INIT_HEIGHT |
int32_t | mDisplayWidth = INIT_WIDTH |
int32_t | mCanDrawText = 0 |
int32_t | mMaxFPSRate = 0 |
GPUDisplay * | mDisplay = nullptr |
GPUDisplayBackend * | mBackend = nullptr |
frontendTypes | mFrontendType = TYPE_INVALID |
const char * | mFrontendName = nullptr |
std::unique_ptr< GPUDisplayGUIWrapper > | mGUI |
![]() | |
static constexpr int32_t | INIT_WIDTH = 1024 |
static constexpr int32_t | INIT_HEIGHT = 768 |
static constexpr const char * | DISPLAY_WINDOW_NAME = "GPU CA Standalone Event Display" |
static constexpr int32_t | KEY_UP = 1 |
static constexpr int32_t | KEY_DOWN = 2 |
static constexpr int32_t | KEY_LEFT = 3 |
static constexpr int32_t | KEY_RIGHT = 4 |
static constexpr int32_t | KEY_PAGEUP = 5 |
static constexpr int32_t | KEY_PAGEDOWN = 6 |
static constexpr int32_t | KEY_SHIFT = 8 |
static constexpr int32_t | KEY_ALT = 9 |
static constexpr int32_t | KEY_RALT = 10 |
static constexpr int32_t | KEY_CTRL = 11 |
static constexpr int32_t | KEY_RCTRL = 12 |
static constexpr int32_t | KEY_ENTER = 13 |
static constexpr int32_t | KEY_F1 = 14 |
static constexpr int32_t | KEY_F2 = 15 |
static constexpr int32_t | KEY_F3 = 26 |
static constexpr int32_t | KEY_F4 = 17 |
static constexpr int32_t | KEY_F5 = 18 |
static constexpr int32_t | KEY_F6 = 19 |
static constexpr int32_t | KEY_F7 = 20 |
static constexpr int32_t | KEY_F8 = 21 |
static constexpr int32_t | KEY_F9 = 22 |
static constexpr int32_t | KEY_F10 = 23 |
static constexpr int32_t | KEY_F11 = 24 |
static constexpr int32_t | KEY_F12 = 25 |
static constexpr int32_t | KEY_INSERT = 26 |
static constexpr int32_t | KEY_ESCAPE = 27 |
static constexpr int32_t | KEY_HOME = 28 |
static constexpr int32_t | KEY_END = 29 |
static constexpr int32_t | KEY_SPACE = 32 |
Definition at line 23 of file GPUDisplayFrontendGlut.h.
GPUDisplayFrontendGlut::GPUDisplayFrontendGlut | ( | ) |
Definition at line 29 of file GPUDisplayFrontendGlut.cxx.
|
overridedefault |
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 276 of file GPUDisplayFrontendGlut.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 288 of file GPUDisplayFrontendGlut.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 311 of file GPUDisplayFrontendGlut.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 313 of file GPUDisplayFrontendGlut.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 300 of file GPUDisplayFrontendGlut.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 310 of file GPUDisplayFrontendGlut.cxx.