Home | History | Annotate | Download | only in libGLESv2

Lines Matching defs:programBinary

22 #include "libGLESv2/ProgramBinary.h"
1379 void Context::applyShaders(ProgramBinary *programBinary, bool transformFeedbackActive)
1384 VertexFormat::GetInputLayout(inputLayout, programBinary, vertexAttributes, mState.getVertexAttribCurrentValues());
1388 mRenderer->applyShaders(programBinary, inputLayout, fbo, mState.getRasterizerState().rasterizerDiscard, transformFeedbackActive);
1390 programBinary->applyUniforms();
1393 void Context::generateSwizzles(ProgramBinary *programBinary, SamplerType type)
1395 size_t samplerRange = programBinary->getUsedSamplerRange(type);
1399 GLenum textureType = programBinary->getSamplerTextureType(type, i);
1400 GLint textureUnit = programBinary->getSamplerMapping(type, i, getCaps());
1412 void Context::generateSwizzles(ProgramBinary *programBinary)
1414 generateSwizzles(programBinary, SAMPLER_VERTEX);
1415 generateSwizzles(programBinary, SAMPLER_PIXEL);
1421 void Context::applyTextures(ProgramBinary *programBinary, SamplerType shaderType,
1424 size_t samplerRange = programBinary->getUsedSamplerRange(shaderType);
1427 GLenum textureType = programBinary->getSamplerTextureType(shaderType, samplerIndex);
1428 GLint textureUnit = programBinary->getSamplerMapping(shaderType, samplerIndex, getCaps());
1471 void Context::applyTextures(ProgramBinary *programBinary)
1476 applyTextures(programBinary, SAMPLER_VERTEX, framebufferSerials, framebufferSerialCount);
1477 applyTextures(programBinary, SAMPLER_PIXEL, framebufferSerials, framebufferSerialCount);
1483 ProgramBinary *programBinary = programObject->getProgramBinary();
1487 for (unsigned int uniformBlockIndex = 0; uniformBlockIndex < programBinary->getActiveUniformBlockCount(); uniformBlockIndex++)
1504 return programBinary->applyUniformBuffers(boundBuffers, getCaps());
1673 ProgramBinary *programBinary = mState.getCurrentProgramBinary();
1674 programBinary->updateSamplerMapping();
1676 generateSwizzles(programBinary);
1686 Error error = mRenderer->applyVertexBuffer(programBinary, mState.getVertexArray()->getVertexAttributes(), mState.getVertexAttribCurrentValues(), first, count, instances);
1694 applyShaders(programBinary, transformFeedbackActive);
1696 applyTextures(programBinary);
1720 ProgramBinary *programBinary = mState.getCurrentProgramBinary();
1721 programBinary->updateSamplerMapping();
1723 generateSwizzles(programBinary);
1743 error = mRenderer->applyVertexBuffer(programBinary, vao->getVertexAttributes(),
1756 applyShaders(programBinary, transformFeedbackActive);
1758 applyTextures(programBinary);
2010 // ProgramBinary assumes non-point rendering if gl_PointSize isn't written,