#include <iso_visual_gl_manager.h>
Collaboration diagram for iso::visual::GLManager:
Public Member Functions | |
GLManager () | |
~GLManager () | |
CLQueue & | clQueue () throw (VisualException) |
CLDevice & | clDevice () throw (VisualException) |
void | addInitObject (GLInitObject *pInitObject) |
bool | checkShader (const base::String &pName) |
bool | checkProgram (const base::String &pName) |
GLShader * | shader (const base::String &pName) throw (VisualException) |
GLProgram * | program (const base::String &pName) throw (VisualException) |
const base::String & | currentProgram () const throw (VisualException) |
void | useProgram (const base::String &pName) throw (VisualException) |
GLProgram * | createProgram (const base::String &pName) throw (VisualException) |
GLProgram * | createProgram (const base::String &pName, const base::String &pVertexShaderFileName, const base::String &pFragmentShaderFileName) throw (VisualException) |
GLShader * | createShader (const base::String &pName, const base::String &pFileName) throw (VisualException) |
void | initialize () throw (VisualException) |
void | update () throw (VisualException) |
Protected Member Functions | |
void | createQueue () throw (VisualException) |
void | registerShader (GLShader *pShader) throw (VisualException) |
void | registerProgram (GLProgram *pProgram) throw (VisualException) |
Protected Attributes | |
CLDevice * | mCLDevice |
CLQueue * | mCLQueue |
QVector< GLInitObject * > | mInitObjects |
QHash< base::String, GLProgram * > | mPrograms |
QHash< base::String, GLShader * > | mShaders |
GLProgram * | mCurrentProgram |
GLManager::GLManager | ( | ) |
GLManager::~GLManager | ( | ) |
CLQueue & GLManager::clQueue | ( | ) | throw (VisualException) |
CLDevice & GLManager::clDevice | ( | ) | throw (VisualException) |
void GLManager::addInitObject | ( | GLInitObject * | pInitObject | ) |
bool GLManager::checkShader | ( | const base::String & | pName | ) |
bool GLManager::checkProgram | ( | const base::String & | pName | ) |
GLShader * GLManager::shader | ( | const base::String & | pName | ) | throw (VisualException) |
GLProgram * GLManager::program | ( | const base::String & | pName | ) | throw (VisualException) |
const base::String & GLManager::currentProgram | ( | ) | const throw (VisualException) |
void GLManager::useProgram | ( | const base::String & | pName | ) | throw (VisualException) |
GLProgram * GLManager::createProgram | ( | const base::String & | pName | ) | throw (VisualException) |
GLProgram * GLManager::createProgram | ( | const base::String & | pName, | |
const base::String & | pVertexShaderFileName, | |||
const base::String & | pFragmentShaderFileName | |||
) | throw (VisualException) |
GLShader * GLManager::createShader | ( | const base::String & | pName, | |
const base::String & | pFileName | |||
) | throw (VisualException) |
void GLManager::initialize | ( | ) | throw (VisualException) |
void GLManager::update | ( | ) | throw (VisualException) |
void GLManager::createQueue | ( | ) | throw (VisualException) [protected] |
void GLManager::registerShader | ( | GLShader * | pShader | ) | throw (VisualException) [protected] |
void GLManager::registerProgram | ( | GLProgram * | pProgram | ) | throw (VisualException) [protected] |
CLDevice* iso::visual::GLManager::mCLDevice [protected] |
CLQueue* iso::visual::GLManager::mCLQueue [protected] |
QVector< GLInitObject* > iso::visual::GLManager::mInitObjects [protected] |
QHash< base::String, GLProgram* > iso::visual::GLManager::mPrograms [protected] |
QHash< base::String, GLShader* > iso::visual::GLManager::mShaders [protected] |
GLProgram* iso::visual::GLManager::mCurrentProgram [protected] |