Searched refs:SkToBool (Results 276 - 300 of 417) sorted by relevance

<<11121314151617

/external/skqp/include/gpu/
H A DGrTypes.h117 return SkToBool(static_cast<int>(a) & static_cast<int>(b)); \
/external/skqp/include/private/
H A DSkTHash.h301 bool contains(const T& item) const { return SkToBool(this->find(item)); }
/external/skqp/src/gpu/ops/
H A DGrDrawAtlasOp.cpp44 fHasColors = SkToBool(colors);
/external/skqp/src/ports/
H A DSkFontMgr_FontConfigInterface.cpp50 *isLocalStream = SkToBool(fFontData);
/external/skqp/tools/sk_app/win/
H A DWindow_win.cpp370 return (SkToBool(fWindowContext));
/external/skia/src/core/
H A DSkPathRef.cpp193 bool isCCW = SkToBool(src.fRRectOrOvalIsCCW);
337 if (ComputePtBounds(&bounds, *ref) != SkToBool(ref->fIsFinite) || bounds != ref->fBounds) {
876 if (SkToBool(fIsFinite) != isFinite) {
H A DSkScalerContext.cpp584 SkToBool(fRec.fFlags & kFrameAndFill_Flag));
1055 if (!SkToBool(scalerContextFlags & SkScalerContextFlags::kFakeGamma)) {
1058 if (!SkToBool(scalerContextFlags & SkScalerContextFlags::kBoostContrast)) {
/external/skqp/src/core/
H A DSkPathRef.cpp193 bool isCCW = SkToBool(src.fRRectOrOvalIsCCW);
338 if (ComputePtBounds(&bounds, *ref) != SkToBool(ref->fIsFinite) || bounds != ref->fBounds) {
858 if (SkToBool(fIsFinite) != isFinite) {
H A DSkScalerContext.cpp590 SkToBool(fRec.fFlags & kFrameAndFill_Flag));
1063 if (!SkToBool(scalerContextFlags & SkScalerContextFlags::kFakeGamma)) {
1066 if (!SkToBool(scalerContextFlags & SkScalerContextFlags::kBoostContrast)) {
/external/skqp/src/image/
H A DSkImage_Gpu.cpp749 if (SkToBool(dstColorSpace) && !supportsColorSpace) {
765 const bool fillMode = SkToBool(buffer);
911 if (proxy.fCaps->srgbSupport() && SkToBool(dstColorSpace) &&
/external/skia/tests/
H A DGrShapeTest.cpp694 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count()));
696 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count()));
699 REPORTER_ASSERT(reporter, SkToBool(fAppliedFullKey.count()));
1333 REPORTER_ASSERT(reporter, SkToBool(volatileCase.baseKey().count()));
1339 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.baseKey().count()));
1340 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.appliedPathEffectKey().count()));
1341 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.appliedFullStyleKey().count()));
1342 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.appliedPathEffectThenStrokeKey().count()));
1657 GrShape(rrect, dir, start, SkToBool(inverted),
H A DImageFilterCacheTest.cpp240 REPORTER_ASSERT(reporter, SkToBool(readBackHandle));
/external/skqp/tests/
H A DGrShapeTest.cpp666 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count()));
668 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count()));
671 REPORTER_ASSERT(reporter, SkToBool(fAppliedFullKey.count()));
1305 REPORTER_ASSERT(reporter, SkToBool(volatileCase.baseKey().count()));
1311 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.baseKey().count()));
1312 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.appliedPathEffectKey().count()));
1313 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.appliedFullStyleKey().count()));
1314 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.appliedPathEffectThenStrokeKey().count()));
1629 GrShape(rrect, dir, start, SkToBool(inverted),
/external/skia/include/core/
H A DSkMatrix44.h249 return SkToBool(this->getType() & kPerspective_Mask);
/external/skia/src/gpu/
H A DGrShape.h274 SkToBool(fArcData.fUseCenter),
H A DGrSoftwarePathRenderer.cpp30 if (!args.fShape->style().applies() && SkToBool(fProxyProvider) &&
/external/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp352 return SkToBool(linked);
/external/skia/src/image/
H A DSkImage.cpp159 bool SkImage::isTextureBacked() const { return SkToBool(as_IB(this)->peekProxy()); }
/external/skia/src/ports/
H A DSkTypeface_win_dw.cpp50 *isLocalStream = SkToBool(fDWriteFontFileLoader.get());
/external/skia/src/shaders/gradients/
H A DSkGradientShader.cpp94 if (SkToBool(flags & kHasColorSpace_GSF)) {
100 if (SkToBool(flags & kHasPosition_GSF)) {
107 if (SkToBool(flags & kHasLocalMatrix_GSF)) {
468 const bool interpInPremul = SkToBool(fGradFlags &
/external/skia/tools/gpu/
H A DGrTest.cpp85 return SkToBool(fTarget);
/external/skia/tools/sk_app/unix/
H A DWindow_unix.cpp369 return (SkToBool(fWindowContext));
/external/skqp/include/core/
H A DSkMatrix44.h249 return SkToBool(this->getType() & kPerspective_Mask);
/external/skqp/src/gpu/
H A DGrSoftwarePathRenderer.cpp30 if (!args.fShape->style().applies() && SkToBool(fProxyProvider) &&
/external/skqp/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp343 return SkToBool(linked);

Completed in 544 milliseconds

<<11121314151617