Home
last modified time | relevance | path

Searched refs:isBlack (Results 1 - 11 of 11) sorted by relevance

/third_party/node/deps/npm/node_modules/qrcode-terminal/lib/
H A Dmain.js5 toCell = function (isBlack) {
6 return isBlack ? black : white;
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderLibraryCase.cpp241 bool isBlack = (pixel.getRed() == 0) && (pixel.getGreen() == 0) && (pixel.getBlue() == 0); in checkPixels() local
244 allBlack = allBlack && isBlack; in checkPixels()
245 anyUnexpected = anyUnexpected || (!isWhite && !isBlack); in checkPixels()
/third_party/vk-gl-cts/modules/glshared/
H A DglsDrawTest.cpp3364 static bool isBlack (const tcu::RGBA& c) in isBlack() function
3384 const bool b1 = isBlack(c1); in isEdgeTriplet()
3385 const bool b2 = isBlack(c2); in isEdgeTriplet()
3386 const bool b3 = isBlack(c3); in isEdgeTriplet()
3443 if (isBlack(c)) in getVisualizationGrayscaleColor()
3460 const bool targetCoverage = !isBlack(target.getPixel(x+dx, y+dy)); in pixelNearLineIntersection()
3512 const bool targetCmpCoverage = !isBlack(target.getPixel(x+dx, y+dy)); in pixelNeighborhoodContainsCoverage()
3565 const bool referenceCoverage = !isBlack(refPixel); in edgeRelaxedImageCompare()
3566 const bool screenCoverage = !isBlack(screenPixel); in edgeRelaxedImageCompare()
3662 const bool referenceCoverage = !isBlack(refPixe in intersectionRelaxedLineImageCompare()
[all...]
H A DglsShaderLibraryCase.cpp906 const bool isBlack = (pixel[0] == 0) && (pixel[1] == 0) && (pixel[2] == 0);
909 allBlack = allBlack && isBlack;
910 anyUnexpected = anyUnexpected || (!isWhite && !isBlack);
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fClippingTests.cpp80 inline bool isBlack (const tcu::IVec4& a) in isBlack() function
103 return isBlack(a) == isBlack(b); in compareBlackNonBlackPixels()
108 const bool aIsBlack = isBlack(a); in compareColoredPixels()
109 const bool bIsBlack = isBlack(b); in compareColoredPixels()
285 const bool pixelValid = isBlack(cTest) || isHalfFilled(cTest) || (m_renderTarget.getNumSamples() > 1 && isLessThanHalfFilled(cTest)); in checkHalfFilledImageOverdraw()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fClippingTests.cpp83 inline bool isBlack (const tcu::IVec4& a) in isBlack() function
106 return isBlack(a) == isBlack(b); in compareBlackNonBlackPixels()
111 const bool aIsBlack = isBlack(a); in compareColoredPixels()
112 const bool bIsBlack = isBlack(b); in compareColoredPixels()
288 const bool pixelValid = isBlack(cTest) || isHalfFilled(cTest) || (m_renderTarget.getNumSamples() > 1 && isLessThanHalfFilled(cTest)); in checkHalfFilledImageOverdraw()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTessellationGeometryInteractionTests.cpp88 static bool isBlack (const tcu::RGBA& c) in isBlack() function
1284 if(!isBlack(result))
1911 if (!isBlack(src.getPixel(x, y)))
H A Des31fGeometryShaderTests.cpp3575 const bool isBlack = color.getRed() <= threshold || color.getGreen() <= threshold || color.getBlue() <= threshold; in verifyImageSingleColoredRow() local
3583 isOk = isBlack; in verifyImageSingleColoredRow()
3585 isOk = isColor || isBlack; in verifyImageSingleColoredRow()
3631 const bool isBlack = color.getRed() <= threshold || color.getGreen() <= threshold || color.getBlue() <= threshold; in verifyEmptyImage() local
3633 if (!isBlack) in verifyEmptyImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp498 const bool isBlack = compareColors(color, black, threshold); in verifyImageSingleColoredRow() local
501 const bool isOutsideColor = ((topRightCleared && y < image.getHeight() / 2) || (bottomRightCleared && y >= image.getHeight() / 2)) ? isBrown : isBlack; in verifyImageSingleColoredRow()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp498 const bool isBlack = compareColors(color, black, threshold); in verifyImageSingleColoredRow() local
501 const bool isOutsideColor = ((topRightCleared && y < image.getHeight() / 2) || (bottomRightCleared && y >= image.getHeight() / 2)) ? isBrown : isBlack; in verifyImageSingleColoredRow()
/third_party/vk-gl-cts/framework/common/
H A DtcuRasterizationVerifier.cpp2046 bool isBlack (const tcu::RGBA& c)
2238 isBlack(surface.getPixel(rootPosition.x(), rootPosition.y())))

Completed in 41 milliseconds