/external/deqp/modules/egl/ |
D | teglMakeCurrentPerfTests.cpp | 436 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local 437 log << TestLog::Sample << deInt64(m_samples[sampleNdx]) << TestLog::EndSample; in logResults() 456 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local 458 totalTimeUs += m_samples[sampleNdx]; in logResults() 467 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local 469 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults() 474 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local 476 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults() 484 for (int sampleNdx = 0; sampleNdx < (int)m_samples.size(); sampleNdx++) in logResults() local 486 float iterationTimeUs = (float)(((double)m_samples[sampleNdx]) / m_spec.iterationCount); in logResults()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 913 for (int sampleNdx = beginNdx; sampleNdx < endNdx; sampleNdx += step) in fitLineToSamples() local 917 point.x() = (float)(samples[sampleNdx].writtenSize); in fitLineToSamples() 918 point.y() = (float)(samples[sampleNdx].duration.*target); in fitLineToSamples() 931 for (int sampleNdx = beginNdx; sampleNdx < endNdx; sampleNdx += step) in fitLineToSamples() local 935 point.x() = (float)(samples[sampleNdx].renderDataSize); in fitLineToSamples() 936 point.y() = (float)(samples[sampleNdx].duration.*target); in fitLineToSamples() 1073 for (int sampleNdx = 0; sampleNdx < (int)samples.size(); ++sampleNdx) in bucketizeSamplesUniformly() local 1075 DE_ASSERT(samples[sampleNdx].allocatedSize != 0); in bucketizeSamplesUniformly() 1077 if (!minBufferSize || samples[sampleNdx].allocatedSize < minBufferSize) in bucketizeSamplesUniformly() 1078 minBufferSize = samples[sampleNdx].allocatedSize; in bucketizeSamplesUniformly() [all …]
|
D | es3pDepthTests.cpp | 650 for (size_t sampleNdx = 0; sampleNdx < samples.size(); sampleNdx++) in logSamples() local 652 const Sample& sample = samples[sampleNdx]; in logSamples() 667 for (size_t sampleNdx = 0; sampleNdx < samples.size(); sampleNdx++) in logSamples() local 669 const Sample& sample = samples[sampleNdx]; in logSamples()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSampleVariableTests.cpp | 568 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local 569 …:TestLog::Image("Buffer" + de::toString(sampleNdx), "Sample " + de::toString(sampleNdx), resultBuf… in verifySampleBuffers() 574 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local 578 const float sampleIdColor = (float)sampleNdx / (float)m_numTargetSamples; in verifySampleBuffers() 580 …m_testCtx.getLog() << tcu::TestLog::Message << "Verifying sample " << (sampleNdx+1) << "/" << (int… in verifySampleBuffers() 581 …allOk &= verifyImageWithVerifier(resultBuffers[sampleNdx], m_testCtx.getLog(), ColorVerifier(tcu::… in verifySampleBuffers() 717 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local 718 …:TestLog::Image("Buffer" + de::toString(sampleNdx), "Sample " + de::toString(sampleNdx), resultBuf… in verifySampleBuffers() 727 for (int sampleNdx = 0; sampleNdx < (int)resultBuffers.size(); ++sampleNdx) in verifySampleBuffers() local 730 …m_testCtx.getLog() << tcu::TestLog::Message << "Verifying sample " << (sampleNdx+1) << "/" << (int… in verifySampleBuffers() [all …]
|
D | es31fTextureMultisampleTests.cpp | 137 bool testMultisampleTexture (int sampleNdx); 138 void drawSample (tcu::Surface& dst, int sampleNdx); 269 for (int sampleNdx = 0; sampleNdx < m_samples; ++sampleNdx) in init() local 271 if (m_samplePositions[sampleNdx].x() < 0.0f || m_samplePositions[sampleNdx].x() > 1.0f || in init() 272 m_samplePositions[sampleNdx].y() < 0.0f || m_samplePositions[sampleNdx].y() > 1.0f) in init() 274 … Sample position of sample " << sampleNdx << " should be in range ([0, 1], [0, 1]). Got " << m_sam… in init() 373 for (int sampleNdx = 0; sampleNdx < m_samples; ++sampleNdx) in genMultisampleTexture() local 377 gl.getMultisamplefv(GL_SAMPLE_POSITION, (deUint32)sampleNdx, position); in genMultisampleTexture() 381 …m_testCtx.getLog() << tcu::TestLog::Message << "\t" << sampleNdx << ": (" << position[0] << ", " <… in genMultisampleTexture() 439 bool SamplePosRasterizationTest::testMultisampleTexture (int sampleNdx) in testMultisampleTexture() argument [all …]
|
D | es31fMultisampleShaderRenderCase.cpp | 624 for (int sampleNdx = 0; sampleNdx < m_numTargetSamples; ++sampleNdx) in drawOneIteration() local 625 resultBuffers[sampleNdx].setSize(m_renderSize, m_renderSize); in drawOneIteration() 649 for (int sampleNdx = 0; sampleNdx < m_numTargetSamples; ++sampleNdx) in drawOneIteration() local 651 gl.uniform1i(sampleLocation, sampleNdx); in drawOneIteration() 655 glu::readPixels(m_context.getRenderContext(), 0, 0, resultBuffers[sampleNdx].getAccess()); in drawOneIteration()
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 755 for (int sampleNdx = 0; sampleNdx < NumSamples; sampleNdx++) in rasterizeMultiSample() local 757 const deInt64 ox = samplePos[sampleNdx*2 + 0]; in rasterizeMultiSample() 758 const deInt64 oy = samplePos[sampleNdx*2 + 1]; in rasterizeMultiSample() 762 e01[sampleNdx][fragNdx] = evaluateEdge(m_edge01, sx[fragNdx] + ox, sy[fragNdx] + oy); in rasterizeMultiSample() 763 e12[sampleNdx][fragNdx] = evaluateEdge(m_edge12, sx[fragNdx] + ox, sy[fragNdx] + oy); in rasterizeMultiSample() 764 e20[sampleNdx][fragNdx] = evaluateEdge(m_edge20, sx[fragNdx] + ox, sy[fragNdx] + oy); in rasterizeMultiSample() 769 for (int sampleNdx = 0; sampleNdx < NumSamples; sampleNdx++) in rasterizeMultiSample() local 771 … 0, 0, sampleNdx, isInsideCCW(m_edge01, e01[sampleNdx][0]) && isInsideCCW(m_edge12, e12[sampl… in rasterizeMultiSample() 772 …0, sampleNdx, !outX1 && isInsideCCW(m_edge01, e01[sampleNdx][1]) && isInsideCCW(m_edge12, e12[sa… in rasterizeMultiSample() 773 …1, sampleNdx, !outY1 && isInsideCCW(m_edge01, e01[sampleNdx][2]) && isInsideCCW(m_edge12, e12[sa… in rasterizeMultiSample() [all …]
|
D | rrRasterizer.hpp | 43 inline deUint64 getCoverageBit (int numSamples, int x, int y, int sampleNdx) in getCoverageBit() argument 49 return 1ull << ((x*2 + y)*numSamples + sampleNdx); in getCoverageBit() 61 inline deUint64 setCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx, bool … in setCoverageValue() argument 63 const deUint64 bit = getCoverageBit(numSamples, x, y, sampleNdx); in setCoverageValue() 68 inline bool getCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx) in getCoverageValue() argument 70 return (mask & getCoverageBit(numSamples, x, y, sampleNdx)) != 0; in getCoverageValue()
|
D | rrShadingContext.hpp | 158 …eadFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, int sampleNdx) in readFragmentDepth() argument 162 return context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx]; in readFragmentDepth() 165 …(const FragmentShadingContext& context, int packetNdx, int fragNdx, int sampleNdx, float depthValu… in writeFragmentDepth() argument 169 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()
|
D | rrRenderer.cpp | 1148 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local 1149 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx] + depthO… in rasterizePrimitive() 1157 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local 1158 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx], depthCl… in rasterizePrimitive() 1210 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local 1211 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx], depthCl… in rasterizePrimitive() 1275 for (int sampleNdx = 0; sampleNdx < numRasterizedPackets * 4 * numSamples; ++sampleNdx) in rasterizePrimitive() local 1276 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx], depthCl… in rasterizePrimitive()
|
/external/deqp/executor/tools/ |
D | xeExtractSampleLists.cpp | 61 for (int sampleNdx = 0; sampleNdx < sampleList.samples.getNumItems(); sampleNdx++) in writeSampleList() local 63 …xe::ri::Sample& sample = static_cast<const xe::ri::Sample&>(sampleList.samples.getItem(sampleNdx)); in writeSampleList()
|
/external/deqp/framework/common/ |
D | tcuBilinearImageCompare.cpp | 174 for (int sampleNdx = 0; sampleNdx < DE_LENGTH_OF_ARRAY(s_offsets); sampleNdx++) in comparePixelRGBA8() local 176 const int u = (x<<NUM_SUBPIXEL_BITS) + (int)s_offsets[sampleNdx][0] - (1<<NUM_SUBPIXEL_BITS); in comparePixelRGBA8() 177 const int v = (y<<NUM_SUBPIXEL_BITS) + (int)s_offsets[sampleNdx][1] - (1<<NUM_SUBPIXEL_BITS); in comparePixelRGBA8()
|
/external/deqp/modules/internal/ |
D | ditFrameworkTests.cpp | 806 for (int sampleNdx = 0; sampleNdx < numSamples; sampleNdx++) in runCase() local 808 if (dsAccess.getPixStencil(sampleNdx, x, y) != 0) in runCase() 810 const Vec4 color = interpAccess.getPixel(sampleNdx, x, y); in runCase() 814 const float depth = dsAccess.getPixDepth(sampleNdx, x, y); in runCase() 828 << "FAIL: " << tcu::IVec3(x, y, sampleNdx) in runCase()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFlushFinishTests.cpp | 413 for (int sampleNdx = 0; sampleNdx < NUM_VERIFICATION_SAMPLES; sampleNdx++) in verifyCalibration() local
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3245 const int sampleNdx = 0; // multisample read buffer case is already handled in blitFramebuffer() local 3252 …writeDepthOnly(dst, sampleNdx, xo, yo, src.raw().getPixDepth(sampleNdx, deFloorFloatToInt32(sX), d… in blitFramebuffer() 3266 const int sampleNdx = 0; // multisample read buffer case is already handled in blitFramebuffer() local 3272 …deUint32 srcStencil = src.raw().getPixelUint(sampleNdx, deFloorFloatToInt32(sX), deFloorFloatToInt… in blitFramebuffer() 3274 writeMaskedStencil(dst, sampleNdx, xo, yo, srcStencil, m_stencil[rr::FACETYPE_FRONT].writeMask); in blitFramebuffer()
|