/external/deqp/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 111 TestSpec m_spec; member in deqp::gles2::Performance::__anonb690bc8b0111::DrawCallBatchingTest 157 , m_spec (spec) in DrawCallBatchingTest() 172 if (m_spec.dynamicIndices) in createIndexData() 174 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createIndexData() 176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() 186 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createIndexData() 188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() 203 for (int attributeNdx = 0; attributeNdx < m_spec.staticAttributeCount; attributeNdx++) in createShader() 206 if (m_spec.staticAttributeCount > 0 && m_spec.dynamicAttributeCount > 0) in createShader() 209 for (int attributeNdx = 0; attributeNdx < m_spec.dynamicAttributeCount; attributeNdx++) in createShader() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexArrayObjectTests.cpp | 156 Spec m_spec; member in deqp::gles3::Functional::VertexArrayObjectTest 179 , m_spec (spec) in VertexArrayObjectTest() 222 for (int bufferNdx = 0; bufferNdx < (int)m_spec.buffers.size(); bufferNdx++) in init() 224 deUint8* data = createRandomBufferData(m_spec.buffers[bufferNdx]); in init() 233 …GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, m_spec.buffers[bufferNdx].size, data, GL_DYNAMIC_DRAW… in init() 244 m_vaoProgram = createProgram(m_spec.vao); in init() 247 m_stateProgram = createProgram(m_spec.state); in init() 254 …if (m_spec.useDrawElements && (m_spec.vao.elementArrayBuffer == 0 || m_spec.state.elementArrayBuff… in init() 270 switch (m_spec.indexType) in generateIndices() 279 deUint8* indices = new deUint8[m_spec.indexCount * typeSize]; in generateIndices() [all …]
|
D | es3fShaderCommonFunctionTests.cpp | 182 ShaderSpec m_spec; member in deqp::gles3::Functional::CommonFunctionCase 197 m_spec.version = glu::GLSL_VERSION_300_ES; in CommonFunctionCase() 209 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 326 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 327 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 330 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 331 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 342 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 343 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() 365 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() [all …]
|
D | es3fShaderPackingFunctionTests.cpp | 80 ShaderSpec m_spec; member in deqp::gles3::Functional::ShaderPackingFunctionCase 93 m_spec.version = glu::GLSL_VERSION_300_ES; in ShaderPackingFunctionCase() 105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 151 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case() 152 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in PackSnorm2x16Case() 154 m_spec.source = "out0 = packSnorm2x16(in0);"; in PackSnorm2x16Case() 254 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 255 …m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 257 m_spec.source = "out0 = unpackSnorm2x16(in0);"; in UnpackSnorm2x16Case() 342 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackUnorm2x16Case() [all …]
|
D | es3fShaderOperatorTests.cpp | 678 ShaderDataSpec m_spec; member in deqp::gles3::Functional::ShaderOperatorCase 685 , m_spec (spec) in ShaderOperatorCase() 694 …const char* precision = m_spec.precision != PRECISION_LAST ? getPrecisionName(m_spec.precision) :… in setupShaderData() 705 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData() 707 bool isBoolVal = de::inRange<int>(m_spec.inputs[i].type, TYPE_BOOL, TYPE_BOOL_VEC4); in setupShaderData() 708 bool isIntVal = de::inRange<int>(m_spec.inputs[i].type, TYPE_INT, TYPE_INT_VEC4); in setupShaderData() 709 bool isUintVal = de::inRange<int>(m_spec.inputs[i].type, TYPE_UINT, TYPE_UINT_VEC4); in setupShaderData() 713 : m_spec.precision; in setupShaderData() 719 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData() 732 for (int i = 0; i < m_spec.numInputs; i++) in setupShaderData() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderIntegerFunctionTests.cpp | 180 ShaderSpec m_spec; member in deqp::gles31::Functional::IntegerFunctionCase 195 m_spec.version = glu::GLSL_VERSION_310_ES; in IntegerFunctionCase() 207 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 258 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 259 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 262 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 263 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 274 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 275 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() 297 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() [all …]
|
D | es31fAtomicCounterTests.cpp | 117 const TestSpec m_spec; member in deqp::gles31::Functional::__anon964951790111::AtomicCounterTest 122 deUint32 getInitialValue (void) const { return m_spec.callCount * m_spec.threadCount + 1; } in getInitialValue() 140 if (m_spec.operations & OPERATION_INC) in getOperationCount() 143 if (m_spec.operations & OPERATION_DEC) in getOperationCount() 146 if (m_spec.operations == OPERATION_GET) in getOperationCount() 148 else if (m_spec.operations & OPERATION_GET) in getOperationCount() 156 , m_spec (spec) in AtomicCounterTest() 536 if ((m_spec.operations & OPERATION_INC) != 0 && (m_spec.operations & OPERATION_DEC) == 0) in checkAndLogCounterValues() 537 …itialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spec… in checkAndLogCounterValues() 539 if ((m_spec.operations & OPERATION_INC) == 0 && (m_spec.operations & OPERATION_DEC) != 0) in checkAndLogCounterValues() [all …]
|
D | es31fShaderCommonFunctionTests.cpp | 209 ShaderSpec m_spec; member in deqp::gles31::Functional::CommonFunctionCase 224 m_spec.version = glu::GLSL_VERSION_310_ES; in CommonFunctionCase() 236 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 353 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate() 354 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate() 357 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate() 358 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate() 369 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate() 370 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate() 392 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() [all …]
|
D | es31fVertexAttributeBindingTests.cpp | 262 const TestSpec m_spec; member in deqp::gles31::Functional::__anon606372a90111::SingleBindingCase 268 , m_spec (genTestSpec(flags)) in SingleBindingCase() 289 << " bufferOffset: " << m_spec.bufferOffset << "\n" in init() 290 << " bufferStride: " << m_spec.bufferStride << "\n" in init() 293 << " offset: " << m_spec.positionAttrOffset << "\n" in init() 294 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" in init() 297 if (m_spec.hasColorAttr) in init() 301 << " offset: " << m_spec.colorAttrOffset << "\n" in init() 302 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n" in init() 338 if (m_spec.hasColorAttr) in renderTo() [all …]
|
D | es31fShaderPackingFunctionTests.cpp | 80 ShaderSpec m_spec; member in deqp::gles31::Functional::ShaderPackingFunctionCase 93 m_spec.version = glu::GLSL_VERSION_310_ES; in ShaderPackingFunctionCase() 105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init() 155 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackSnorm2x16Case() 156 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in PackSnorm2x16Case() 158 m_spec.source = "out0 = packSnorm2x16(in0);"; in PackSnorm2x16Case() 258 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 259 …m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); in UnpackSnorm2x16Case() 261 m_spec.source = "out0 = unpackSnorm2x16(in0);"; in UnpackSnorm2x16Case() 346 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); in PackUnorm2x16Case() [all …]
|
D | es31fFboNoAttachmentTests.cpp | 345 const FboSpec m_spec; member in deqp::gles31::Functional::__anone94614790111::SizeCase 355 , m_spec (spec) in SizeCase() 388 if (m_spec.width != USE_MAXIMUM) in getWidth() 389 return m_spec.width; in getWidth() 403 if (m_spec.height != USE_MAXIMUM) in getHeight() 404 return m_spec.height; in getHeight() 418 if (m_spec.samples != USE_MAXIMUM) in getSamples() 419 return m_spec.samples; in getSamples()
|
D | es31fGeometryShaderTests.cpp | 783 const OutputCountPatternSpec m_spec; member in deqp::gles31::Functional::__anon7289665f0111::OutputCountShader 799 , m_spec (spec) in OutputCountShader() 832 const int emitCount = m_spec.pattern[packets[packetNdx].primitiveIDIn]; in shadePrimitives() 2367 OutputCountPatternSpec m_spec; member in deqp::gles31::Functional::__anon7289665f0111::OutputCountCase 2374 , m_spec (spec) in OutputCountCase() 2383 const int testVertices = *std::max_element(m_spec.pattern.begin(), m_spec.pattern.end()); in init() 2401 DE_ASSERT((int)m_spec.pattern.size() == 1); in init() 2402 m_spec.pattern[0] = de::min(maxVertices, maxComponents / componentsPerVertex); in init() 2405 m_spec.pattern[0] = m_spec.pattern[0] & ~0x00000001; in init() 2407 if (m_spec.pattern[0] == 0) in init() [all …]
|
/external/deqp/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 256 const TestSpec m_spec; member in deqp::gles31::Stress::__anon50188fe70111::SingleBindingCase 262 , m_spec (genTestSpec(flags)) in SingleBindingCase() 283 << " bufferOffset: " << m_spec.bufferOffset << "\n" in init() 284 << " bufferStride: " << m_spec.bufferStride << "\n" in init() 287 << " offset: " << m_spec.positionAttrOffset << "\n" in init() 288 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" in init() 291 if (m_spec.hasColorAttr) in init() 295 << " offset: " << m_spec.colorAttrOffset << "\n" in init() 296 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n" in init() 332 if (m_spec.hasColorAttr) in renderTo() [all …]
|
/external/deqp/modules/egl/ |
D | teglMakeCurrentPerfTests.cpp | 88 Spec m_spec; member in deqp::egl::MakeCurrentPerfCase 153 , m_spec (spec) in MakeCurrentPerfCase() 179 const EGLint surfaceBits = ((m_spec.surfaceTypes & SURFACETYPE_WINDOW) != 0 ? EGL_WINDOW_BIT : 0) in chooseConfig() 180 | ((m_spec.surfaceTypes & SURFACETYPE_PIXMAP) != 0 ? EGL_PIXMAP_BIT : 0) in chooseConfig() 181 | ((m_spec.surfaceTypes & SURFACETYPE_PBUFFER) != 0 ? EGL_PBUFFER_BIT : 0); in chooseConfig() 202 if ((m_spec.surfaceTypes & SURFACETYPE_WINDOW) != 0) in createSurfaces() 205 if ((m_spec.surfaceTypes & SURFACETYPE_PIXMAP) != 0) in createSurfaces() 208 if ((m_spec.surfaceTypes & SURFACETYPE_PBUFFER) != 0) in createSurfaces() 211 DE_ASSERT((int)types.size() <= m_spec.surfaceCount); in createSurfaces() 214 for (int surfaceNdx = 0; surfaceNdx < m_spec.surfaceCount; surfaceNdx++) in createSurfaces() [all …]
|
D | teglMemoryStressTests.cpp | 324 Spec m_spec; member in deqp::egl::MemoryStressCase 337 , m_spec (spec) in MemoryStressCase() 384 …, m_display, m_config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m… in iterate()
|
D | teglImageFormatTests.cpp | 1614 const TestSpec m_spec; member in deqp::egl::Image::ImageFormatCase 1649 , m_spec (spec) in ImageFormatCase() 1701 for (int operationNdx = 0; operationNdx < (int)m_spec.operations.size(); operationNdx++) in checkExtensions() 1702 …apiContexts[m_spec.operations[m_curIter].apiIndex]->checkRequiredExtensions(requiredExtensions, m_… in checkExtensions() 1719 for (int contextNdx = 0; contextNdx < (int)m_spec.contexts.size(); contextNdx++) in init() 1722 switch (m_spec.contexts[contextNdx]) in init() 1755 switch (m_spec.operations[m_curIter].type) in iterate() 1768 …m_img = m_apiContexts[m_spec.operations[m_curIter].apiIndex]->create(m_spec.operations[m_curIter].… in iterate() 1774 DE_ASSERT(m_apiContexts[m_spec.operations[m_curIter].apiIndex]); in iterate() 1775 …isOk = m_apiContexts[m_spec.operations[m_curIter].apiIndex]->render(m_spec.operations[m_curIter].o… in iterate() [all …]
|
D | teglGLES2SharingTests.cpp | 167 TestSpec m_spec; member in deqp::egl::GLES2SharingTest 183 , m_spec (spec) in GLES2SharingTest() 246 if (m_spec.useResource) in iterate() 256 if (m_spec.renderOnContexA) in iterate() 259 if (m_spec.verifyOnContexA) in iterate() 274 if (m_spec.renderOnContexB) in iterate() 279 if (m_spec.verifyOnContexB) in iterate() 294 if (m_spec.destroyOnContexB) in iterate() 310 if (m_spec.destroyContextBFirst) in iterate()
|
/external/deqp/modules/gles3/stress/ |
D | es3sLongShaderTests.cpp | 188 const LongShaderSpec m_spec; member in deqp::gles3::Stress::__anone9ed75ff0111::LongShaderGenerator 212 , m_spec (spec) in LongShaderGenerator() 214 …DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAG… in LongShaderGenerator() 222 return glu::ShaderSource(m_spec.shaderType, m_source); in getSource() 233 if (m_spec.shaderType == glu::SHADERTYPE_FRAGMENT) in generateSource() 239 while (currentOpsTotal < m_spec.opsTotal) in generateSource() 241 const bool isLast = (m_spec.opsTotal <= (currentOpsTotal + m_spec.opsPerExpression)); in generateSource() 242 const int numOps = isLast ? (m_spec.opsTotal - currentOpsTotal) : m_spec.opsPerExpression; in generateSource() 274 return (m_spec.shaderType == glu::SHADERTYPE_VERTEX) ? "gl_Position" : "o_fragColor"; in getShaderOutputName() 316 m_nameGen.makeNames(scope, m_spec.variablesPerBlock); in beginBlock()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 2035 , m_spec (spec) in MultiVertexArrayTest() 2048 …const size_t primitiveSize = (m_spec.primitive == Array::PRIMITIVE_TRIANGLES) ? (6) : (1); // in … in iterate() 2054 m_testCtx.getLog() << TestLog::Message << m_spec.getDesc() << TestLog::EndMessage; in iterate() 2060 Spec::ArraySpec arraySpec = m_spec.arrays[0]; in iterate() 2085 for (int arrayNdx = 1; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++) in iterate() 2087 Spec::ArraySpec arraySpec = m_spec.arrays[arrayNdx]; in iterate() 2096 for (int arrayNdx = 0; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++) in iterate() 2098 Spec::ArraySpec arraySpec = m_spec.arrays[arrayNdx]; in iterate() 2099 …) + 100 * int(arraySpec.storage) + 1000 * int(m_spec.primitive) + 10000 * int(arraySpec.usage) + i… in iterate() 2102 …const size_t bufferSize = arraySpec.offset + stride * (m_spec.drawCount * primitiveSize - 1) + ar… in iterate() [all …]
|
D | glsVertexArrayTests.hpp | 450 Spec m_spec; member in deqp::gls::MultiVertexArrayTest
|