Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/vk-gl-cts/framework/common/
DtcuSurfaceAccess.hpp60 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()
DtcuTextureUtil.cpp768 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 …]
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.cpp151 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryTraversalControlTests.cpp642 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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
DvktRayQueryTraversalControlTests.cpp642 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 …]
/third_party/flutter/skia/src/codec/
DSkBmpRLECodec.cpp168 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()
/third_party/skia/src/codec/
DSkBmpRLECodec.cpp171 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateClearTests.cpp203 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateClearTests.cpp203 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoDecodeTests.cpp134 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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoDecodeTests.cpp134 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 …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cClipControlTests.cpp540 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()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderBuiltinVarTests.cpp344 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()
Des2fClipControlTests.cpp532 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()
Des2fDitheringTests.cpp294 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()
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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp653 reference.getAccess().setPixel(color, x, y); in verify()
667 reference.getAccess().setPixel(color, x, y); in verify()
685 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in verify()
687 reference.getAccess().setPixel(color, x, y); in verify()
708 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in verify()
710 reference.getAccess().setPixel(color, x, y); in verify()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp653 reference.getAccess().setPixel(color, x, y); in verify()
667 reference.getAccess().setPixel(color, x, y); in verify()
685 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in verify()
687 reference.getAccess().setPixel(color, x, y); in verify()
708 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in verify()
710 reference.getAccess().setPixel(color, x, y); in verify()
DvktRenderPassMultisampleResolveTests.cpp1089 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 …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDitheringTests.cpp301 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()
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()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp590 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()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp617 void setPixel (int x, int y, int z, const ColorT& color) const;
682 void LayeredImage::setPixel (int x, int y, int z, const ColorT& color) const in setPixel() function in deqp::gles31::Functional::__anon4bfa703d0111::LayeredImage
691 access.setPixel(color, x, y, m_type == TEXTURETYPE_CUBE ? 0 : z); in setPixel()
821 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32()
831 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32()
1047 case TextureFormat::R: resultSliceAccess.setPixel(Vec4(clrData[0]), x, y); break; in readFloatOrNormTextureWithLookupsAndVerify()
1048 …case TextureFormat::RGBA: resultSliceAccess.setPixel(Vec4(clrData[0], clrData[1], clrData[2], clrD… in readFloatOrNormTextureWithLookupsAndVerify()
1291 reference.setPixel(x, y, z, color); in iterate()
1293 reference.setPixel(x, y, z, color.asFloat()*storeColorScale + storeColorBias); in iterate()
1425 reference.setPixel(x, y, z, color); in iterate()
[all …]

12345678910>>...14