Searched refs:SkToBool (Results 1 - 25 of 417) sorted by relevance

1234567891011>>

/external/skia/include/core/
H A DSkFont.h141 bool isVertical() const { return SkToBool(fFlags & kVertical_Flag); }
142 bool isEmbolden() const { return SkToBool(fFlags & kEmbolden_Flag); }
143 bool isEnableAutoHints() const { return SkToBool(fFlags & kEnableAutoHints_Flag); }
144 bool isEnableByteCodeHints() const { return SkToBool(fFlags & kEnableByteCodeHints_Flag); }
145 bool isUseNonLinearMetrics() const { return SkToBool(fFlags & kUseNonlinearMetrics_Flag); }
146 bool isDevKern() const { return SkToBool(fFlags & kDevKern_Flag); }
/external/skqp/include/core/
H A DSkFont.h141 bool isVertical() const { return SkToBool(fFlags & kVertical_Flag); }
142 bool isEmbolden() const { return SkToBool(fFlags & kEmbolden_Flag); }
143 bool isEnableAutoHints() const { return SkToBool(fFlags & kEnableAutoHints_Flag); }
144 bool isEnableByteCodeHints() const { return SkToBool(fFlags & kEnableByteCodeHints_Flag); }
145 bool isUseNonLinearMetrics() const { return SkToBool(fFlags & kUseNonlinearMetrics_Flag); }
146 bool isDevKern() const { return SkToBool(fFlags & kDevKern_Flag); }
/external/skqp/src/gpu/mtl/
H A DGrMtlCaps.h30 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag);
35 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag) &&
36 SkToBool(fConfigTable[config].fFlags & ConfigInfo::kMSAA_Flag);
38 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag);
/external/skia/src/gpu/glsl/
H A DGrGLSLColorSpaceXformHelper.h53 return SkToBool(fFlags & GrColorSpaceXform::kApplyInverseSRGB_Flag);
56 return SkToBool(fFlags & GrColorSpaceXform::kApplyTransferFn_Flag);
59 return SkToBool(fFlags & GrColorSpaceXform::kApplyGamutXform_Flag);
/external/skqp/src/gpu/glsl/
H A DGrGLSLColorSpaceXformHelper.h53 return SkToBool(fFlags & GrColorSpaceXform::kApplyInverseSRGB_Flag);
56 return SkToBool(fFlags & GrColorSpaceXform::kApplyTransferFn_Flag);
59 return SkToBool(fFlags & GrColorSpaceXform::kApplyGamutXform_Flag);
/external/skqp/src/gpu/vk/
H A DGrVkCaps.h35 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fOptimalFlags);
45 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fLinearFlags);
49 return !withMSAA && SkToBool(ConfigInfo::kRenderable_Flag &
56 return SkToBool(ConfigInfo::kBlitDst_Flag & flags);
62 return SkToBool(ConfigInfo::kBlitSrc_Flag & flags);
/external/skia/src/gpu/
H A DGrPipeline.h181 bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAntialias_Flag); }
183 return SkToBool(fFlags & kSnapVerticesToPixelCenters_Flag);
186 return SkToBool(fFlags & kDisableOutputConversionToSRGB_Flag);
189 return SkToBool(fFlags & kAllowSRGBInputs_Flag);
192 return SkToBool(fFlags & kHasStencilClip_Flag);
195 return SkToBool(fFlags & kStencilEnabled_Flag);
197 bool isBad() const { return SkToBool(fFlags & kIsBad_Flag); }
H A DGrPrimitiveProcessor.h52 bool isInitialized() const { return SkToBool(fName); }
68 bool hasVertexAttribs() const { return SkToBool(fVertexStride); }
69 bool hasInstanceAttribs() const { return SkToBool(fInstanceStride); }
/external/skqp/src/gpu/
H A DGrPipeline.h181 bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAntialias_Flag); }
183 return SkToBool(fFlags & kSnapVerticesToPixelCenters_Flag);
186 return SkToBool(fFlags & kDisableOutputConversionToSRGB_Flag);
189 return SkToBool(fFlags & kAllowSRGBInputs_Flag);
192 return SkToBool(fFlags & kHasStencilClip_Flag);
195 return SkToBool(fFlags & kStencilEnabled_Flag);
197 bool isBad() const { return SkToBool(fFlags & kIsBad_Flag); }
H A DGrPrimitiveProcessor.h52 bool isInitialized() const { return SkToBool(fName); }
68 bool hasVertexAttribs() const { return SkToBool(fVertexStride); }
69 bool hasInstanceAttribs() const { return SkToBool(fInstanceStride); }
H A DGrTextureProxyPriv.h23 bool isDeferred() const { return SkToBool(fTextureProxy->fDeferredUploader.get()); }
/external/skia/src/gpu/ops/
H A DGrDrawVerticesOp.h101 return SkToBool(kRequiresPerVertexColors_Flag & fFlags);
105 return SkToBool(kAnyMeshHasExplicitLocalCoords & fFlags);
109 return SkToBool(kHasMultipleViewMatrices_Flag & fFlags);
/external/skqp/src/gpu/ops/
H A DGrDrawVerticesOp.h101 return SkToBool(kRequiresPerVertexColors_Flag & fFlags);
105 return SkToBool(kAnyMeshHasExplicitLocalCoords & fFlags);
109 return SkToBool(kHasMultipleViewMatrices_Flag & fFlags);
/external/skia/src/gpu/effects/
H A DGrNonlinearColorSpaceXformEffect.cpp23 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kSrcTransfer_Op)) {
30 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kDstTransfer_Op)) {
37 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kGamutXform_Op)) {
114 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kSrcTransfer_Op)) {
118 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kDstTransfer_Op)) {
122 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kGamutXform_Op)) {
181 if (SkToBool(fOps & kSrcTransfer_Op) &&
185 if (SkToBool(fOps & kDstTransfer_Op) &&
189 if (SkToBool(fOps & kGamutXform_Op) && other.fGamutXform != fGamutXform) {
/external/skqp/src/gpu/effects/
H A DGrNonlinearColorSpaceXformEffect.cpp23 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kSrcTransfer_Op)) {
30 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kDstTransfer_Op)) {
37 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kGamutXform_Op)) {
114 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kSrcTransfer_Op)) {
118 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kDstTransfer_Op)) {
122 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kGamutXform_Op)) {
181 if (SkToBool(fOps & kSrcTransfer_Op) &&
185 if (SkToBool(fOps & kDstTransfer_Op) &&
189 if (SkToBool(fOps & kGamutXform_Op) && other.fGamutXform != fGamutXform) {
/external/skia/gm/
H A Dcomplexclip3.cpp78 bool doAAA = SkToBool(aaBits & 1);
79 bool doAAB = SkToBool(aaBits & 2);
80 bool doInvA = SkToBool(invA);
81 bool doInvB = SkToBool(invB);
/external/skia/tools/sk_app/
H A DGLWindowContext.h27 bool isValid() override { return SkToBool(fBackendContext.get()); }
/external/skia/tools/skiaserve/urlhandlers/
H A DEnableGPUHandler.cpp35 bool success = request->enableGPU(SkToBool(enable));
H A DOpBoundsHandler.cpp34 request->fDebugCanvas->setDrawGpuOpBounds(SkToBool(enabled));
H A DOverdrawHandler.cpp35 bool success = request->setOverdraw(SkToBool(enable));
/external/skqp/gm/
H A Dcomplexclip3.cpp78 bool doAAA = SkToBool(aaBits & 1);
79 bool doAAB = SkToBool(aaBits & 2);
80 bool doInvA = SkToBool(invA);
81 bool doInvB = SkToBool(invB);
/external/skqp/tools/sk_app/
H A DGLWindowContext.h27 bool isValid() override { return SkToBool(fBackendContext.get()); }
/external/skqp/tools/skiaserve/urlhandlers/
H A DEnableGPUHandler.cpp35 bool success = request->enableGPU(SkToBool(enable));
H A DOpBoundsHandler.cpp34 request->fDebugCanvas->setDrawGpuOpBounds(SkToBool(enabled));
H A DOverdrawHandler.cpp35 bool success = request->setOverdraw(SkToBool(enable));

Completed in 248 milliseconds

1234567891011>>