#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 |
|
void | 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 | 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 | OpenGLPrint (const char *s, float x, float y, float *color, float scale) override |
|
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()
void GPUDisplayBackendOpenGL::addFontSymbol |
( |
int32_t |
symbol, |
|
|
int32_t |
sizex, |
|
|
int32_t |
sizey, |
|
|
int32_t |
offsetx, |
|
|
int32_t |
offsety, |
|
|
int32_t |
advance, |
|
|
void * |
data |
|
) |
| |
|
overrideprotectedvirtual |
◆ checkProgramStatus()
int32_t GPUDisplayBackendOpenGL::checkProgramStatus |
( |
uint32_t |
program | ) |
|
|
staticprotected |
◆ checkShaderStatus()
int32_t GPUDisplayBackendOpenGL::checkShaderStatus |
( |
uint32_t |
shader | ) |
|
|
staticprotected |
◆ ClearOffscreenBuffers()
void o2::gpu::GPUDisplayBackendOpenGL::ClearOffscreenBuffers |
( |
| ) |
|
|
protected |
◆ clearScreen()
void o2::gpu::GPUDisplayBackendOpenGL::clearScreen |
( |
bool |
alphaOnly = false | ) |
|
|
protected |
◆ CoreProfile()
bool GPUDisplayBackendOpenGL::CoreProfile |
( |
| ) |
|
|
overridevirtual |
◆ createFB()
void o2::gpu::GPUDisplayBackendOpenGL::createFB |
( |
GLfb & |
fb, |
|
|
bool |
tex, |
|
|
bool |
withDepth, |
|
|
bool |
msaa, |
|
|
uint32_t |
width, |
|
|
uint32_t |
height |
|
) |
| |
|
protected |
◆ deleteFB()
void o2::gpu::GPUDisplayBackendOpenGL::deleteFB |
( |
GLfb & |
fb | ) |
|
|
protected |
◆ DepthBits()
uint32_t GPUDisplayBackendOpenGL::DepthBits |
( |
| ) |
|
|
overridevirtual |
◆ drawField()
uint32_t GPUDisplayBackendOpenGL::drawField |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ drawVertices()
uint32_t GPUDisplayBackendOpenGL::drawVertices |
( |
const vboList & |
v, |
|
|
const drawType |
t |
|
) |
| |
|
overrideprotectedvirtual |
◆ 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 |
◆ 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 |
◆ mixImages()
void o2::gpu::GPUDisplayBackendOpenGL::mixImages |
( |
float |
mixSlaveImage | ) |
|
|
protected |
◆ needMultiVBO()
size_t o2::gpu::GPUDisplayBackendOpenGL::needMultiVBO |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ OpenGLPrint()
void GPUDisplayBackendOpenGL::OpenGLPrint |
( |
const char * |
s, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float * |
color, |
|
|
float |
scale |
|
) |
| |
|
overrideprotectedvirtual |
◆ pointSizeFactor()
void GPUDisplayBackendOpenGL::pointSizeFactor |
( |
float |
factor | ) |
|
|
overrideprotectedvirtual |
◆ prepareDraw()
void GPUDisplayBackendOpenGL::prepareDraw |
( |
const hmm_mat4 & |
proj, |
|
|
const hmm_mat4 & |
view, |
|
|
bool |
requestScreenshot, |
|
|
bool |
toMixBuffer, |
|
|
float |
includeMixImage |
|
) |
| |
|
overrideprotectedvirtual |
◆ prepareText()
void GPUDisplayBackendOpenGL::prepareText |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ readImageToPixels()
void o2::gpu::GPUDisplayBackendOpenGL::readImageToPixels |
( |
| ) |
|
|
protected |
◆ resizeScene()
void GPUDisplayBackendOpenGL::resizeScene |
( |
uint32_t |
width, |
|
|
uint32_t |
height |
|
) |
| |
|
overrideprotectedvirtual |
◆ setDepthBuffer()
void GPUDisplayBackendOpenGL::setDepthBuffer |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ setFrameBuffer()
void o2::gpu::GPUDisplayBackendOpenGL::setFrameBuffer |
( |
uint32_t |
newID = 0 | ) |
|
|
protected |
◆ setQuality()
void GPUDisplayBackendOpenGL::setQuality |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ updateRenderer()
void o2::gpu::GPUDisplayBackendOpenGL::updateRenderer |
( |
bool |
withScreenshot | ) |
|
|
protected |
◆ mAlphaIdTexture
int32_t o2::gpu::GPUDisplayBackendOpenGL::mAlphaIdTexture |
|
protected |
◆ mColorId
int32_t o2::gpu::GPUDisplayBackendOpenGL::mColorId |
|
protected |
◆ mColorIdText
int32_t o2::gpu::GPUDisplayBackendOpenGL::mColorIdText |
|
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 |
◆ 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 |
◆ mMixBuffer
GLfb o2::gpu::GPUDisplayBackendOpenGL::mMixBuffer |
|
protected |
◆ mModelViewProjId
int32_t o2::gpu::GPUDisplayBackendOpenGL::mModelViewProjId |
|
protected |
◆ mModelViewProjIdText
int32_t o2::gpu::GPUDisplayBackendOpenGL::mModelViewProjIdText |
|
protected |
◆ mModelViewProjIdTexture
int32_t o2::gpu::GPUDisplayBackendOpenGL::mModelViewProjIdTexture |
|
protected |
◆ mOffscreenBuffer
GLfb o2::gpu::GPUDisplayBackendOpenGL::mOffscreenBuffer |
|
protected |
◆ mOffscreenBufferMSAA
GLfb o2::gpu::GPUDisplayBackendOpenGL::mOffscreenBufferMSAA |
|
protected |
◆ mShaderProgram
uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgram |
|
protected |
◆ mShaderProgramField
uint32_t o2::gpu::GPUDisplayBackendOpenGL::mShaderProgramField |
|
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 |
◆ mSPIRVColorBuffer
uint32_t o2::gpu::GPUDisplayBackendOpenGL::mSPIRVColorBuffer |
|
protected |
◆ mSPIRVModelViewBuffer
uint32_t o2::gpu::GPUDisplayBackendOpenGL::mSPIRVModelViewBuffer |
|
protected |
◆ mSPIRVShaders
bool o2::gpu::GPUDisplayBackendOpenGL::mSPIRVShaders = false |
|
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 |
◆ mVertexShaderPassthrough
uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShaderPassthrough |
|
protected |
◆ mVertexShaderTexture
uint32_t o2::gpu::GPUDisplayBackendOpenGL::mVertexShaderTexture |
|
protected |
◆ 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: