Searched refs:SkToBool (Results 76 - 100 of 417) sorted by relevance

1234567891011>>

/external/skqp/src/gpu/
H A DGrProcessorSet.cpp216 analysis.fCanCombineOverlappedStencilAndCover = SkToBool(
224 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresDstTexture);
226 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithAlphaAsCoverage);
227 analysis.fRequiresBarrierBetweenOverlappingDraws = SkToBool(
H A DGrSurfaceProxyPriv.h20 bool isInstantiated() const { return SkToBool(fProxy->fTarget); }
H A DGrSurfaceProxyRef.cpp56 SkASSERT(SkToBool(fProxy) == fOwnRef);
H A DGrXferProcessor.h32 GR_STATIC_ASSERT(SkToBool(kNone_GrXferBarrierType) == false);
100 return SkToBool(fProxy->instantiate(resourceProvider));
/external/skqp/src/gpu/effects/
H A DGrBitmapTextGeoProc.h44 bool hasVertexColor() const { return SkToBool(fInColor); }
/external/skqp/src/gpu/gl/win/
H A DGrGLMakeNativeInterface_win.cpp36 bool isInitialized() const { return SkToBool(fGLLib.get()); }
/external/skqp/tests/
H A DRecordTestUtils.h35 REPORTER_ASSERT(r, SkToBool(reader.ptr));
/external/skqp/tools/skiaserve/
H A DRequest.h48 bool hasPicture() const { return SkToBool(fPicture.get()); }
/external/skqp/tools/skiaserve/urlhandlers/
H A DCmdHandler.cpp57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
/external/skqp/tools/viewer/
H A DSKPSlide.cpp23 bool isOffset = SkToBool(fCullRect.left() | fCullRect.top());
/external/skia/src/effects/
H A DSkLayerDrawLooper.cpp293 SkAddFlagToString(str, SkToBool(kStyle_Bit & rec->fInfo.fPaintBits), "Style",
295 SkAddFlagToString(str, SkToBool(kTextSkewX_Bit & rec->fInfo.fPaintBits), "TextSkewX",
297 SkAddFlagToString(str, SkToBool(kPathEffect_Bit & rec->fInfo.fPaintBits), "PathEffect",
299 SkAddFlagToString(str, SkToBool(kMaskFilter_Bit & rec->fInfo.fPaintBits), "MaskFilter",
301 SkAddFlagToString(str, SkToBool(kShader_Bit & rec->fInfo.fPaintBits), "Shader",
303 SkAddFlagToString(str, SkToBool(kColorFilter_Bit & rec->fInfo.fPaintBits), "ColorFilter",
305 SkAddFlagToString(str, SkToBool(kXfermode_Bit & rec->fInfo.fPaintBits), "Xfermode",
/external/skqp/src/effects/
H A DSkLayerDrawLooper.cpp293 SkAddFlagToString(str, SkToBool(kStyle_Bit & rec->fInfo.fPaintBits), "Style",
295 SkAddFlagToString(str, SkToBool(kTextSkewX_Bit & rec->fInfo.fPaintBits), "TextSkewX",
297 SkAddFlagToString(str, SkToBool(kPathEffect_Bit & rec->fInfo.fPaintBits), "PathEffect",
299 SkAddFlagToString(str, SkToBool(kMaskFilter_Bit & rec->fInfo.fPaintBits), "MaskFilter",
301 SkAddFlagToString(str, SkToBool(kShader_Bit & rec->fInfo.fPaintBits), "Shader",
303 SkAddFlagToString(str, SkToBool(kColorFilter_Bit & rec->fInfo.fPaintBits), "ColorFilter",
305 SkAddFlagToString(str, SkToBool(kXfermode_Bit & rec->fInfo.fPaintBits), "Xfermode",
/external/skia/include/private/
H A DSkPathRef.h159 return SkToBool(fIsFinite);
188 *isCCW = SkToBool(fRRectOrOvalIsCCW);
195 return SkToBool(fIsOval);
204 *isCCW = SkToBool(fRRectOrOvalIsCCW);
210 return SkToBool(fIsRRect);
/external/skia/src/gpu/gl/
H A DGrGLCaps.h116 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag);
131 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kFBOColorAttachment_Flag);
135 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseTexStorage_Flag);
139 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseWithTexelBuffer_Flag);
219 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kVerifiedColorAttachment_Flag);
/external/skqp/include/private/
H A DSkPathRef.h159 return SkToBool(fIsFinite);
188 *isCCW = SkToBool(fRRectOrOvalIsCCW);
195 return SkToBool(fIsOval);
204 *isCCW = SkToBool(fRRectOrOvalIsCCW);
210 return SkToBool(fIsRRect);
/external/skia/src/gpu/
H A DGrXferProcessor.h32 GR_STATIC_ASSERT(SkToBool(kNone_GrXferBarrierType) == false);
100 return SkToBool(fProxy->instantiate(resourceProvider));
H A DGrColorSpaceXform.h48 return SkToBool(xform) ? xform->fFlags : 0;
H A DGrGpuResourceRef.h149 explicit operator bool() const { return SkToBool(fResource); }
H A DGrSurfaceProxyPriv.h20 bool isInstantiated() const { return SkToBool(fProxy->fTarget); }
/external/skqp/gm/
H A Dshadowutils.cpp92 if (SkToBool(flags & kTransparentOccluder_ShadowFlag)) {
101 if (SkToBool(flags & kTransparentOccluder_ShadowFlag)) {
/external/skia/gm/
H A Dalphagradients.cpp66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
/external/skia/src/core/
H A DSkVertices.cpp58 bool hasTexs = SkToBool(builderFlags & SkVertices::kHasTexCoords_BuilderFlag);
59 bool hasColors = SkToBool(builderFlags & SkVertices::kHasColors_BuilderFlag);
209 const bool hasTexs = SkToBool(packed & kHasTexs_Mask);
210 const bool hasColors = SkToBool(packed & kHasColors_Mask);
/external/skia/src/utils/
H A DSkBitSet.h46 return chunk && SkToBool(*chunk & mask);
/external/skia/tools/gpu/gl/
H A DGLTestContext.h28 bool isValid() const { return SkToBool(this->gl()); }
/external/skia/tools/sk_app/android/
H A DRasterWindowContext_android.cpp25 bool isValid() override { return SkToBool(fNativeWindow); }

Completed in 328 milliseconds

1234567891011>>