#include <GPUDisplayBackend.h>
Inherited by o2::gpu::GPUDisplayBackendOpenGL, and o2::gpu::GPUDisplayBackendVulkan.
|
| GPUDisplayBackend () |
|
virtual | ~GPUDisplayBackend () |
|
virtual int32_t | ExtInit () |
|
virtual bool | CoreProfile () |
|
virtual uint32_t | DepthBits ()=0 |
|
virtual uint32_t | drawVertices (const vboList &v, const drawType t)=0 |
|
virtual uint32_t | drawField () |
|
virtual void | ActivateColor (std::array< float, 4 > &color)=0 |
|
virtual void | setQuality () |
|
virtual void | SetVSync (bool enable) |
|
virtual bool | backendNeedRedraw () |
|
virtual void | setDepthBuffer ()=0 |
|
virtual int32_t | InitBackendA ()=0 |
|
virtual void | ExitBackendA ()=0 |
|
int32_t | InitBackend () |
|
void | ExitBackend () |
|
virtual void | loadDataToGPU (size_t totalVertizes)=0 |
|
virtual void | prepareDraw (const hmm_mat4 &proj, const hmm_mat4 &view, bool requestScreenshot=false, bool toMixBuffer=false, float includeMixImage=0.f)=0 |
|
virtual void | finishDraw (bool doScreenshot, bool toMixBuffer=false, float includeMixImage=0.f)=0 |
|
virtual void | finishFrame (bool doScreenshot, bool toMixBuffer=false, float includeMixImage=0.f)=0 |
|
virtual void | prepareText ()=0 |
|
virtual void | finishText ()=0 |
|
virtual void | pointSizeFactor (float factor)=0 |
|
virtual void | lineWidthFactor (float factor)=0 |
|
backendTypes | backendType () const |
|
const char * | backendName () const |
|
virtual void | resizeScene (uint32_t width, uint32_t height) |
|
virtual size_t | needMultiVBO () |
|
virtual void | OpenGLPrint (const char *s, float x, float y, float *color, float scale)=0 |
|
std::vector< char > | getPixels () |
|
virtual float | getYFactor () const |
|
virtual int32_t | getMaxMSAA () const |
|
Definition at line 37 of file GPUDisplayBackend.h.
◆ vboList
◆ backendTypes
◆ drawType
◆ GPUDisplayBackend()
GPUDisplayBackend::GPUDisplayBackend |
( |
| ) |
|
|
default |
◆ ~GPUDisplayBackend()
GPUDisplayBackend::~GPUDisplayBackend |
( |
| ) |
|
|
virtualdefault |
◆ ActivateColor()
virtual void o2::gpu::GPUDisplayBackend::ActivateColor |
( |
std::array< float, 4 > & |
color | ) |
|
|
pure virtual |
◆ addFontSymbol()
virtual void o2::gpu::GPUDisplayBackend::addFontSymbol |
( |
int32_t |
symbol, |
|
|
int32_t |
sizex, |
|
|
int32_t |
sizey, |
|
|
int32_t |
offsetx, |
|
|
int32_t |
offsety, |
|
|
int32_t |
advance, |
|
|
void * |
data |
|
) |
| |
|
protectedpure virtual |
◆ backendName()
const char * o2::gpu::GPUDisplayBackend::backendName |
( |
| ) |
const |
|
inline |
◆ backendNeedRedraw()
virtual bool o2::gpu::GPUDisplayBackend::backendNeedRedraw |
( |
| ) |
|
|
inlinevirtual |
◆ backendType()
backendTypes o2::gpu::GPUDisplayBackend::backendType |
( |
| ) |
const |
|
inline |
◆ CoreProfile()
virtual bool o2::gpu::GPUDisplayBackend::CoreProfile |
( |
| ) |
|
|
inlinevirtual |
◆ DepthBits()
virtual uint32_t o2::gpu::GPUDisplayBackend::DepthBits |
( |
| ) |
|
|
pure virtual |
◆ drawField()
virtual uint32_t o2::gpu::GPUDisplayBackend::drawField |
( |
| ) |
|
|
inlinevirtual |
◆ drawVertices()
virtual uint32_t o2::gpu::GPUDisplayBackend::drawVertices |
( |
const vboList & |
v, |
|
|
const drawType |
t |
|
) |
| |
|
pure virtual |
◆ ExitBackend()
void GPUDisplayBackend::ExitBackend |
( |
| ) |
|
◆ ExitBackendA()
virtual void o2::gpu::GPUDisplayBackend::ExitBackendA |
( |
| ) |
|
|
pure virtual |
◆ ExtInit()
virtual int32_t o2::gpu::GPUDisplayBackend::ExtInit |
( |
| ) |
|
|
inlinevirtual |
◆ fillIndirectCmdBuffer()
void GPUDisplayBackend::fillIndirectCmdBuffer |
( |
| ) |
|
|
protected |
◆ finishDraw()
virtual void o2::gpu::GPUDisplayBackend::finishDraw |
( |
bool |
doScreenshot, |
|
|
bool |
toMixBuffer = false , |
|
|
float |
includeMixImage = 0.f |
|
) |
| |
|
pure virtual |
◆ finishFrame()
virtual void o2::gpu::GPUDisplayBackend::finishFrame |
( |
bool |
doScreenshot, |
|
|
bool |
toMixBuffer = false , |
|
|
float |
includeMixImage = 0.f |
|
) |
| |
|
pure virtual |
◆ finishText()
virtual void o2::gpu::GPUDisplayBackend::finishText |
( |
| ) |
|
|
pure virtual |
◆ getBackend()
◆ getDownsampleFactor()
float GPUDisplayBackend::getDownsampleFactor |
( |
bool |
screenshot = false | ) |
|
|
protected |
◆ getMaxMSAA()
virtual int32_t o2::gpu::GPUDisplayBackend::getMaxMSAA |
( |
| ) |
const |
|
inlinevirtual |
◆ getPixels()
std::vector< char > GPUDisplayBackend::getPixels |
( |
| ) |
|
◆ getYFactor()
virtual float o2::gpu::GPUDisplayBackend::getYFactor |
( |
| ) |
const |
|
inlinevirtual |
◆ InitBackend()
int32_t GPUDisplayBackend::InitBackend |
( |
| ) |
|
◆ InitBackendA()
virtual int32_t o2::gpu::GPUDisplayBackend::InitBackendA |
( |
| ) |
|
|
pure virtual |
◆ initializeTextDrawing()
virtual void o2::gpu::GPUDisplayBackend::initializeTextDrawing |
( |
| ) |
|
|
protectedpure virtual |
◆ lineWidthFactor()
virtual void o2::gpu::GPUDisplayBackend::lineWidthFactor |
( |
float |
factor | ) |
|
|
pure virtual |
◆ loadDataToGPU()
virtual void o2::gpu::GPUDisplayBackend::loadDataToGPU |
( |
size_t |
totalVertizes | ) |
|
|
pure virtual |
◆ needMultiVBO()
virtual size_t o2::gpu::GPUDisplayBackend::needMultiVBO |
( |
| ) |
|
|
inlinevirtual |
◆ OpenGLPrint()
virtual void o2::gpu::GPUDisplayBackend::OpenGLPrint |
( |
const char * |
s, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float * |
color, |
|
|
float |
scale |
|
) |
| |
|
pure virtual |
◆ pointSizeFactor()
virtual void o2::gpu::GPUDisplayBackend::pointSizeFactor |
( |
float |
factor | ) |
|
|
pure virtual |
◆ prepareDraw()
virtual void o2::gpu::GPUDisplayBackend::prepareDraw |
( |
const hmm_mat4 & |
proj, |
|
|
const hmm_mat4 & |
view, |
|
|
bool |
requestScreenshot = false , |
|
|
bool |
toMixBuffer = false , |
|
|
float |
includeMixImage = 0.f |
|
) |
| |
|
pure virtual |
◆ prepareText()
virtual void o2::gpu::GPUDisplayBackend::prepareText |
( |
| ) |
|
|
pure virtual |
◆ resizeScene()
virtual void o2::gpu::GPUDisplayBackend::resizeScene |
( |
uint32_t |
width, |
|
|
uint32_t |
height |
|
) |
| |
|
inlinevirtual |
◆ setDepthBuffer()
virtual void o2::gpu::GPUDisplayBackend::setDepthBuffer |
( |
| ) |
|
|
pure virtual |
◆ setQuality()
virtual void o2::gpu::GPUDisplayBackend::setQuality |
( |
| ) |
|
|
inlinevirtual |
◆ SetVSync()
virtual void o2::gpu::GPUDisplayBackend::SetVSync |
( |
bool |
enable | ) |
|
|
inlinevirtual |
◆ smoothFont()
bool GPUDisplayBackend::smoothFont |
( |
| ) |
|
|
protected |
◆ mBackendName
const char* o2::gpu::GPUDisplayBackend::mBackendName = nullptr |
|
protected |
◆ mBackendType
◆ mCmdBuffer
◆ mDisplay
GPUDisplay* o2::gpu::GPUDisplayBackend::mDisplay = nullptr |
|
protected |
◆ mDownsampleFactor
int32_t o2::gpu::GPUDisplayBackend::mDownsampleFactor = 1 |
|
protected |
◆ mFreetypeInitialized
bool o2::gpu::GPUDisplayBackend::mFreetypeInitialized = false |
|
protected |
◆ mFrontendCompatTextDraw
bool o2::gpu::GPUDisplayBackend::mFrontendCompatTextDraw = false |
|
protected |
◆ mIndirectSectorOffset
std::vector<int32_t> o2::gpu::GPUDisplayBackend::mIndirectSectorOffset |
|
protected |
◆ mMagneticFieldVisualization
◆ mRenderHeight
uint32_t o2::gpu::GPUDisplayBackend::mRenderHeight = 0 |
|
protected |
◆ mRenderWidth
uint32_t o2::gpu::GPUDisplayBackend::mRenderWidth = 0 |
|
protected |
◆ mScreenHeight
uint32_t o2::gpu::GPUDisplayBackend::mScreenHeight = 0 |
|
protected |
◆ mScreenshotPixels
std::vector<char> o2::gpu::GPUDisplayBackend::mScreenshotPixels |
|
protected |
◆ mScreenWidth
uint32_t o2::gpu::GPUDisplayBackend::mScreenWidth = 0 |
|
protected |
The documentation for this class was generated from the following files: