kanzi::GlGraphicsAdapterLogger Class Reference

Logs OpenGL API calls. More...

#include <kanzi/core.ui/platform/graphics_backend/gl/gl_graphics_adapter_logger.hpp>

Inheritance diagram for kanzi::GlGraphicsAdapterLogger:
kanzi::GlGraphicsAdapter

Public Member Functions

 GlGraphicsAdapterLogger ()
 
void setDumpStateOnDrawCalls (bool enable)
 
bool getDumpStateOnDrawCalls () const
 
- Public Member Functions inherited from kanzi::GlGraphicsAdapter
 GlGraphicsAdapter ()
 
void setNext (GlGraphicsAdapter *value)
 Set the next handler in the chain to be called for each API call. More...
 
void setContext (struct KzsGlGraphicsContext *context)
 

Protected Member Functions

int glTextureBindingForTarget (unsigned int glTarget)
 
int glBufferBindingForTarget (unsigned int glTarget)
 
int glFramebufferBindingForTarget (unsigned int glTarget)
 
int getIntegerv (unsigned int pname, int defaultValue)
 
int getActiveTexture ()
 
int getTextureBinding (unsigned int glTextureTarget)
 
int getBufferBinding (unsigned int glBufferTarget)
 
int getFramebufferBinding (unsigned int glFramebufferTarget)
 
int getRenderbufferBinding ()
 
- Protected Member Functions inherited from kanzi::GlGraphicsAdapter
struct::KzsGlGraphicsContext * getContext () const
 

Detailed Description

Logs OpenGL API calls.

Constructor & Destructor Documentation

kanzi::GlGraphicsAdapterLogger::GlGraphicsAdapterLogger ( )
inlineexplicit

Member Function Documentation

int kanzi::GlGraphicsAdapterLogger::glTextureBindingForTarget ( unsigned int  glTarget)
protected
int kanzi::GlGraphicsAdapterLogger::glBufferBindingForTarget ( unsigned int  glTarget)
protected
int kanzi::GlGraphicsAdapterLogger::glFramebufferBindingForTarget ( unsigned int  glTarget)
protected
int kanzi::GlGraphicsAdapterLogger::getIntegerv ( unsigned int  pname,
int  defaultValue 
)
protected
int kanzi::GlGraphicsAdapterLogger::getActiveTexture ( )
protected
int kanzi::GlGraphicsAdapterLogger::getTextureBinding ( unsigned int  glTextureTarget)
protected
int kanzi::GlGraphicsAdapterLogger::getBufferBinding ( unsigned int  glBufferTarget)
protected
int kanzi::GlGraphicsAdapterLogger::getFramebufferBinding ( unsigned int  glFramebufferTarget)
protected
int kanzi::GlGraphicsAdapterLogger::getRenderbufferBinding ( )
protected
void kanzi::GlGraphicsAdapterLogger::setDumpStateOnDrawCalls ( bool  enable)
bool kanzi::GlGraphicsAdapterLogger::getDumpStateOnDrawCalls ( ) const

The documentation for this class was generated from the following file: