![]() |
Project
|
#include <GPUDisplayBackendOpenGL.h>
Inherits o2::gpu::GPUDisplayBackend.
Classes | |
| struct | FontSymbolOpenGL |
Public Member Functions | |
| GPUDisplayBackendOpenGL () | |
| ~GPUDisplayBackendOpenGL () override=default | |
| int32_t | ExtInit () override |
| bool | CoreProfile () override |
| bool | canLimitToVSync () const override |
| uint32_t | DepthBits () override |
Public Member Functions inherited from o2::gpu::GPUDisplayBackend | |
| GPUDisplayBackend () | |
| virtual | ~GPUDisplayBackend () |
| virtual void | SetVSync (bool enable) |
| int32_t | fpsLimitMode () const |
| virtual bool | backendNeedRedraw () |
| int32_t | InitBackend () |
| void | updateFontScale (float scale) |
| void | ExitBackend () |
| backendTypes | backendType () const |
| const char * | backendName () const |
| std::vector< char > | getPixels () |
| virtual float | getYFactor () const |
| virtual int32_t | getMaxMSAA () const |
Protected Member Functions | |
| void | createFB (GLfb &fb, bool tex, bool withDepth, bool msaa, uint32_t width, uint32_t height) |
| void | deleteFB (GLfb &fb) |
| uint32_t | drawVertices (const vboList &v, const drawType t) override |
| uint32_t | drawField () override |
| void | ActivateColor (std::array< float, 4 > &color) override |
| void | setQuality () override |
| void | setDepthBuffer () override |
| void | setFrameBuffer (uint32_t newID=0) |
| int32_t | InitBackendA () override |
| int32_t | InitMagFieldVisualization () |
| void | ExitBackendA () override |
| void | ExitMagFieldVisualization () |
| void | clearScreen (bool alphaOnly=false) |
| void | loadDataToGPU (size_t totalVertizes) override |
| bool | prepareDraw (const hmm_mat4 &proj, const hmm_mat4 &view, bool requestScreenshot, bool toMixBuffer, float includeMixImage) override |
| void | resizeScene (uint32_t width, uint32_t height) override |
| void | updateRenderer (bool withScreenshot) |
| void | ClearOffscreenBuffers () |
| void | finishDraw (bool doScreenshot, bool toMixBuffer, float includeMixImage) override |
| void | finishFrame (bool doScreenshot, bool toMixBuffer, float includeMixImage) override |
| void | prepareText () override |
| void | finishText () override |
| void | mixImages (float mixSlaveImage) |
| void | drawDownsample (uint32_t srcTexture, uint32_t dstFramebuffer, uint32_t width, uint32_t height, int32_t factor) |
| void | pointSizeFactor (float factor) override |
| void | lineWidthFactor (float factor) override |
| size_t | needMultiVBO () override |
| void | readImageToPixels () |
| void | addFontSymbol (int32_t symbol, int32_t sizex, int32_t sizey, int32_t offsetx, int32_t offsety, int32_t advance, void *data) override |
| void | initializeTextDrawing () override |
| void | clearFontSymbols () override |
| void | OpenGLPrint (const char *s, float x, float y, float *color, float scale) override |
Protected Member Functions inherited from o2::gpu::GPUDisplayBackend | |
| void | loadFont () |
| float | getDownsampleFactor (bool screenshot=false) |
| void | fillIndirectCmdBuffer () |
| bool | smoothFont () |
Static Protected Member Functions | |
| static int32_t | checkShaderStatus (uint32_t shader) |
| static int32_t | checkProgramStatus (uint32_t program) |
| static uint32_t | loadShader (uint32_t type, const char *spirv, size_t size) |
Static Protected Attributes | |
| static constexpr int32_t | UNIFORM_LOCATION_MATRIX = 0 |
| static constexpr int32_t | UNIFORM_LOCATION_COLOR = 4 |
| static constexpr int32_t | UNIFORM_LOCATION_POINT_SIZE = 5 |
| static constexpr int32_t | UNIFORM_LOCATION_VIEWPORT = 6 |
| static constexpr int32_t | UNIFORM_LOCATION_LINE_WIDTH = 7 |
Static Protected Attributes inherited from o2::gpu::GPUDisplayBackend | |
| static constexpr float | SMOOTH_POINT_EXTRA_SIZE = 0.6f |
| static constexpr float | SMOOTH_LINE_EXTRA_WIDTH = 0.8f |
Additional Inherited Members | |
Public Types inherited from o2::gpu::GPUDisplayBackend | |
| enum | drawType { POINTS = 0 , LINES = 1 , LINE_STRIP = 2 } |
| enum | backendTypes { TYPE_INVALID = -1 , TYPE_OPENGL = 0 , TYPE_VULKAN = 1 , TYPE_NONE = 2 } |
| enum | fpsLimitModes : int32_t { FPS_LIMIT_NONE = 0 , FPS_LIMIT_VSYNC = 1 , FPS_LIMIT_RATE = 2 } |
| typedef std::tuple< uint32_t, uint32_t, int32_t > | vboList |
Static Public Member Functions inherited from o2::gpu::GPUDisplayBackend | |
| static GPUDisplayBackend * | getBackend (const char *type) |
Definition at line 31 of file GPUDisplayBackendOpenGL.h.
| GPUDisplayBackendOpenGL::GPUDisplayBackendOpenGL | ( | ) |
Definition at line 49 of file GPUDisplayBackendOpenGL.cxx.
|
overridedefault |
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 223 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 735 of file GPUDisplayBackendOpenGL.cxx.
|
overridevirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 64 of file GPUDisplayBackendOpenGL.cxx.
|
staticprotected |
Definition at line 288 of file GPUDisplayBackendOpenGL.cxx.
|
staticprotected |
Definition at line 272 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 767 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 831 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 444 of file GPUDisplayBackendOpenGL.cxx.
|
overridevirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 69 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 98 of file GPUDisplayBackendOpenGL.cxx.
Definition at line 158 of file GPUDisplayBackendOpenGL.cxx.
|
overridevirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 89 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 647 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 110 of file GPUDisplayBackendOpenGLMagneticField.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 176 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 404 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 148 of file GPUDisplayBackendOpenGLMagneticField.cxx.
|
overridevirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 55 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 557 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 613 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 638 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 304 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 777 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 48 of file GPUDisplayBackendOpenGLMagneticField.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 724 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 460 of file GPUDisplayBackendOpenGL.cxx.
|
staticprotected |
Definition at line 41 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 666 of file GPUDisplayBackendOpenGL.cxx.
|
inlineoverrideprotectedvirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 72 of file GPUDisplayBackendOpenGL.h.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 790 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 715 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 479 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 615 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 588 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 844 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Implements o2::gpu::GPUDisplayBackend.
Definition at line 250 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 260 of file GPUDisplayBackendOpenGL.cxx.
|
overrideprotectedvirtual |
Reimplemented from o2::gpu::GPUDisplayBackend.
Definition at line 241 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 852 of file GPUDisplayBackendOpenGL.cxx.
|
protected |
Definition at line 123 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 122 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 119 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 118 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 116 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 91 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 101 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 95 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 93 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 99 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 98 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 102 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 114 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 53 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 131 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 132 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 132 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 103 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 110 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 111 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 106 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 104 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 108 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 109 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 121 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 120 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 107 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 105 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 115 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 112 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 90 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 100 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 97 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 94 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 92 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 96 of file GPUDisplayBackendOpenGL.h.
|
staticconstexprprotected |
Definition at line 76 of file GPUDisplayBackendOpenGL.h.
|
staticconstexprprotected |
Definition at line 79 of file GPUDisplayBackendOpenGL.h.
|
staticconstexprprotected |
Definition at line 75 of file GPUDisplayBackendOpenGL.h.
|
staticconstexprprotected |
Definition at line 77 of file GPUDisplayBackendOpenGL.h.
|
staticconstexprprotected |
Definition at line 78 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 129 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 125 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 127 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 129 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 125 of file GPUDisplayBackendOpenGL.h.
|
protected |
Definition at line 127 of file GPUDisplayBackendOpenGL.h.