Home | History | Annotate | Download | only in functional

Lines Matching refs:glu

107 								InstancedRenderingCase	(Context& context, const char* name, const char* description, DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances);
126 glu::DataType m_rgbAttrType; // \note Instance attribute types, color components only. Position offset attribute is always float/vecN.
139 glu::ShaderProgram* m_program;
142 InstancedRenderingCase::InstancedRenderingCase (Context& context, const char* name, const char* description, DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances)
160 bool isFloatCase = glu::isDataTypeFloatOrVec(m_rgbAttrType);
161 bool isIntCase = glu::isDataTypeIntOrIVec(m_rgbAttrType);
162 bool isUintCase = glu::isDataTypeUintOrUVec(m_rgbAttrType);
163 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType);
177 bool isFloatCase = glu::isDataTypeFloatOrVec(m_rgbAttrType);
178 bool isIntCase = glu::isDataTypeIntOrIVec(m_rgbAttrType);
179 bool isUintCase = glu::isDataTypeUintOrUVec(m_rgbAttrType);
180 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType);
181 int typeSize = glu::getDataTypeScalarSize(m_rgbAttrType);
184 string typeName = glu::getDataTypeName(m_rgbAttrType);
303 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertShaderSourceStr, fragShaderSource));
455 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, resultImg.getAccess());
473 bool isFloatCase = glu::isDataTypeFloatOrVec(m_rgbAttrType);
474 bool isIntCase = glu::isDataTypeIntOrIVec(m_rgbAttrType);
475 bool isUintCase = glu::isDataTypeUintOrUVec(m_rgbAttrType);
476 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType);
477 int typeSize = glu::getDataTypeScalarSize(m_rgbAttrType);
478 int numSlots = isMatCase ? glu::getDataTypeMatrixNumColumns(m_rgbAttrType) : 1; // Matrix uses as many attribute slots as it has columns.
495 int numRows = glu::getDataTypeMatrixNumRows(m_rgbAttrType);
496 int numCols = glu::getDataTypeMatrixNumColumns(m_rgbAttrType);
584 if (glu::isDataTypeIntOrIVec(m_rgbAttrType))
593 else if(glu::isDataTypeUintOrUVec(m_rgbAttrType))
667 glu::TYPE_FLOAT,
675 static const glu::DataType s_testTypes[] =
677 glu::TYPE_FLOAT,
678 glu::TYPE_FLOAT_VEC2,
679 glu::TYPE_FLOAT_VEC3,
680 glu::TYPE_FLOAT_VEC4,
681 glu::TYPE_FLOAT_MAT2,
682 glu::TYPE_FLOAT_MAT2X3,
683 glu::TYPE_FLOAT_MAT2X4,
684 glu::TYPE_FLOAT_MAT3X2,
685 glu::TYPE_FLOAT_MAT3,
686 glu::TYPE_FLOAT_MAT3X4,
687 glu::TYPE_FLOAT_MAT4X2,
688 glu::TYPE_FLOAT_MAT4X3,
689 glu::TYPE_FLOAT_MAT4,
691 glu::TYPE_INT,
692 glu::TYPE_INT_VEC2,
693 glu::TYPE_INT_VEC3,
694 glu::TYPE_INT_VEC4,
696 glu::TYPE_UINT,
697 glu::TYPE_UINT_VEC2,
698 glu::TYPE_UINT_VEC3,
699 glu::TYPE_UINT_VEC4
709 glu::DataType type = s_testTypes[typeNdx];
711 typesGroup->addChild(new InstancedRenderingCase(m_context, glu::getDataTypeName(type), "",