Searched refs:SkToBool (Results 51 - 75 of 417) sorted by relevance

1234567891011>>

/external/skqp/src/gpu/
H A DGrResourceProvider.h283 SkASSERT(SkToBool(fGpu) == SkToBool(fCache));
284 return !SkToBool(fCache);
H A DGrTexture.cpp86 SkToBool(rt), sampleCount,
116 SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag), desc.fSampleCnt,
H A DGrColorSpaceXform.cpp144 if (SkToBool(flags & kApplyGamutXform_Flag)) {
179 if (SkToBool(a->fFlags & kApplyTransferFn_Flag) &&
184 if (SkToBool(a->fFlags && kApplyGamutXform_Flag) && a->fGamutXform != b->fGamutXform) {
193 SkASSERT(!SkToBool(fFlags & kApplyInverseSRGB_Flag));
H A DGrFragmentProcessor.h136 bool usesLocalCoords() const { return SkToBool(fFlags & kUsesLocalCoords_Flag); }
151 return SkToBool(fFlags & kCompatibleWithCoverageAsAlpha_OptimizationFlag);
158 return SkToBool(fFlags & kPreservesOpaqueInput_OptimizationFlag);
174 return SkToBool(fFlags & kConstantOutputForConstantInput_OptimizationFlag);
/external/skqp/tests/
H A DDrawTextTest.cpp93 paint.setAntiAlias(SkToBool(flags & antiAliasFlag));
94 paint.setSubpixelText(SkToBool(flags & subpixelFlag));
95 paint.setLCDRenderText(SkToBool(flags & lcdFlag));
/external/skia/src/core/
H A DSkDeferredDisplayListRecorder.cpp55 return SkToBool(fSurface.get());
110 return SkToBool(fSurface.get());
H A DSkStroke.h43 bool getDoFill() const { return SkToBool(fDoFill); }
/external/skia/src/gpu/
H A DGrTexture.cpp86 SkToBool(rt), sampleCount,
116 SkToBool(desc.fFlags & kRenderTarget_GrSurfaceFlag), desc.fSampleCnt,
H A DGrColorSpaceXform.cpp144 if (SkToBool(flags & kApplyGamutXform_Flag)) {
179 if (SkToBool(a->fFlags & kApplyTransferFn_Flag) &&
184 if (SkToBool(a->fFlags && kApplyGamutXform_Flag) && a->fGamutXform != b->fGamutXform) {
193 SkASSERT(!SkToBool(fFlags & kApplyInverseSRGB_Flag));
H A DGrFragmentProcessor.h136 bool usesLocalCoords() const { return SkToBool(fFlags & kUsesLocalCoords_Flag); }
151 return SkToBool(fFlags & kCompatibleWithCoverageAsAlpha_OptimizationFlag);
158 return SkToBool(fFlags & kPreservesOpaqueInput_OptimizationFlag);
174 return SkToBool(fFlags & kConstantOutputForConstantInput_OptimizationFlag);
H A DGrProcessorSet.cpp213 analysis.fCanCombineOverlappedStencilAndCover = SkToBool(
221 SkToBool(props & GrXPFactory::AnalysisProperties::kRequiresDstTexture);
223 SkToBool(props & GrXPFactory::AnalysisProperties::kCompatibleWithAlphaAsCoverage);
224 analysis.fRequiresBarrierBetweenOverlappingDraws = SkToBool(
H A DGrSurfaceProxyRef.cpp56 SkASSERT(SkToBool(fProxy) == fOwnRef);
/external/skqp/src/core/
H A DSkDeferredDisplayListRecorder.cpp51 return SkToBool(fSurface.get());
102 return SkToBool(fSurface.get());
H A DSkStroke.h43 bool getDoFill() const { return SkToBool(fDoFill); }
/external/skia/include/core/
H A DSkPixelRef.h115 bool genIDIsUnique() const { return SkToBool(fTaggedGenID.load() & 1); }
H A DSkSurfaceProps.h72 return SkToBool(fFlags & kUseDeviceIndependentFonts_Flag);
/external/skia/src/gpu/effects/
H A DGrBitmapTextGeoProc.h44 bool hasVertexColor() const { return SkToBool(fInColor); }
/external/skia/src/gpu/gl/win/
H A DGrGLMakeNativeInterface_win.cpp36 bool isInitialized() const { return SkToBool(fGLLib.get()); }
/external/skia/src/gpu/mtl/
H A DGrMtlCaps.h28 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag);
/external/skia/tests/
H A DRecordTestUtils.h35 REPORTER_ASSERT(r, SkToBool(reader.ptr));
/external/skia/tools/skiaserve/
H A DRequest.h48 bool hasPicture() const { return SkToBool(fPicture.get()); }
/external/skia/tools/skiaserve/urlhandlers/
H A DCmdHandler.cpp57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
/external/skia/tools/viewer/
H A DSKPSlide.cpp23 bool isOffset = SkToBool(fCullRect.left() | fCullRect.top());
/external/skqp/include/core/
H A DSkPixelRef.h115 bool genIDIsUnique() const { return SkToBool(fTaggedGenID.load() & 1); }
H A DSkSurfaceProps.h72 return SkToBool(fFlags & kUseDeviceIndependentFonts_Flag);

Completed in 327 milliseconds

1234567891011>>