/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeBitmapShaderTest.java | 87 bitmap.setPixel(0, 0, Color.RED); in testClamp() 88 bitmap.setPixel(1, 0, Color.BLUE); in testClamp() 107 bitmap.setPixel(0, 0, Color.RED); in testRepeat() 108 bitmap.setPixel(1, 0, Color.BLUE); in testRepeat() 127 bitmap.setPixel(0, 0, Color.RED); in testMirror() 128 bitmap.setPixel(1, 0, Color.BLUE); in testMirror()
|
D | ShadowNativeBitmapTest.java | 438 bitmap.setPixel(4, 4, Color.BLUE); in testGenerationId() 794 bitmap.setPixel(10, 16, 0xFF << 24); in testGetPixel() 799 bitmap.setPixel(5, 5, 0xFFFFFFFF); in testGetPixel() 801 bitmap.setPixel(5, 5, 0xA8A8A8A8); in testGetPixel() 803 bitmap.setPixel(5, 5, 0x00000000); in testGetPixel() 805 bitmap.setPixel(5, 5, 0x1F000000); in testGetPixel() 1165 assertThrows(IllegalStateException.class, () -> bitmap.setPixel(10, 16, color)); in testSetPixelOnRecycled() 1173 assertThrows(IllegalStateException.class, () -> bitmap.setPixel(10, 16, color)); in testSetPixelOnImmutable() 1182 assertThrows(IllegalArgumentException.class, () -> bitmap.setPixel(200, 16, color)); in testSetPixelXIsTooLarge() 1191 assertThrows(IllegalArgumentException.class, () -> bitmap.setPixel(10, 300, color)); in testSetPixelYIsTooLarge() [all …]
|
/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() 694 … 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() 779 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() 875 errorMask.setPixel(isOk ? IVec4(0, 0xff, 0, 0xff) : IVec4(0xff, 0, 0, 0xff), x, y, z); in intThresholdCompare() 977 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/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/skia/src/codec/ |
D | SkBmpRLECodec.cpp | 184 void SkBmpRLECodec::setPixel(void* dst, size_t dstRowBytes, in setPixel() function in SkBmpRLECodec 453 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE() 457 setPixel(dst, dstRowBytes, dstInfo, in decodeRLE() 465 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE() 528 setPixel(dst, dstRowBytes, dstInfo, x, y, indices[which]); in decodeRLE()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateClearTests.cpp | 203 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.25f, 0.5f, 0.25f, 0.5f), x, y); in buildReferenceFrame() 205 referenceFrame.getLevel(0).setPixel(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), x, y); in buildReferenceFrame() 278 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.25f, 0.0f, 0.5f), x, y); in buildReferenceFrame() 336 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.25f, 0.0f, 0.5f), x, y); in buildReferenceFrame() 395 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.25f, 0.0f, 0.5f), x, y); in buildReferenceFrame()
|
D | vktDynamicStateGeneralTests.cpp | 146 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate() 266 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate() 416 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate() 418 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/video/ |
D | vktVideoDecodeTests.cpp | 134 access.setPixel(src.getPixelUint(x, y), x, y); in convertToRGBASized() 680 refPixelBufferAccessV.setPixel(colorV, x, y); in verifyImage() 681 refPixelBufferAccessY.setPixel(colorY, x, y); in verifyImage() 682 refPixelBufferAccessU.setPixel(colorU, x, y); in verifyImage() 770 refPixelBufferAccessV.setPixel(refBlankV, x, y); in verifyImageMultipleFrameWithReference() 771 refPixelBufferAccessY.setPixel(refBlankY, x, y); in verifyImageMultipleFrameWithReference() 772 refPixelBufferAccessU.setPixel(refBlankU, x, y); in verifyImageMultipleFrameWithReference() 786 refPixelBufferAccessV.setPixel(refColorV, x, y); in verifyImageMultipleFrameWithReference() 787 refPixelBufferAccessY.setPixel(refColorY, x, y); in verifyImageMultipleFrameWithReference() 788 refPixelBufferAccessU.setPixel(refColorU, x, y); in verifyImageMultipleFrameWithReference() [all …]
|
/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/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapTest.java | 290 bitmap.setPixel(0, 0, 2); in shouldSetPixel() 299 bitmap.setPixel(0, 0, 2); in shouldSetPixel_allocateOnTheFly() 310 bmp.setPixel(x, y, packRGB(x, y, 0)); in testGetPixels() 329 bitmap.setPixel(0, 0, 2); in shouldThrowExceptionForSetPixelOnImmutableBitmap() 415 bitmap.setPixel(x0, y0, packRGB(r++, 0, 0)); in shouldGetPixelsFromSubsetOfBitmap() 502 bitmapOriginal.setPixel(0, 0, 123); in shouldCopyPixelsToBufferAndReconstruct() 503 bitmapOriginal.setPixel(1, 1, 456); in shouldCopyPixelsToBufferAndReconstruct() 504 bitmapOriginal.setPixel(2, 2, 789); in shouldCopyPixelsToBufferAndReconstruct() 515 bitmapReconstructed.setPixel(1, 1, 999); in shouldCopyPixelsToBufferAndReconstruct() 516 bitmapReconstructed.setPixel(4, 4, 999); in shouldCopyPixelsToBufferAndReconstruct()
|
/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/renderpass/ |
D | vktRenderPassSparseRenderTargetTests.cpp | 655 reference.getAccess().setPixel(color, x, y); in verify() 669 reference.getAccess().setPixel(color, x, y); in verify() 687 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in verify() 689 reference.getAccess().setPixel(color, x, y); in verify() 710 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in verify() 712 reference.getAccess().setPixel(color, x, y); in verify()
|
D | vktRenderPassMultisampleResolveTests.cpp | 1089 errorMask.getAccess().setPixel(okColor, x, y, z); in verify() 1098 errorMask.getAccess().setPixel(errorColor, x, y, z); in verify() 1105 …m_sum.getAccess().setPixel(old + (tcu::isSRGB(format) ? tcu::sRGBToLinear(firstColor) : firstColor… in verify() 1108 m_sumSrgb.getAccess().setPixel(oldSrgb + firstColor, x, y, z); in verify() 1195 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 1296 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 1426 m_sum.getAccess().setPixel(average, x, y, z); in iterate() 1427 errorMask.getAccess().setPixel(okColor, x, y, z); in iterate() 1444 m_sumSrgb.getAccess().setPixel(averageSrgb, x, y, z); in iterate() 1463 errorMask.getAccess().setPixel(errorColor, x, y, z); in iterate() [all …]
|
/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()
|