Home | History | Annotate | Download | only in libGLESv2

Lines Matching defs:Program

7 // Program.cpp: Implements the gl::Program class. Implements GL program objects
10 #include "libGLESv2/Program.h"
70 // append a santized message to the program info log.
139 Program::Program(rx::Renderer *renderer, ResourceManager *manager, GLuint handle) : mResourceManager(manager), mHandle(handle)
152 Program::~Program()
167 bool Program::attachShader(Shader *shader)
194 bool Program::detachShader(Shader *shader)
221 int Program::getAttachedShadersCount() const
239 void Program::bindAttributeLocation(GLuint index, const char *name)
247 bool Program::link(const Caps &caps)
274 // Returns the program object to an unlinked state, before re-linking, or at destruction
275 void Program::unlink(bool destroy)
296 bool Program::isLinked()
301 ProgramBinary* Program::getProgramBinary() const
306 bool Program::setProgramBinary(GLenum binaryFormat, const void *binary, GLsizei length)
323 void Program::release()
333 void Program::addRef()
338 unsigned int Program::getRefCount() const
343 GLint Program::getProgramBinaryLength() const
356 int Program::getInfoLogLength() const
361 void Program::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog)
366 void Program::getAttachedShaders(GLsizei maxCount, GLsizei *count, GLuint *shaders)
396 void Program::getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
420 GLint Program::getActiveAttributeCount()
433 GLint Program::getActiveAttributeMaxLength()
446 void Program::getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
470 GLint Program::getActiveUniformCount()
483 GLint Program::getActiveUniformMaxLength()
496 void Program::flagForDeletion()
501 bool Program::isFlaggedForDeletion() const
506 void Program::validate(const Caps &caps)
517 mInfoLog.append("Program has not been successfully linked.");
521 bool Program::isValidated() const
534 GLint Program::getActiveUniformBlockCount()
547 GLint Program::getActiveUniformBlockMaxLength()
560 void Program::bindUniformBlock(GLuint uniformBlockIndex, GLuint uniformBlockBinding)
565 GLuint Program::getUniformBlockBinding(GLuint uniformBlockIndex) const
570 void Program::resetUniformBlockBindings()
578 void Program::setTransformFeedbackVaryings(GLsizei count, const GLchar *const *varyings, GLenum bufferMode)
589 void Program::getTransformFeedbackVarying(GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) const
616 GLsizei Program::getTransformFeedbackVaryingCount() const
629 GLsizei Program::getTransformFeedbackVaryingMaxLength() const
649 GLenum Program::getTransformFeedbackBufferMode() const