/external/deqp/modules/gles3/functional/ |
es3fShaderPackingFunctionTests.cpp | 80 ShaderSpec m_spec; member in class:deqp::gles3::Functional::ShaderPackingFunctionCase 93 m_spec.version = glu::GLSL_VERSION_300_ES; 105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); 151 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); 152 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); 154 m_spec.source = "out0 = packSnorm2x16(in0);"; 254 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); 255 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); 257 m_spec.source = "out0 = unpackSnorm2x16(in0);"; 342 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))) [all...] |
es3fVertexArrayObjectTests.cpp | 156 Spec m_spec; member in class:deqp::gles3::Functional::VertexArrayObjectTest 179 , m_spec (spec) 222 for (int bufferNdx = 0; bufferNdx < (int)m_spec.buffers.size(); bufferNdx++) 224 deUint8* data = createRandomBufferData(m_spec.buffers[bufferNdx]); 233 GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, m_spec.buffers[bufferNdx].size, data, GL_DYNAMIC_DRAW)); 244 m_vaoProgram = createProgram(m_spec.vao); 247 m_stateProgram = createProgram(m_spec.state); 254 if (m_spec.useDrawElements && (m_spec.vao.elementArrayBuffer == 0 || m_spec.state.elementArrayBuffer == 0) 675 Spec m_spec; member in class:deqp::gles3::Functional::MultiVertexArrayObjectTest [all...] |
es3fShaderCommonFunctionTests.cpp | 182 ShaderSpec m_spec; member in class:deqp::gles3::Functional::CommonFunctionCase 197 m_spec.version = glu::GLSL_VERSION_300_ES; 209 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); 326 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); 327 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); 330 const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValues); 331 const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numValues); 342 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); 343 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); 365 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = [all...] |
es3fShaderOperatorTests.cpp | 678 ShaderDataSpec m_spec; member in class:deqp::gles3::Functional::ShaderOperatorCase 685 , m_spec (spec) 694 const char* precision = m_spec.precision != PRECISION_LAST ? getPrecisionName(m_spec.precision) : DE_NULL; 705 for (int i = 0; i < m_spec.numInputs; i++) 707 bool isBoolVal = de::inRange<int>(m_spec.inputs[i].type, TYPE_BOOL, TYPE_BOOL_VEC4); 708 bool isIntVal = de::inRange<int>(m_spec.inputs[i].type, TYPE_INT, TYPE_INT_VEC4); 709 bool isUintVal = de::inRange<int>(m_spec.inputs[i].type, TYPE_UINT, TYPE_UINT_VEC4); 713 : m_spec.precision; 719 for (int i = 0; i < m_spec.numInputs; i++ [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboNoAttachmentTests.cpp | 345 const FboSpec m_spec; member in class:deqp::gles31::Functional::__anon3969::SizeCase 355 , m_spec (spec) 388 if (m_spec.width != USE_MAXIMUM) 389 return m_spec.width; 403 if (m_spec.height != USE_MAXIMUM) 404 return m_spec.height; 418 if (m_spec.samples != USE_MAXIMUM) 419 return m_spec.samples;
|
es31fShaderPackingFunctionTests.cpp | 80 ShaderSpec m_spec; member in class:deqp::gles31::Functional::ShaderPackingFunctionCase 93 m_spec.version = glu::GLSL_VERSION_310_ES; 105 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); 155 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); 156 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); 158 m_spec.source = "out0 = packSnorm2x16(in0);"; 258 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))); 259 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); 261 m_spec.source = "out0 = unpackSnorm2x16(in0);"; 346 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))) [all...] |
es31fAtomicCounterTests.cpp | 117 const TestSpec m_spec; member in class:deqp::gles31::Functional::__anon3964::AtomicCounterTest 122 deUint32 getInitialValue (void) const { return m_spec.callCount * m_spec.threadCount + 1; } 140 if (m_spec.operations & OPERATION_INC) 143 if (m_spec.operations & OPERATION_DEC) 146 if (m_spec.operations == OPERATION_GET) 148 else if (m_spec.operations & OPERATION_GET) 156 , m_spec (spec) 536 if ((m_spec.operations & OPERATION_INC) != 0 && (m_spec.operations & OPERATION_DEC) == 0 [all...] |
es31fShaderCommonFunctionTests.cpp | 209 ShaderSpec m_spec; member in class:deqp::gles31::Functional::CommonFunctionCase 224 m_spec.version = glu::GLSL_VERSION_310_ES; 236 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); 353 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); 354 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); 357 const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValues); 358 const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numValues); 369 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); 370 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); 392 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = [all...] |
es31fShaderIntegerFunctionTests.cpp | 180 ShaderSpec m_spec; member in class:deqp::gles31::Functional::IntegerFunctionCase 195 m_spec.version = glu::GLSL_VERSION_310_ES; 207 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); 258 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); 259 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); 262 const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValues); 263 const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numValues); 274 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); 275 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); 297 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = [all...] |
es31fVertexAttributeBindingTests.cpp | 262 const TestSpec m_spec; member in class:deqp::gles31::Functional::__anon4078::SingleBindingCase 268 , m_spec (genTestSpec(flags)) 289 << " bufferOffset: " << m_spec.bufferOffset << "\n" 290 << " bufferStride: " << m_spec.bufferStride << "\n" 293 << " offset: " << m_spec.positionAttrOffset << "\n" 294 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" 297 if (m_spec.hasColorAttr) 301 << " offset: " << m_spec.colorAttrOffset << "\n" 302 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n 557 const TestSpec m_spec; member in class:deqp::gles31::Functional::__anon4078::MultipleBindingCase [all...] |
es31fGeometryShaderTests.cpp | 783 const OutputCountPatternSpec m_spec; member in class:deqp::gles31::Functional::__anon3971::OutputCountShader 799 , m_spec (spec) 832 const int emitCount = m_spec.pattern[packets[packetNdx].primitiveIDIn]; 2367 OutputCountPatternSpec m_spec; member in class:deqp::gles31::Functional::__anon3971::OutputCountCase [all...] |
/external/deqp/modules/egl/ |
teglMakeCurrentPerfTests.cpp | 88 Spec m_spec; member in class:deqp::egl::MakeCurrentPerfCase 153 , m_spec (spec) 179 const EGLint surfaceBits = ((m_spec.surfaceTypes & SURFACETYPE_WINDOW) != 0 ? EGL_WINDOW_BIT : 0) 180 | ((m_spec.surfaceTypes & SURFACETYPE_PIXMAP) != 0 ? EGL_PIXMAP_BIT : 0) 181 | ((m_spec.surfaceTypes & SURFACETYPE_PBUFFER) != 0 ? EGL_PBUFFER_BIT : 0); 202 if ((m_spec.surfaceTypes & SURFACETYPE_WINDOW) != 0) 205 if ((m_spec.surfaceTypes & SURFACETYPE_PIXMAP) != 0) 208 if ((m_spec.surfaceTypes & SURFACETYPE_PBUFFER) != 0) 211 DE_ASSERT((int)types.size() <= m_spec.surfaceCount); 214 for (int surfaceNdx = 0; surfaceNdx < m_spec.surfaceCount; surfaceNdx++ [all...] |
teglMemoryStressTests.cpp | 324 Spec m_spec; member in class:deqp::egl::MemoryStressCase 337 , m_spec (spec) 384 m_allocator = new MemoryAllocator(m_eglTestCtx, m_display, m_config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_spec.maxHeight, m_spec.use);
|
teglGLES2SharingTests.cpp | 167 TestSpec m_spec; member in class:deqp::egl::GLES2SharingTest 183 , m_spec (spec) 246 if (m_spec.useResource) 256 if (m_spec.renderOnContexA) 259 if (m_spec.verifyOnContexA) 274 if (m_spec.renderOnContexB) 279 if (m_spec.verifyOnContexB) 294 if (m_spec.destroyOnContexB) 310 if (m_spec.destroyContextBFirst) [all...] |
teglImageFormatTests.cpp | 1614 const TestSpec m_spec; member in class:deqp::egl::Image::ImageFormatCase [all...] |
/external/deqp/modules/gles31/stress/ |
es31sVertexAttributeBindingTests.cpp | 256 const TestSpec m_spec; member in class:deqp::gles31::Stress::__anon4087::SingleBindingCase 262 , m_spec (genTestSpec(flags)) 283 << " bufferOffset: " << m_spec.bufferOffset << "\n" 284 << " bufferStride: " << m_spec.bufferStride << "\n" 287 << " offset: " << m_spec.positionAttrOffset << "\n" 288 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" 291 if (m_spec.hasColorAttr) 295 << " offset: " << m_spec.colorAttrOffset << "\n" 296 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n [all...] |
/external/deqp/modules/gles2/performance/ |
es2pDrawCallBatchingTests.cpp | 111 TestSpec m_spec; member in class:deqp::gles2::Performance::__anon3659::DrawCallBatchingTest 157 , m_spec (spec) 172 if (m_spec.dynamicIndices) 174 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) 176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) 186 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) 188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) 203 for (int attributeNdx = 0; attributeNdx < m_spec.staticAttributeCount; attributeNdx++) 206 if (m_spec.staticAttributeCount > 0 && m_spec.dynamicAttributeCount > 0 [all...] |
/external/deqp/modules/glshared/ |
glsVertexArrayTests.hpp | 450 Spec m_spec; member in class:deqp::gls::MultiVertexArrayTest
|