/external/deqp/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 47 float r = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor() 48 float g = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor() 49 float b = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor() 50 float a = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor() 174 …state.stencil[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(co… in computeRandomRenderState() 177 …state.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(s… in computeRandomRenderState() 178 …state.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(st… in computeRandomRenderState() 179 …state.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(st… in computeRandomRenderState() 186 …state.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in computeRandomRenderState() 194 …state.blendRGBState.equation = rnd.choose<deUint32>(DE_ARRAY_BEGIN(blendEquationsES2), DE_ARRAY_EN… in computeRandomRenderState() [all …]
|
D | glsFboUtil.hpp | 62 #define GLS_ARRAY_RANGE(ARR) { DE_ARRAY_BEGIN(ARR), DE_ARRAY_END(ARR) }
|
/external/deqp/modules/gles2/stress/ |
D | es2sDrawTests.cpp | 308 …int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attri… in init() 312 …spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives… in init() 313 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init() 314 …spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMeth… in init() 315 …spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes… in init() 316 …spec.indexPointerOffset = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(in… in init() 317 …spec.indexStorage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages)… in init() 318 …spec.first = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(firsts), D… in init() 332 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init() 333 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init() [all …]
|
D | es2sSpecialFloatTests.cpp | 1584 …const GLenum blendFunctionDst = rnd.choose<GLenum>(DE_ARRAY_BEGIN(functions), DE_ARRAY_END(functi… in testFBO() 1588 …const deUint32 componentR = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO() 1589 …const deUint32 componentG = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO() 1590 …const deUint32 componentB = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO() 1591 …const deUint32 componentA = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO()
|
/external/deqp/modules/gles3/functional/ |
D | es3fClippingTests.cpp | 1382 …addChild(new PointCase(m_context, "point_z_clip", "point z clipping", DE_ARRAY_BEGIN(depth… in init() 1383 …e(m_context, "point_z_clip_viewport_center", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1384 …e(m_context, "point_z_clip_viewport_corner", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1386 …context, "point_clip_viewport_center", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() 1387 …context, "point_clip_viewport_corner", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() 1389 …addChild(new PointCase(m_context, "wide_point_z_clip", "point z clipping", DE_ARRAY_BEGIN(d… in init() 1390 …context, "wide_point_z_clip_viewport_center", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1391 …context, "wide_point_z_clip_viewport_corner", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1393 …ntCase(m_context, "wide_point_clip", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() 1394 …text, "wide_point_clip_viewport_center", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() [all …]
|
D | es3fDrawTests.cpp | 1021 …int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attri… in init() 1025 …spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives… in init() 1026 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init() 1027 …spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMeth… in init() 1028 …spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes… in init() 1029 …spec.indexPointerOffset = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(in… in init() 1030 …spec.indexStorage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages)… in init() 1031 …spec.first = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(firsts), D… in init() 1032 …spec.indexMin = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMins)… in init() 1033 …spec.indexMax = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMaxs)… in init() [all …]
|
D | es3fDepthStencilTests.cpp | 390 std::fill(DE_ARRAY_BEGIN(dst.quad.color), DE_ARRAY_END(dst.quad.color), src.color); in translateCommand() 391 …std::fill(DE_ARRAY_BEGIN(dst.quad.depth), DE_ARRAY_END(dst.quad.depth), ((far-near)/2.0f) * src.pa… in translateCommand() 474 std::fill(DE_ARRAY_BEGIN(quad.color), DE_ARRAY_END(quad.color), command.color); in render() 475 std::fill(DE_ARRAY_BEGIN(quad.depth), DE_ARRAY_END(quad.depth), command.params.depth); in render() 763 …params.stencil[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(co… in randomDepthStencilState() 766 …params.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(… in randomDepthStencilState() 767 …params.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(s… in randomDepthStencilState() 768 …params.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(s… in randomDepthStencilState() 775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState() 776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in randomDepthStencilState()
|
D | es3fFboCompletenessTests.cpp | 331 for (const GLsizei* ns = DE_ARRAY_BEGIN(params.numSamples); in getName() 472 for (const NumLayersParams* lp = DE_ARRAY_BEGIN(s_layersParams); in init() 499 for (const NumSamplesParams* lp = DE_ARRAY_BEGIN(s_samplesParams); in init()
|
D | es3fRandomFragmentOpTests.cpp | 133 std::copy(DE_ARRAY_BEGIN(quad.color), DE_ARRAY_END(quad.color), DE_ARRAY_BEGIN(translated.color)); in renderQuad()
|
/external/deqp/modules/gles2/functional/ |
D | es2fClippingTests.cpp | 1378 …addChild(new PointCase(m_context, "point_z_clip", "point z clipping", DE_ARRAY_BEGIN(depth… in init() 1379 …e(m_context, "point_z_clip_viewport_center", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1380 …e(m_context, "point_z_clip_viewport_corner", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1382 …context, "point_clip_viewport_center", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() 1383 …context, "point_clip_viewport_corner", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() 1385 …addChild(new PointCase(m_context, "wide_point_z_clip", "point z clipping", DE_ARRAY_BEGIN(d… in init() 1386 …context, "wide_point_z_clip_viewport_center", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1387 …context, "wide_point_z_clip_viewport_corner", "point z clipping", DE_ARRAY_BEGIN(depthTestPoint… in init() 1389 …ntCase(m_context, "wide_point_clip", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() 1390 …text, "wide_point_clip_viewport_center", "point viewport clipping", DE_ARRAY_BEGIN(viewportTestPo… in init() [all …]
|
D | es2fDrawTests.cpp | 594 …int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attri… in init() 598 …spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives… in init() 599 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init() 600 …spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMeth… in init() 601 …spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes… in init() 602 …spec.indexPointerOffset = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(in… in init() 603 …spec.indexStorage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages)… in init() 604 …spec.first = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(firsts), D… in init() 618 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init() 619 …attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(out… in init() [all …]
|
D | es2fDepthStencilTests.cpp | 390 std::fill(DE_ARRAY_BEGIN(dst.quad.color), DE_ARRAY_END(dst.quad.color), src.color); in translateCommand() 391 …std::fill(DE_ARRAY_BEGIN(dst.quad.depth), DE_ARRAY_END(dst.quad.depth), ((far-near)/2.0f) * src.pa… in translateCommand() 474 std::fill(DE_ARRAY_BEGIN(quad.color), DE_ARRAY_END(quad.color), command.color); in render() 475 std::fill(DE_ARRAY_BEGIN(quad.depth), DE_ARRAY_END(quad.depth), command.params.depth); in render() 763 …params.stencil[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(co… in randomDepthStencilState() 766 …params.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(… in randomDepthStencilState() 767 …params.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(s… in randomDepthStencilState() 768 …params.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(s… in randomDepthStencilState() 775 …params.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs)); in randomDepthStencilState() 776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues)); in randomDepthStencilState()
|
D | es2fDebugMarkerTests.cpp | 82 dst[ndx] = rnd.choose<char>(DE_ARRAY_BEGIN(s_chars), DE_ARRAY_END(s_chars)); in getSimpleRndString()
|
D | es2fRandomFragmentOpTests.cpp | 133 std::copy(DE_ARRAY_BEGIN(quad.color), DE_ARRAY_END(quad.color), DE_ARRAY_BEGIN(translated.color)); in renderQuad()
|
/external/deqp/modules/gles31/stress/ |
D | es31sDrawTests.cpp | 442 …int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attri… in init() 447 …spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives… in init() 448 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init() 449 …spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMeth… in init() 461 …spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes… in init() 462 …spec.indexPointerOffset = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(in… in init() 464 …spec.first = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(firsts), D… in init() 465 …spec.indexMin = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMins)… in init() 466 …spec.indexMax = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMaxs)… in init() 467 …spec.instanceCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(instan… in init() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sDrawTests.cpp | 522 …int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attri… in init() 526 …spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives… in init() 527 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init() 528 …spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMeth… in init() 529 …spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes… in init() 530 …spec.indexPointerOffset = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(in… in init() 531 …spec.indexStorage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages)… in init() 532 …spec.first = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(firsts), D… in init() 533 …spec.indexMin = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMins)… in init() 534 …spec.indexMax = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMaxs)… in init() [all …]
|
D | es3sSpecialFloatTests.cpp | 1094 …texData[(x * TEST_TEXTURE_SIZE + y) * 2 + 0] = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats… in init() 1118 …texData[x * TEST_TEXTURE_SIZE + y] = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRA… in init() 1952 …const GLenum blendFunctionDst = rnd.choose<GLenum>(DE_ARRAY_BEGIN(functions), DE_ARRAY_END(functi… in testFBO() 1956 …const deUint32 componentR = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO() 1957 …const deUint32 componentG = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO() 1958 …const deUint32 componentB = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO() 1959 …const deUint32 componentA = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRAY_END(… in testFBO()
|
/external/deqp/framework/delibs/decpp/ |
D | deRandom.cpp | 130 rnd.choose(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), &itemsDst[0], numItemsPicked); in Random_selfTest() 144 DE_TEST_ASSERT(expected[i] == rnd.choose<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items))); in Random_selfTest() 157 …DE_TEST_ASSERT(expected[i] == rnd.chooseWeighted<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), … in Random_selfTest() 181 rnd.shuffle(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items)); in Random_selfTest()
|
D | deDefs.hpp | 95 #define DE_ARRAY_BEGIN(ARR) (&(ARR)[0]) macro 98 #define DE_ARRAY_END(ARR) (DE_ARRAY_BEGIN(ARR) + DE_LENGTH_OF_ARRAY(ARR))
|
D | deCommandLine.hpp | 112 , namedValues (DE_ARRAY_BEGIN(namedValues_)) in Option()
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawTests.cpp | 2146 …int attributeCount = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(attri… in init() 2151 …spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives… in init() 2152 …spec.primitiveCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(primi… in init() 2153 …spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMeth… in init() 2165 …spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes… in init() 2166 …spec.indexPointerOffset = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(in… in init() 2168 …spec.first = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(firsts), D… in init() 2169 …spec.indexMin = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMins)… in init() 2170 …spec.indexMax = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(indexMaxs)… in init() 2171 …spec.instanceCount = random.chooseWeighted<int, const int*, const float*> (DE_ARRAY_BEGIN(instan… in init() [all …]
|
D | es31fAdvancedBlendTests.cpp | 372 const float a = rnd->choose<float>(DE_ARRAY_BEGIN(alphaValues), DE_ARRAY_END(alphaValues)); in randomColor() 373 const float r = a * rnd->choose<float>(DE_ARRAY_BEGIN(rgbValues), DE_ARRAY_END(rgbValues)); in randomColor() 374 const float g = a * rnd->choose<float>(DE_ARRAY_BEGIN(rgbValues), DE_ARRAY_END(rgbValues)); in randomColor() 375 const float b = a * rnd->choose<float>(DE_ARRAY_BEGIN(rgbValues), DE_ARRAY_END(rgbValues)); in randomColor() 428 std::copy(DE_ARRAY_BEGIN(singleQuadPos), DE_ARRAY_END(singleQuadPos), &positions[quadNdx*4]); in iterate()
|
D | es31fProgramInterfaceDefinition.cpp | 92 …const glu::ShaderType* const it = std::find(DE_ARRAY_BEGIN(s_shaderStageOrder), DE_ARRAY_END(s_sha… in getShaderStageIndex() 98 const int index = (int)(it - DE_ARRAY_BEGIN(s_shaderStageOrder)); in getShaderStageIndex()
|
/external/deqp/framework/common/ |
D | tcuCPUWarmup.cpp | 48 std::sort(DE_ARRAY_BEGIN(temp), DE_ARRAY_END(temp)); in floatMedian()
|
/external/deqp/modules/gles3/performance/ |
D | es3pDepthTests.cpp | 148 return vector<float>(DE_ARRAY_BEGIN(data), DE_ARRAY_END(data)); in getFullscreenQuad() 163 return vector<float>(DE_ARRAY_BEGIN(data), DE_ARRAY_END(data)); in getFullscreenQuadWithGradient() 179 return vector<float>(DE_ARRAY_BEGIN(data), DE_ARRAY_END(data)); in getPartScreenQuad() 222 retval.insert(retval.end(), DE_ARRAY_BEGIN(temp), DE_ARRAY_END(temp)); in getFullScreenGrid()
|