![]() |
Project
|
#include <GPUDisplayFrontendWayland.h>
Inherits o2::gpu::GPUDisplayFrontend.
Public Member Functions | |
| GPUDisplayFrontendWayland () | |
| ~GPUDisplayFrontendWayland () override=default | |
| 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 |
| void | getSize (int32_t &width, int32_t &height) override |
| int32_t | getVulkanSurface (void *instance, void *surface) override |
| uint32_t | getReqVulkanExtensions (const char **&p) override |
Public Member Functions inherited from o2::gpu::GPUDisplayFrontend | |
| GPUDisplayFrontend ()=default | |
| ~GPUDisplayFrontend () override | |
| int32_t | StartDisplay () |
| bool | EnableSendKey () override |
| GPUDisplayBackend * | backend () |
| 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 () |
Public Member Functions inherited from o2::gpu::GPUDisplayFrontendInterface | |
| virtual | ~GPUDisplayFrontendInterface () |
Additional Inherited Members | |
Public Types inherited from o2::gpu::GPUDisplayFrontend | |
| enum | frontendTypes { TYPE_INVALID = -1 , TYPE_WIN32 = 0 , TYPE_X11 = 1 , TYPE_GLUT = 2 , TYPE_GLFW = 3 , TYPE_WAYLAND = 4 , TYPE_NONE = 5 } |
Static Public Member Functions inherited from o2::gpu::GPUDisplayFrontend | |
| static GPUDisplayFrontend * | getFrontend (const char *type) |
Static Public Member Functions inherited from o2::gpu::GPUDisplayFrontendInterface | |
| static GPUDisplayFrontendInterface * | getFrontend (const char *type) |
Public Attributes inherited from o2::gpu::GPUDisplayFrontend | |
| volatile int32_t | mDisplayControl = 0 |
| volatile int32_t | mSendKey = 0 |
| volatile int32_t | mNeedUpdate = 0 |
Static Public Attributes inherited from o2::gpu::GPUDisplayFrontend | |
| static constexpr int32_t | GL_MIN_VERSION_MAJOR = 4 |
| static constexpr int32_t | GL_MIN_VERSION_MINOR = 5 |
Protected Member Functions inherited from o2::gpu::GPUDisplayFrontend | |
| 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 () |
Protected Member Functions inherited from o2::gpu::GPUDisplayFrontendInterface | |
| GPUDisplayFrontendInterface () | |
Static Protected Member Functions inherited from o2::gpu::GPUDisplayFrontend | |
| static void * | FrontendThreadWrapper (void *) |
Protected Attributes inherited from o2::gpu::GPUDisplayFrontend | |
| 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 Protected Attributes inherited from o2::gpu::GPUDisplayFrontend | |
| 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 33 of file GPUDisplayFrontendWayland.h.
| GPUDisplayFrontendWayland::GPUDisplayFrontendWayland | ( | ) |
Definition at line 56 of file GPUDisplayFrontendWayland.cxx.
|
overridedefault |
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 444 of file GPUDisplayFrontendWayland.cxx.
|
overridevirtual |
Reimplemented from o2::gpu::GPUDisplayFrontend.
Definition at line 494 of file GPUDisplayFrontendWayland.cxx.
|
overridevirtual |
Reimplemented from o2::gpu::GPUDisplayFrontend.
Definition at line 478 of file GPUDisplayFrontendWayland.cxx.
|
overridevirtual |
Reimplemented from o2::gpu::GPUDisplayFrontend.
Definition at line 484 of file GPUDisplayFrontendWayland.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 62 of file GPUDisplayFrontendWayland.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 474 of file GPUDisplayFrontendWayland.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 456 of file GPUDisplayFrontendWayland.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayFrontend.
Definition at line 465 of file GPUDisplayFrontendWayland.cxx.