Home
last modified time | relevance | path

Searched refs:setPixel (Results 1 – 25 of 97) sorted by relevance

1234

/external/deqp/framework/common/
DtcuTextureUtil.cpp510 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
521 access.setPixel(color, x, y, z); in clear()
541 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
552 access.setPixel(color, x, y, z); in clear()
587 access.setPixel(tcu::Vec4(r, g, b, a), x, 0); in fillWithComponentGradients1D()
605 access.setPixel(tcu::Vec4(r, g, b, a), x, y); in fillWithComponentGradients2D()
627 dst.setPixel(tcu::Vec4(r, g, b, a), x, y, z); in fillWithComponentGradients3D()
666 access.setPixel(colorB, x, 0); in fillWithGrid1D()
668 access.setPixel(colorA, x, 0); in fillWithGrid1D()
682 access.setPixel(colorB, x, y); in fillWithGrid2D()
[all …]
DtcuSurface.hpp56 void setPixel (int x, int y, RGBA col);
70 inline void Surface::setPixel (int x, int y, RGBA col) in setPixel() function in tcu::Surface
DtcuImageCompare.cpp150 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels()
173 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels()
308 …diffMask.setPixel(tcu::RGBA(deClamp32(sum*diffFactor, 0, 255), deClamp32(255-sum*diffFactor, 0, 25… in computeSquaredDiffSum()
512 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatUlpThresholdCompare()
599 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatThresholdCompare()
683 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatThresholdCompare()
768 errorMask.setPixel(isOk ? IVec4(0, 0xff, 0, 0xff) : IVec4(0xff, 0, 0, 0xff), x, y, z); in intThresholdCompare()
DtcuTestLog.cpp209 logImageAccess.setPixel(s, x, y); in writeImage()
252 blendImageAccess.setPixel(b, px, py); in writeImage()
276 logImageAccess.setPixel(s, px, py); in writeImage()
/external/deqp/modules/egl/
DteglNativeCoordMappingTests.cpp279 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate()
283 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate()
289 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate()
293 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate()
301 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate()
305 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp294 errorMask.setPixel(x, y, tcu::RGBA::red); in drawAndCheckGradient()
303 errorMask.setPixel(x, y, tcu::RGBA::green); in drawAndCheckGradient()
397 errorMask.setPixel(x, y, tcu::RGBA::red); in drawAndCheckUnicoloredQuad()
406 errorMask.setPixel(x, y, tcu::RGBA::green); in drawAndCheckUnicoloredQuad()
Des3fDepthStencilClearTests.cpp418 rowAccess.setPixel(Vec4(1.0f), x, 0); in renderReference()
445 dst.setPixel(x, y, newColor); in renderReference()
462 rowAccess.setPixel(tcu::UVec4(0), x, 0); in renderReference()
493 dst.setPixel(x, y, newColor); in renderReference()
Des3fFragDepthTests.cpp248 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate()
260 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate()
412 referenceFrame.setPixel(x, y, tcu::RGBA(col, col, col, 0xff)); in iterate()
Des3fColorClearTest.cpp223 refImage.setPixel(x + ndx, y, spanColor); in iterate()
260 diffImage.setPixel(x, y, isPixelOk ? matchColor : diffColor); in iterate()
Des3fShaderBuiltinVarTests.cpp362 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
457 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
576 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate()
673 refImg.setPixel(x, y, tcu::RGBA::green); in iterate()
676 refImg.setPixel(x, y, tcu::RGBA::blue); in iterate()
Des3fReadPixelsTests.cpp194 reference.getLevel(0).setPixel(tcu::IVec4(0, 0, 0, 1000), x, y); in render()
196 reference.getLevel(0).setPixel(tcu::UVec4(0, 0, 0, 1000), x, y); in render()
198 reference.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f), x, y); in render()
Des3fTextureSwizzleTests.cpp71 …surface.setPixel(x, y, tcu::RGBA(swizzle(p, swzR), swizzle(p, swzG), swizzle(p, swzB), swizzle(p, … in swizzle()
209 referenceFrame.setPixel(x, y, pixelFormat.convertColor(p)); in iterate()
/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp294 errorMask.setPixel(x, y, tcu::RGBA::red); in drawAndCheckGradient()
303 errorMask.setPixel(x, y, tcu::RGBA::green); in drawAndCheckGradient()
397 errorMask.setPixel(x, y, tcu::RGBA::red); in drawAndCheckUnicoloredQuad()
406 errorMask.setPixel(x, y, tcu::RGBA::green); in drawAndCheckUnicoloredQuad()
Des2fShaderBuiltinVarTests.cpp342 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
434 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
550 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate()
644 refImg.setPixel(x, y, tcu::RGBA::green); in iterate()
647 refImg.setPixel(x, y, tcu::RGBA::blue); in iterate()
Des2fDepthStencilClearTests.cpp415 rowAccess.setPixel(Vec4(1.0f), x, 0); in renderReference()
442 dst.setPixel(x, y, newColor); in renderReference()
459 rowAccess.setPixel(tcu::UVec4(0), x, 0); in renderReference()
490 dst.setPixel(x, y, newColor); in renderReference()
Des2fDepthRangeTests.cpp241 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate()
253 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green : tcu::RGBA::blue); in iterate()
386 referenceFrame.setPixel(x, y, tcu::RGBA(col, col, col, 0xff)); in iterate()
Des2fColorClearTest.cpp223 refImage.setPixel(x + ndx, y, spanColor); in iterate()
260 diffImage.setPixel(x, y, isPixelOk ? matchColor : diffColor); in iterate()
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_GeneralDecoder.cpp137 GBREG->setPixel(w, h, bVal); in decode_Arith_Template0_opt()
343 GBREG->setPixel(w, h, bVal); in decode_Arith_Template0_unopt()
388 GBREG->setPixel(w, h, bVal); in decode_Arith_Template1_opt()
591 GBREG->setPixel(w, h, bVal); in decode_Arith_Template1_unopt()
634 GBREG->setPixel(w, h, bVal); in decode_Arith_Template2_opt()
835 GBREG->setPixel(w, h, bVal); in decode_Arith_Template2_unopt()
875 GBREG->setPixel(w, h, bVal); in decode_Arith_Template3_opt()
1048 GBREG->setPixel(w, h, bVal); in decode_Arith_Template3_unopt()
1110 GBREG->setPixel(w, h, bVal); in decode_Arith_V2()
1137 GBREG->setPixel(w, h, bVal); in decode_Arith_V2()
[all …]
DJBig2_Image.h33 FX_INT32 setPixel(FX_INT32 x, FX_INT32 y, FX_BOOL v);
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp572 void setPixel (int x, int y, int z, const ColorT& color) const;
637 void LayeredImage::setPixel (int x, int y, int z, const ColorT& color) const in setPixel() function in deqp::gles31::Functional::__anon0a49b9df0111::LayeredImage
646 access.setPixel(color, x, y, m_type == TEXTURETYPE_CUBE ? 0 : z); in setPixel()
776 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32()
786 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32()
1001 case TextureFormat::R: resultSliceAccess.setPixel(Vec4(clrData[0]), x, y); break; in readFloatOrNormTextureWithLookupsAndVerify()
1002 …case TextureFormat::RGBA: resultSliceAccess.setPixel(Vec4(clrData[0], clrData[1], clrData[2], clrD… in readFloatOrNormTextureWithLookupsAndVerify()
1244 reference.setPixel(x, y, z, color); in iterate()
1246 reference.setPixel(x, y, z, color.asFloat()*storeColorScale + storeColorBias); in iterate()
1378 reference.setPixel(x, y, z, color); in iterate()
[all …]
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp459 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
496 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
536 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected()
580 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected()
691 …dst.setPixel(execSample(src, params, coord.x(), coord.y(), coord.z(), lod) * params.colorScale + p… in sampleTextureCube()
740 dst.setPixel(execSample(src, params, s, t, r, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
787 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
835 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, x, y… in sampleTextureNonProjected()
883 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, px, … in sampleTextureProjected()
947 …dst.setPixel(execSample(src, params, coord.x(), coord.y(), coord.z(), coordQ, lod) * params.colorS… in sampleTextureCubeArray()
[all …]
DglsTextureTestUtil.hpp299 void setPixel (const tcu::Vec4& color, int x, int y) const;
310 inline void SurfaceAccess::setPixel (const tcu::Vec4& color, int x, int y) const in setPixel() function in deqp::gls::TextureTestUtil::SurfaceAccess
313 m_surface->setPixel(m_x+x, m_y+y, toRGBAMasked(color, m_colorMask)); in setPixel()
DglsRasterizationTestUtil.cpp779 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator()
839 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator()
1104 … referenceLineMap.getAccess().setPixel(tcu::IVec4(lineNdx + 1, 0, 0, 0), fragPos.x(), fragPos.y()); in verifySinglesampleLineGroupRasterization()
1159 errorMask.setPixel(x, y, tcu::RGBA::red); in verifySinglesampleLineGroupRasterization()
1204 reference.setPixel(x, y, tcu::RGBA::white); in verifySinglesampleLineGroupRasterization()
1464 maskMap.setPixel(tcu::IVec4(newMask, 0, 0, 0), fragPos.x(), fragPos.y()); in setMaskMapCoverageBitForLine()
1615 errorMask.setPixel(x, y, invalidPixelColor); in verifyLineGroupPixelIndependentInterpolation()
1981 errorMask.setPixel(x, y, invalidPixelColor); in verifySinglesampleWideLineGroupInterpolation()
2248 coverageMap.getAccess().setPixel(tcu::IVec4(COVERAGE_FULL, 0, 0, 0), x, y); in verifyTriangleGroupRasterization()
2274 coverageMap.getAccess().setPixel(tcu::IVec4(resultCoverage, 0, 0, 0), x, y); in verifyTriangleGroupRasterization()
[all …]
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp190 errorMask.setPixel(x, y, tcu::RGBA::green); in checkResultImage()
193 errorMask.setPixel(x, y, tcu::RGBA::red); in checkResultImage()
327 errorMask.setPixel(x, y, tcu::RGBA::red); in drawTestPattern()
331 errorMask.setPixel(x, y, tcu::RGBA::green); in drawTestPattern()
1409 errorMask.setPixel(x, y, badPixelColor); in testFBO()
1412 errorMask.setPixel(x, y, okPixelColor); in testFBO()
1630 errorMask.setPixel(x, y, badPixelColor); in testFBO()
1633 errorMask.setPixel(x, y, okPixelColor); in testFBO()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp193 errorMask.setPixel(x, y, tcu::RGBA::green); in checkResultImage()
196 errorMask.setPixel(x, y, tcu::RGBA::red); in checkResultImage()
335 errorMask.setPixel(x, y, tcu::RGBA::red); in drawTestPattern()
339 errorMask.setPixel(x, y, tcu::RGBA::green); in drawTestPattern()
1772 errorMask.setPixel(x, y, badPixelColor); in testFBO()
1775 errorMask.setPixel(x, y, okPixelColor); in testFBO()
1998 errorMask.setPixel(x, y, badPixelColor); in testFBO()
2001 errorMask.setPixel(x, y, okPixelColor); in testFBO()

1234