/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | proxy_box_test.dart | 214 int getPixel(int x, int y) => data.getUint32((x + y * image.width) * 4); 218 expect(getPixel(0, 0), equals(0x00000080)); 219 expect(getPixel(image.width - 1, 0 ), equals(0xffffffff)); 227 expect(getPixel(0, 0), equals(0x00000080)); 228 expect(getPixel(image.width - 1, 0 ), equals(0xffffffff)); 235 expect(getPixel(0, 0), equals(0x00000000)); 236 expect(getPixel(10, 10), equals(0x00000080)); 237 expect(getPixel(image.width - 1, 0), equals(0x00000000)); 238 expect(getPixel(image.width - 1, 10), equals(0xffffffff)); 245 expect(getPixel(0, 0), equals(0x00000000)); [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuSurface.hpp | 57 RGBA getPixel (int x, int y) const; 87 inline RGBA Surface::getPixel (int x, int y) const in getPixel() function in tcu::Surface
|
/third_party/flutter/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 49 SkColor target = request->getPixel(x, y); in handle() 68 SkColor current = request->getPixel(x, y); in handle()
|
/third_party/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 49 SkColor target = request->getPixel(x, y); in handle() 68 SkColor current = request->getPixel(x, y); in handle()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDitheringTests.cpp | 292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient() 330 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() 404 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad() 430 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad() 436 const tcu::RGBA curClr = renderedImg.getPixel(x, y); in drawAndCheckUnicoloredQuad()
|
D | es2fPrerequisiteTests.cpp | 243 RGBA resRGBA = resImage.getPixel(i, j); in iterate() 244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
|
D | es2fMultisampleTests.cpp | 130 tcu::RGBA pixColor = img.getPixel(x, y); in isPixelRegionUnicolored() 154 tcu::RGBA refColor = img.getPixel((xMin + xMax) / 2, (yMin + yMax) / 2); in drawUnicolorTestErrors() 161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors() 445 tcu::RGBA color = renderedImg.getPixel(x, y); in iterate() 1021 const tcu::RGBA& clr = clearedImg.getPixel(x, y); in iterate() 1190 sumRed += renderedImg.getPixel(x, y).getRed(); in iterate() 1352 if (renderedImg.getPixel(x, y).getGreen() > 0) in iterate()
|
D | es2fColorClearTest.cpp | 254 RGBA refRGBA = refImage.getPixel(x, y); in iterate() 255 RGBA resRGBA = resImage.getPixel(x, y); in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDitheringTests.cpp | 299 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk, increaseTol)) in drawAndCheckGradient() 337 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() 409 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk, false)) in drawAndCheckUnicoloredQuad() 435 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad() 441 const tcu::RGBA curClr = renderedImg.getPixel(x, y); in drawAndCheckUnicoloredQuad()
|
D | es3fPrerequisiteTests.cpp | 243 RGBA resRGBA = resImage.getPixel(i, j); in iterate() 244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
|
D | es3fColorClearTest.cpp | 254 RGBA refRGBA = refImage.getPixel(x, y); in iterate() 255 RGBA resRGBA = resImage.getPixel(x, y); in iterate()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1754 tcu::RGBA refPixel = ref.getPixel(x, y); in compare() 1755 tcu::RGBA screenPixel = screen.getPixel(x, y); in compare() 1767 …!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(refP… in compare() 1768 …!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(refP… in compare() 1769 …pareThreshold(screenPixel, screen.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(screenP… in compare() 1770 …pareThreshold(screenPixel, screen.getPixel(x , y-1), threshold) && !tcu::compareThreshold(screenP… in compare() 1782 tcu::RGBA screenCmpPixel = screen.getPixel(x+dx, y+dy); in compare() 1793 tcu::RGBA refCmpPixel = ref.getPixel(x+dx, y+dy); in compare() 1806 ….setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() + 255)… in compare()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 1353 const tcu::RGBA color = resultImage.getPixel(x, y); in resultHasAlpha() 2030 float pixelColor = image.getPixel((deUint32)x, image.getHeight() / 2).x(); in verifyPoint() 2042 float pixelColor = image.getPixel((deUint32)y, image.getWidth() / 2).x(); in verifyPoint() 2889 if (resultImage.getPixel(x,y).getPacked() != foregroundColor.getPacked()) in compareAndVerifyOverestimatedNormal() 2894 errValue = resultImage.getPixel(x,y).getPacked(); in compareAndVerifyOverestimatedNormal() 2917 if (resultImage.getPixel(x, y).getPacked() != foregroundColor.getPacked()) in compareAndVerifyOverestimatedNormal() 2969 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1) - 1) == foregroundColor) in compareAndVerifyOverestimatedDegenerate() 2971 if (resultImage.getPixel(4 * (colNdx + 1) - 1, 4 * (rowNdx + 1)) == foregroundColor) in compareAndVerifyOverestimatedDegenerate() 2973 if (resultImage.getPixel(4 * (colNdx + 1), 4 * (rowNdx + 1) - 1) == foregroundColor) in compareAndVerifyOverestimatedDegenerate() 2986 if (resultImage.getPixel(x,y).getPacked() != referenceImage.getPixel(x,y).getPacked()) in compareAndVerifyOverestimatedDegenerate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationWindingTests.cpp | 100 numWhitePixels += image.getPixel(x, y) == white ? 1 : 0; in verifyResultImage() 101 numRedPixels += image.getPixel(x, y) == red ? 1 : 0; in verifyResultImage() 143 if (image.getPixel(x, 0) == white) in verifyResultImage() 151 if (image.getPixel(x, image.getHeight()-1) == white) in verifyResultImage()
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | canvas_test.dart | 94 int getPixel(ByteData data, int x, int y) => data.getUint32((x + y * golden.width) * 4); 99 if (getPixel(goldenData, x, y) != getPixel(imgData, x, y)) {
|
/third_party/flutter/skia/tools/skiaserve/ |
D | Request.h | 60 SkColor getPixel(int x, int y);
|
/third_party/skia/tools/skiaserve/ |
D | Request.h | 60 SkColor getPixel(int x, int y);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.cpp | 119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped() 120 …rams.dim == IMG_DIM_2D || m_imParams.dim == IMG_DIM_CUBE) ? levelAccess.getPixel(coord[0], coord[1… in fetchTexelWrapped() 121 : levelAccess.getPixel(coord[0], coord[1], coord[2]); in fetchTexelWrapped() 198 …cornerTexels[ndx] += sRGBToLinear(m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx]… in fetchTexel() 202 …cornerTexels[ndx] += m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx][1], cornerLa… in fetchTexel()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderWinding.cpp | 227 numWhitePixels += rendered.getPixel(x, y) == tcu::RGBA::white() ? 1 : 0; in iterate() 228 numRedPixels += rendered.getPixel(x, y) == tcu::RGBA::red() ? 1 : 0; in iterate()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrMultisamplePixelBufferAccess.cpp | 134 sum += src.raw().getPixel(s, x, y); in resolveMultisampleColorBuffer() 219 sum += access.raw().getPixel(s, x, y); in resolveMultisamplePixel()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 963 dst.setPixel(src.getPixel((int)s, 0) * colorScale + colorBias, x, y); in fetchTexture() 1294 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1295 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1401 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1402 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1608 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1609 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1782 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1783 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1949 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() [all …]
|
/third_party/flutter/flutter/examples/platform_channel/android/app/src/androidTest/java/com/example/platformchannel/ |
D | ExampleInstrumentedTest.java | 54 assertTrue(bitmap.getPixel(bitmap.getWidth() - 1, bitmap.getHeight() - 1) == 0xFFFAFAFA); in testBitmap()
|
/third_party/flutter/flutter/examples/platform_channel_swift/android/app/src/androidTest/java/com/example/platformchannel/ |
D | ExampleInstrumentedTest.java | 54 assertTrue(bitmap.getPixel(bitmap.getWidth() - 1, bitmap.getHeight() - 1) == 0xFFFAFAFA); in testBitmap()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | WebGLReadOutsideFramebufferTest.cpp | 98 if (!other.getPixel(x + i, y + j, dest) && zeroOutside) in readPixelRect() 106 bool getPixel(int x, int y, angle::GLColor *colorOut) const in getPixel() function in __anon54b532ec0111::PixelRect
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | WebGLReadOutsideFramebufferTest.cpp | 98 if (!other.getPixel(x + i, y + j, dest) && zeroOutside) in readPixelRect() 106 bool getPixel(int x, int y, angle::GLColor *colorOut) const in getPixel() function in __anond1bfc3810111::PixelRect
|