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"
20 unsigned int Program::mCurrentSerial = 1;
48 Program::Program(ResourceManager *manager, GLuint handle) : mResourceManager(manager), mHandle(handle), mSerial(issueSerial())
68 Program::~Program()
83 bool Program::attachShader(Shader *shader)
110 bool Program::detachShader(Shader *shader)
139 int Program::getAttachedShadersCount() const
144 IDirect3DPixelShader9 *Program::getPixelShader()
149 IDirect3DVertexShader9 *Program::getVertexShader()
154 void Program::bindAttributeLocation(GLuint index, const char *name)
167 GLuint Program::getAttributeLocation(const char *name)
183 int Program::getSemanticIndex(int attributeIndex)
195 GLint Program::getSamplerMapping(unsigned int samplerIndex)
214 SamplerType Program::getSamplerType(unsigned int samplerIndex)
222 bool Program::isSamplerDirty(unsigned int samplerIndex) const
233 void Program::setSamplerDirty(unsigned int samplerIndex, bool dirty)
242 GLint Program::getUniformLocation(const char *name, bool decorated)
269 bool Program::setUniform1fv(GLint location, GLsizei count, const GLfloat* v)
326 bool Program::setUniform2fv(GLint location, GLsizei count, const GLfloat *v)
384 bool Program::setUniform3fv(GLint location, GLsizei count, const GLfloat *v)
441 bool Program::setUniform4fv(GLint location, GLsizei count, const GLfloat *v)
498 bool Program::setUniformMatrix2fv(GLint location, GLsizei count, const GLfloat *value)
526 bool Program::setUniformMatrix3fv(GLint location, GLsizei count, const GLfloat *value)
554 bool Program::setUniformMatrix4fv(GLint location, GLsizei count, const GLfloat *value)
582 bool Program::setUniform1iv(GLint location, GLsizei count, const GLint *v)
641 bool Program::setUniform2iv(GLint location, GLsizei count, const GLint *v)
698 bool Program::setUniform3iv(GLint location, GLsizei count, const GLint *v)
755 bool Program::setUniform4iv(GLint location, GLsizei count, const GLint *v)
812 bool Program::getUniformfv(GLint location, GLfloat *params)
855 bool Program::getUniformiv(GLint location, GLint *params)
898 void Program::dirtyAllUniforms()
907 void Program::dirtyAllSamplers()
915 // Applies all the uniforms set for this program object to the Direct3D 9 device
916 void Program::applyUniforms()
964 ID3DXBuffer *Program::compileToBinary(const char *hlsl, const char *profile, ID3DXConstantTable **constantTable)
1000 int Program::packVaryings(const Varying *packing[][4])
1148 bool Program::linkVaryings()
1473 void Program::link()
1552 bool Program::linkAttributes()
1621 int Program::getAttributeBinding(const std::string &name)
1634 bool Program::linkUniforms(ID3DXConstantTable *constantTable)
1658 bool Program::defineUniform(const D3DXHANDLE &constantHandle, const D3DXCONSTANT_DESC &constantDescription, std::string name)
1710 bool Program::defineUniform(const D3DXCONSTANT_DESC &constantDescription, std::string &name)
1748 Uniform *Program::createUniform(const D3DXCONSTANT_DESC &constantDescription, std::string &name)
1824 std::string Program::decorate(const std::string &string)
1836 std::string Program::undecorate(const std::string &string)
1848 bool Program::applyUniform1bv(GLint location, GLsizei count, const GLboolean *v)
1882 bool Program::applyUniform2bv(GLint location, GLsizei count, const GLboolean *v)
1916 bool Program::applyUniform3bv(GLint location, GLsizei count, const GLboolean *v)
1951 bool Program::applyUniform4bv(GLint location, GLsizei count, const GLboolean *v)
1987 bool Program::applyUniform1fv(GLint location, GLsizei count, const GLfloat *v)
2009 bool Program::applyUniform2fv(GLint location, GLsizei count, const GLfloat *v)
2042 bool Program::applyUniform3fv(GLint location, GLsizei count, const GLfloat *v)
2075 bool Program::applyUniform4fv(GLint location, GLsizei count, const GLfloat *v)
2097 bool Program::applyUniformMatrix2fv(GLint location, GLsizei count, const GLfloat *value)
2133 bool Program::applyUniformMatrix3fv(GLint location, GLsizei count, const GLfloat *value)
2169 bool Program::applyUniformMatrix4fv(GLint location, GLsizei count, const GLfloat *value)
2205 bool Program::applyUniform1iv(GLint location, GLsizei count, const GLint *v)
2258 bool Program::applyUniform2iv(GLint location, GLsizei count, const GLint *v)
2291 bool Program::applyUniform3iv(GLint location, GLsizei count, const GLint *v)
2324 bool Program::applyUniform4iv(GLint location, GLsizei count, const GLint *v)
2357 void Program::appendToInfoLog(const char *format, ...)
2390 void Program::resetInfoLog()
2399 // Returns the program object to an unlinked state, after detaching a shader, before re-linking, or at destruction
2400 void Program::unlink(bool destroy)
2477 bool Program::isLinked()
2482 bool Program::isValidated() const
2487 void Program::release()
2497 void Program::addRef()
2502 unsigned int Program::getRefCount() const
2507 unsigned int Program::getSerial() const
2512 unsigned int Program::issueSerial()
2517 int Program::getInfoLogLength() const
2529 void Program::getInfoLog(GLsizei bufSize, GLsizei *length, char *infoLog)
2553 void Program::getAttachedShaders(GLsizei maxCount, GLsizei *count, GLuint *shaders)
2583 void Program::getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
2621 GLint Program::getActiveAttributeCount()
2636 GLint Program::getActiveAttributeMaxLength()
2651 void Program::getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
2696 GLint Program::getActiveUniformCount()
2712 GLint Program::getActiveUniformMaxLength()
2728 void Program::flagForDeletion()
2733 bool Program::isFlaggedForDeletion() const
2738 void Program::validate()
2744 appendToInfoLog("Program has not been successfully linked.");
2762 bool Program::validateSamplers() const
2764 // if any two active samplers in a program are of different types, but refer to the same
2765 // texture image unit, and this is the current program, then ValidateProgram will fail, and
2787 void Program::getConstantHandles(Uniform *targetUniform, D3DXHANDLE *constantPS, D3DXHANDLE *constantVS)
2800 GLint Program::getDxDepthRangeLocation() const
2805 GLint Program::getDxDepthLocation() const
2810 GLint Program::getDxViewportLocation() const
2815 GLint Program::getDxHalfPixelSizeLocation() const
2820 GLint Program::getDxFrontCCWLocation() const
2825 GLint Program::getDxPointsOrLinesLocation() const