/external/deqp/framework/common/ |
D | tcuSurfaceAccess.hpp | 60 void setPixel (const tcu::Vec4& color, int x, int y) const; 71 inline void SurfaceAccess::setPixel (const tcu::Vec4& color, int x, int y) const in setPixel() function in tcu::SurfaceAccess 74 m_surface->setPixel(m_x+x, m_y+y, toRGBAMasked(color, m_colorMask)); in setPixel()
|
D | tcuSurface.hpp | 56 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
|
D | tcuTextureUtil.cpp | 768 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear() 779 access.setPixel(color, x, y, z); in clear() 799 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear() 810 access.setPixel(color, x, y, z); in clear() 852 access.setPixel(tcu::Vec4(r, g, b, a), x, 0); in fillWithComponentGradients1D() 889 access.setPixel(tcu::Vec4(r, g, b, a), x, y); in fillWithComponentGradients2D() 907 access.setPixel(tcu::Vec4(r, g, b, a), x, y); in fillWithComponentGradients2D() 944 dst.setPixel(tcu::Vec4(r, g, b, a), x, y, z); in fillWithComponentGradients3D() 998 access.setPixel(colorB, x, 0); in fillWithGrid1D() 1000 access.setPixel(colorA, x, 0); in fillWithGrid1D() [all …]
|
D | tcuImageCompare.cpp | 151 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels() 174 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels() 309 …diffMask.setPixel(tcu::RGBA(deClamp32(sum*diffFactor, 0, 255), deClamp32(255-sum*diffFactor, 0, 25… in computeSquaredDiffSum() 514 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() 601 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() 685 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() 770 errorMask.setPixel(isOk ? IVec4(0, 0xff, 0, 0xff) : IVec4(0xff, 0, 0, 0xff), x, y, z); in intThresholdCompare() 872 errorMask.setPixel(isOk ? IVec4(0, 0xff, 0, 0xff) : IVec4(0xff, 0, 0, 0xff), x, y, z); in dsThresholdCompare()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryTraversalControlTests.cpp | 642 referenceAccess.setPixel(hitValue0, vertexNdx, 0, 0); in verifyImage() 643 referenceAccess.setPixel(hitValue1, vertexNdx, 0, 1); in verifyImage() 647 referenceAccess.setPixel(missValue, vertexNdx, 0, 0); in verifyImage() 648 referenceAccess.setPixel(missValue, vertexNdx, 0, 1); in verifyImage() 662 referenceAccess.setPixel(hitValue0, primitiveNdx, vertexNdx, 0); in verifyImage() 663 referenceAccess.setPixel(hitValue1, primitiveNdx, vertexNdx, 1); in verifyImage() 667 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 0); in verifyImage() 668 referenceAccess.setPixel(missValue, primitiveNdx, vertexNdx, 1); in verifyImage() 677 referenceAccess.setPixel(hitValue0, x, y, 0); in verifyImage() 678 referenceAccess.setPixel(hitValue1, x, y, 1); in verifyImage() [all …]
|
/external/skia/src/codec/ |
D | SkBmpRLECodec.cpp | 171 void SkBmpRLECodec::setPixel(void* dst, size_t dstRowBytes, in setPixel() function in SkBmpRLECodec 443 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE() 447 setPixel(dst, dstRowBytes, dstInfo, in decodeRLE() 455 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE() 518 setPixel(dst, dstRowBytes, dstInfo, x, y, indices[which]); in decodeRLE()
|
/external/skqp/src/codec/ |
D | SkBmpRLECodec.cpp | 168 void SkBmpRLECodec::setPixel(void* dst, size_t dstRowBytes, in setPixel() function in SkBmpRLECodec 440 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE() 444 setPixel(dst, dstRowBytes, dstInfo, in decodeRLE() 452 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE() 515 setPixel(dst, dstRowBytes, dstInfo, x, y, indices[which]); in decodeRLE()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapTest.java | 241 bitmap.setPixel(0, 0, 2); in shouldSetPixel() 250 bitmap.setPixel(0, 0, 2); in shouldSetPixel_allocateOnTheFly() 261 bmp.setPixel(x, y, packRGB(x, y, 0)); in testGetPixels() 280 bitmap.setPixel(0, 0, 2); in shouldThrowExceptionForSetPixelOnImmutableBitmap() 360 bitmap.setPixel(x0, y0, packRGB(r++, 0, 0)); in shouldGetPixelsFromSubsetOfBitmap() 447 bitmapOriginal.setPixel(0, 0, 123); in shouldCopyPixelsToBufferAndReconstruct() 448 bitmapOriginal.setPixel(1, 1, 456); in shouldCopyPixelsToBufferAndReconstruct() 449 bitmapOriginal.setPixel(2, 2, 789); in shouldCopyPixelsToBufferAndReconstruct() 460 bitmapReconstructed.setPixel(1,1, 999); in shouldCopyPixelsToBufferAndReconstruct() 461 bitmapReconstructed.setPixel(4,4, 999); in shouldCopyPixelsToBufferAndReconstruct()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cClipControlTests.cpp | 540 referenceFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 544 referenceFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 729 referenceColorFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 734 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 902 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 1091 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 1095 referenceColorFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 1323 referenceFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 1327 referenceFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 1333 referenceFrame.setPixel(x, y, tcu::RGBA::blue()); in ValidateFramebuffer()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderBuiltinVarTests.cpp | 344 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate() 436 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate() 552 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate() 658 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate() 662 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate() 666 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate() 670 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
|
D | es2fClipControlTests.cpp | 532 referenceFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 536 referenceFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 719 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 723 referenceColorFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 947 referenceFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 951 referenceFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 957 referenceFrame.setPixel(x, y, tcu::RGBA::blue()); in ValidateFramebuffer() 1266 referenceColorFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer() 1271 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer() 1438 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer()
|
D | es2fDitheringTests.cpp | 294 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient() 303 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient() 406 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad() 415 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad()
|
D | es2fDepthStencilClearTests.cpp | 415 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()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSparseRenderTargetTests.cpp | 508 reference.getAccess().setPixel(color, x, y); in iterateInternal() 524 reference.getAccess().setPixel(color, x, y); in iterateInternal() 543 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal() 545 reference.getAccess().setPixel(color, x, y); in iterateInternal() 566 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal() 568 reference.getAccess().setPixel(color, x, y); in iterateInternal()
|
D | vktRenderPassMultisampleResolveTests.cpp | 798 errorMask.getAccess().setPixel(okColor, x, y, z); in verify() 807 errorMask.getAccess().setPixel(errorColor, x, y, z); in verify() 814 …m_sum.getAccess().setPixel(old + (tcu::isSRGB(format) ? tcu::sRGBToLinear(firstColor) : firstColor… in verify() 817 m_sumSrgb.getAccess().setPixel(oldSrgb + firstColor, x, y, z); in verify() 904 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 1005 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 1135 m_sum.getAccess().setPixel(average, x, y, z); in iterate() 1136 errorMask.getAccess().setPixel(okColor, x, y, z); in iterate() 1153 m_sumSrgb.getAccess().setPixel(averageSrgb, x, y, z); in iterate() 1172 errorMask.getAccess().setPixel(errorColor, x, y, z); in iterate() [all …]
|
/external/deqp/modules/egl/ |
D | teglNativeCoordMappingTests.cpp | 279 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/ |
D | es3fDitheringTests.cpp | 301 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient() 310 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient() 411 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad() 420 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad()
|
D | es3fDepthStencilClearTests.cpp | 418 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()
|
D | es3fShaderBuiltinVarTests.cpp | 362 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() 685 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate() 689 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate() 693 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate() 697 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateGeneralTests.cpp | 127 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate() 224 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate() 360 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate() 362 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
|
D | vktDynamicStateVPTests.cpp | 160 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in buildReferenceFrame() 207 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in buildReferenceFrame() 328 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawAndClearTests.cpp | 445 …reference.setPixel(tcu::Vec4(clearColor.float32[0], clearColor.float32[1], clearColor.float32[2], … in prepareReferenceImageOneColor() 452 reference.setPixel(tcu::Vec4(color), w, h); in prepareReferenceImageOneColor() 480 …(w >= (WIDTH / 2) && h >= (HEIGHT / 2)) reference.setPixel(tcu::Vec4(clearColorFinal.float32[0], c… in prepareReferenceImageColorClearPartial() 482 …reference.setPixel(tcu::Vec4(clearColorInitial.float32[0], clearColorInitial.float32[1], clearColo… in prepareReferenceImageColorClearPartial() 1025 reference.setPixel(tcu::Vec4(clearColor.float32), w, h); in prepareReferenceImage() 1031 if (h < step && isBitSet(resultBits, 0)) reference.setPixel(tcu::Vec4(0, 1, 0, 1), w, h); in prepareReferenceImage() 1032 …if (h >= step && h < (step * 2) && isBitSet(resultBits, 1)) reference.setPixel(tcu::Vec4(0, 1, 0, … in prepareReferenceImage() 1033 …if (h >= (step * 2) && h < (step * 3) && isBitSet(resultBits, 2)) reference.setPixel(tcu::Vec4(0, … in prepareReferenceImage() 1034 if (h >= (step * 3) && isBitSet(resultBits, 3)) reference.setPixel(tcu::Vec4(0, 1, 0, 1), w, h); in prepareReferenceImage()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 590 void setPixel (int x, int y, int z, const ColorT& color) const; 655 void LayeredImage::setPixel (int x, int y, int z, const ColorT& color) const in setPixel() function in deqp::gles31::Functional::__anondc4033860111::LayeredImage 664 access.setPixel(color, x, y, m_type == TEXTURETYPE_CUBE ? 0 : z); in setPixel() 794 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32() 804 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32() 1020 case TextureFormat::R: resultSliceAccess.setPixel(Vec4(clrData[0]), x, y); break; in readFloatOrNormTextureWithLookupsAndVerify() 1021 …case TextureFormat::RGBA: resultSliceAccess.setPixel(Vec4(clrData[0], clrData[1], clrData[2], clrD… in readFloatOrNormTextureWithLookupsAndVerify() 1264 reference.setPixel(x, y, z, color); in iterate() 1266 reference.setPixel(x, y, z, color.asFloat()*storeColorScale + storeColorBias); in iterate() 1398 reference.setPixel(x, y, z, color); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 774 pixels.setPixel(signedColor, x, y); in populate() 778 pixels.setPixel(unsignedColor, x, y); in populate() 782 floatsAccess.setPixel(sfloatColor, 0, 0); in populate() 784 pixels.setPixel(tmpFloats, x, y); in populate() 790 floatsAccess.setPixel(ufloatColor, 0, 0); in populate() 792 pixels.setPixel(tmpFloats, x, y); in populate()
|
/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/ |
D | esextcTextureShadowLodFunctionsTest.cpp | 590 access.setPixel(cCorner, 0, 0); in initTexture() 591 access.setPixel(cCorner, 0, lastPix); in initTexture() 592 access.setPixel(cCorner, lastPix, 0); in initTexture() 593 access.setPixel(cCorner, lastPix, lastPix); in initTexture() 669 access.setPixel(cCorner, 0, 0, layer); in initTexture() 670 access.setPixel(cCorner, 0, lastPix, layer); in initTexture() 671 access.setPixel(cCorner, lastPix, 0, layer); in initTexture() 672 access.setPixel(cCorner, lastPix, lastPix, layer); in initTexture()
|