Home | History | Annotate | Download | only in glshared

Lines Matching refs:ContextArray

448 ContextArray::ContextArray (Storage storage, sglr::Context& context)
471 ContextArray::~ContextArray (void)
489 void ContextArray::data (Target target, int size, const char* ptr, Usage usage)
514 void ContextArray::subdata (Target target, int offset, int size, const char* ptr)
532 void ContextArray::bind (int attribNdx, int offset, int size, InputType inputType, OutputType outType, bool normalized, int stride)
544 void ContextArray::bindIndexArray (Array::Target target)
555 void ContextArray::glBind (deUint32 loc)
629 GLenum ContextArray::targetToGL (Array::Target target)
640 GLenum ContextArray::usageToGL (Array::Usage usage)
661 GLenum ContextArray::inputTypeToGL (Array::InputType type)
683 std::string ContextArray::outputTypeToGLType (Array::OutputType type)
707 GLenum ContextArray::primitiveToGL (Array::Primitive primitive)
730 for (std::vector<ContextArray*>::iterator itr = m_arrays.begin(); itr != m_arrays.end(); itr++)
743 m_arrays.push_back(new ContextArray(storage, m_ctx));
749 ContextShaderProgram (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
755 static std::string genVertexSource (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
760 static sglr::pdec::ShaderProgramDeclaration createProgramDeclaration (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays);
766 ContextShaderProgram::ContextShaderProgram (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays)
876 std::string ContextShaderProgram::genVertexSource (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays)
916 << "${VTX_IN} highp " << ContextArray::outputTypeToGLType(arrays[arrayNdx]->getOutputType()) << " a_" << arrays[arrayNdx]->getAttribNdx() << ";\n";
1123 sglr::pdec::ShaderProgramDeclaration ContextShaderProgram::createProgramDeclaration (const glu::RenderContext& ctx, const std::vector<ContextArray*>& arrays)
1189 m_ctx.drawArrays(ContextArray