#include <GPUDisplayBackendOpenGL.h>
Inherits o2::gpu::GPUDisplayBackend.
|
| 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 | GLPrintText (const char *s, float x, float y, float *color, float scale, uint32_t nCharacters) override |
| |
| void | GLDrawQuad (const float(&corners)[4][2], const float *color) override |
| |
| void | drawTextVertices (const float(&vertices)[6][4], uint32_t texId) |
| |
| void | loadFont () |
| |
| float | getDownsampleFactor (bool screenshot=false) |
| |
| void | fillIndirectCmdBuffer () |
| |
| bool | smoothFont () |
| |
Definition at line 31 of file GPUDisplayBackendOpenGL.h.
◆ GPUDisplayBackendOpenGL()
| GPUDisplayBackendOpenGL::GPUDisplayBackendOpenGL |
( |
| ) |
|
◆ ~GPUDisplayBackendOpenGL()
| o2::gpu::GPUDisplayBackendOpenGL::~GPUDisplayBackendOpenGL |
( |
| ) |
|
|
overridedefault |
◆ ActivateColor()
| void GPUDisplayBackendOpenGL::ActivateColor |
( |
std::array< float, 4 > & |
color | ) |
|
|
overrideprotectedvirtual |
◆ addFontSymbol()
◆ canLimitToVSync()
| bool GPUDisplayBackendOpenGL::canLimitToVSync |
( |
| ) |
const |
|
overridevirtual |
◆ checkProgramStatus()
◆ checkShaderStatus()
◆ clearFontSymbols()
| void GPUDisplayBackendOpenGL::clearFontSymbols |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ ClearOffscreenBuffers()
| void GPUDisplayBackendOpenGL::ClearOffscreenBuffers |
( |
| ) |
|
|
protected |
◆ clearScreen()
| void GPUDisplayBackendOpenGL::clearScreen |
( |
bool |
alphaOnly = false | ) |
|
|
protected |
◆ createFB()
◆ deleteFB()
| void GPUDisplayBackendOpenGL::deleteFB |
( |
GLfb & |
fb | ) |
|
|
protected |
◆ drawDownsample()
◆ drawField()
| uint32_t GPUDisplayBackendOpenGL::drawField |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ drawTextVertices()
| void GPUDisplayBackendOpenGL::drawTextVertices |
( |
const float(&) |
vertices[6][4], |
|
|
uint32_t |
texId |
|
) |
| |
|
protected |
◆ drawVertices()
◆ ExitBackendA()
| void GPUDisplayBackendOpenGL::ExitBackendA |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ ExitMagFieldVisualization()
| void GPUDisplayBackendOpenGL::ExitMagFieldVisualization |
( |
| ) |
|
|
protected |
◆ ExtInit()
| int32_t GPUDisplayBackendOpenGL::ExtInit |
( |
| ) |
|
|
overridevirtual |
◆ finishDraw()
| void GPUDisplayBackendOpenGL::finishDraw |
( |
bool |
doScreenshot, |
|
|
bool |
toMixBuffer, |
|
|
float |
includeMixImage |
|
) |
| |
|
overrideprotectedvirtual |
◆ finishFrame()
| void GPUDisplayBackendOpenGL::finishFrame |
( |
bool |
doScreenshot, |
|
|
bool |
toMixBuffer, |
|
|
float |
includeMixImage |
|
) |
| |
|
overrideprotectedvirtual |
◆ finishText()
| void GPUDisplayBackendOpenGL::finishText |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GLDrawQuad()
| void GPUDisplayBackendOpenGL::GLDrawQuad |
( |
const float(&) |
corners[4][2], |
|
|
const float * |
color |
|
) |
| |
|
overrideprotectedvirtual |
◆ GLPrintText()
◆ InitBackendA()
| int32_t GPUDisplayBackendOpenGL::InitBackendA |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ initializeTextDrawing()
| void GPUDisplayBackendOpenGL::initializeTextDrawing |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ InitMagFieldVisualization()
| int32_t GPUDisplayBackendOpenGL::InitMagFieldVisualization |
( |
| ) |
|
|
protected |
◆ lineWidthFactor()
| void GPUDisplayBackendOpenGL::lineWidthFactor |
( |
float |
factor | ) |
|
|
overrideprotectedvirtual |
◆ loadDataToGPU()
| void GPUDisplayBackendOpenGL::loadDataToGPU |
( |
size_t |
totalVertizes | ) |
|
|
overrideprotectedvirtual |
◆ loadShader()
◆ mixImages()
| void GPUDisplayBackendOpenGL::mixImages |
( |
float |
mixSlaveImage | ) |
|
|
protected |
◆ needMultiVBO()
| size_t o2::gpu::GPUDisplayBackendOpenGL::needMultiVBO |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ pointSizeFactor()
| void GPUDisplayBackendOpenGL::pointSizeFactor |
( |
float |
factor | ) |
|
|
overrideprotectedvirtual |
◆ prepareDraw()
◆ prepareText()
| void GPUDisplayBackendOpenGL::prepareText |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ readImageToPixels()
| void GPUDisplayBackendOpenGL::readImageToPixels |
( |
| ) |
|
|
protected |
◆ resizeScene()
◆ setDepthBuffer()
| void GPUDisplayBackendOpenGL::setDepthBuffer |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ setFrameBuffer()
| void GPUDisplayBackendOpenGL::setFrameBuffer |
( |
uint32_t |
newID = 0 | ) |
|
|
protected |
◆ setQuality()
| void GPUDisplayBackendOpenGL::setQuality |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ updateRenderer()
| void GPUDisplayBackendOpenGL::updateRenderer |
( |
bool |
withScreenshot | ) |
|
|
protected |
◆ mDipoleParameterizationBuffer
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mDipoleParameterizationBuffer |
|
protected |
◆ mDipoleSegmentsBuffer
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mDipoleSegmentsBuffer |
|
protected |
◆ mFieldModelConstantsBuffer
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFieldModelConstantsBuffer |
|
protected |
◆ mFieldModelViewBuffer
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFieldModelViewBuffer |
|
protected |
◆ mFontSymbols
◆ mFragmentShader
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFragmentShader |
|
protected |
◆ mFragmentShaderDownsample
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFragmentShaderDownsample |
|
protected |
◆ mFragmentShaderSmoothLine
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFragmentShaderSmoothLine |
|
protected |
◆ mFragmentShaderSmoothPoint
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFragmentShaderSmoothPoint |
|
protected |
◆ mFragmentShaderText
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFragmentShaderText |
|
protected |
◆ mFragmentShaderTexture
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mFragmentShaderTexture |
|
protected |
◆ mGeometryShader
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mGeometryShader |
|
protected |
◆ mIndirectId
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mIndirectId |
|
protected |
◆ mMagneticFieldFailed
| bool o2::gpu::GPUDisplayBackendOpenGL::mMagneticFieldFailed = false |
|
protected |
◆ mMixBuffer
| GLfb o2::gpu::GPUDisplayBackendOpenGL::mMixBuffer |
|
protected |
◆ mOffscreenBuffer
| GLfb o2::gpu::GPUDisplayBackendOpenGL::mOffscreenBuffer |
|
protected |
◆ mOffscreenBufferMSAA
| GLfb o2::gpu::GPUDisplayBackendOpenGL::mOffscreenBufferMSAA |
|
protected |
◆ mShaderProgram
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgram |
|
protected |
◆ mShaderProgramDownsample
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgramDownsample |
|
protected |
◆ mShaderProgramField
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgramField |
|
protected |
◆ mShaderProgramSmoothLine
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgramSmoothLine |
|
protected |
◆ mShaderProgramSmoothPoint
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgramSmoothPoint |
|
protected |
◆ mShaderProgramText
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgramText |
|
protected |
◆ mShaderProgramTexture
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgramTexture |
|
protected |
◆ mSolenoidParameterizationBuffer
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mSolenoidParameterizationBuffer |
|
protected |
◆ mSolenoidSegmentsBuffer
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mSolenoidSegmentsBuffer |
|
protected |
◆ mVBOId
| std::vector<uint32_t> o2::gpu::GPUDisplayBackendOpenGL::mVBOId |
|
protected |
◆ mVertexArray
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexArray |
|
protected |
◆ mVertexShader
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShader |
|
protected |
◆ mVertexShaderFullscreen
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShaderFullscreen |
|
protected |
◆ mVertexShaderPassthrough
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShaderPassthrough |
|
protected |
◆ mVertexShaderSmoothLine
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShaderSmoothLine |
|
protected |
◆ mVertexShaderSmoothPoint
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShaderSmoothPoint |
|
protected |
◆ mVertexShaderTexture
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShaderTexture |
|
protected |
◆ UNIFORM_LOCATION_COLOR
| constexpr int32_t o2::gpu::GPUDisplayBackendOpenGL::UNIFORM_LOCATION_COLOR = 4 |
|
staticconstexprprotected |
◆ UNIFORM_LOCATION_LINE_WIDTH
| constexpr int32_t o2::gpu::GPUDisplayBackendOpenGL::UNIFORM_LOCATION_LINE_WIDTH = 7 |
|
staticconstexprprotected |
◆ UNIFORM_LOCATION_MATRIX
| constexpr int32_t o2::gpu::GPUDisplayBackendOpenGL::UNIFORM_LOCATION_MATRIX = 0 |
|
staticconstexprprotected |
◆ UNIFORM_LOCATION_POINT_SIZE
| constexpr int32_t o2::gpu::GPUDisplayBackendOpenGL::UNIFORM_LOCATION_POINT_SIZE = 5 |
|
staticconstexprprotected |
◆ UNIFORM_LOCATION_VIEWPORT
| constexpr int32_t o2::gpu::GPUDisplayBackendOpenGL::UNIFORM_LOCATION_VIEWPORT = 6 |
|
staticconstexprprotected |
◆ VAO_field
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::VAO_field |
|
protected |
◆ VAO_text
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::VAO_text |
|
protected |
◆ VAO_texture
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::VAO_texture |
|
protected |
◆ VBO_field
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::VBO_field |
|
protected |
◆ VBO_text
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::VBO_text |
|
protected |
◆ VBO_texture
| uint32_t o2::gpu::GPUDisplayBackendOpenGL::VBO_texture |
|
protected |
The documentation for this class was generated from the following files: