/external/skia/src/gpu/ |
D | GrPipeline.h | 85 bool isInitialized() const { return SkToBool(fRenderTarget.get()); } in isInitialized() 174 bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAntialias_Flag); } in isHWAntialiasState() 176 return SkToBool(fFlags & kSnapVerticesToPixelCenters_Flag); in snapVerticesToPixelCenters() 179 return SkToBool(fFlags & kDisableOutputConversionToSRGB_Flag); in getDisableOutputConversionToSRGB() 182 return SkToBool(fFlags & kAllowSRGBInputs_Flag); in getAllowSRGBInputs() 185 return SkToBool(fFlags & kUsesDistanceVectorField_Flag); in usesDistanceVectorField() 188 return SkToBool(fFlags & kHasStencilClip_Flag); in hasStencilClip() 191 return SkToBool(fFlags & kStencilEnabled_Flag); in isStencilEnabled()
|
D | GrProcessorSet.h | 31 bool isPendingExecution() const { return SkToBool(kPendingExecution_Flag & fFlags); } in isPendingExecution() 51 bool usesDistanceVectorField() const { return SkToBool(fFlags & kUseDistanceVectorField_Flag); } in usesDistanceVectorField() 53 return SkToBool(fFlags & kDisableOutputConversionToSRGB_Flag); in disableOutputConversionToSRGB() 55 bool allowSRGBInputs() const { return SkToBool(fFlags & kAllowSRGBInputs_Flag); } in allowSRGBInputs()
|
D | GrAppliedClip.h | 68 if (SkToBool(fClipCoverageFP)) { 69 if (!SkToBool(that.fClipCoverageFP) || 73 } else if (SkToBool(that.fClipCoverageFP)) {
|
D | GrPrimitiveProcessor.h | 52 return SkToBool(kReadsLocalCoords_Flag & fFlags); in readsLocalCoords() 58 return SkToBool(kCanTweakAlphaForCoverage_Flag & fFlags); in canTweakAlphaForCoverage() 64 if (SkToBool(kUseOverrideColor_Flag & fFlags)) { in getOverrideColorIfSet()
|
D | GrResourceProvider.h | 269 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); in isAbandoned() 270 return !SkToBool(fCache); in isAbandoned()
|
/external/skia/include/core/ |
D | SkFont.h | 141 bool isVertical() const { return SkToBool(fFlags & kVertical_Flag); } in isVertical() 142 bool isEmbolden() const { return SkToBool(fFlags & kEmbolden_Flag); } in isEmbolden() 143 bool isEnableAutoHints() const { return SkToBool(fFlags & kEnableAutoHints_Flag); } in isEnableAutoHints() 144 bool isEnableByteCodeHints() const { return SkToBool(fFlags & kEnableByteCodeHints_Flag); } in isEnableByteCodeHints() 145 bool isUseNonLinearMetrics() const { return SkToBool(fFlags & kUseNonlinearMetrics_Flag); } in isUseNonLinearMetrics() 146 bool isDevKern() const { return SkToBool(fFlags & kDevKern_Flag); } in isDevKern()
|
D | SkPaint.h | 147 return SkToBool(this->getFlags() & kAntiAlias_Flag); in isAntiAlias() 159 return SkToBool(this->getFlags() & kDither_Flag); in isDither() 171 return SkToBool(this->getFlags() & kLinearText_Flag); in isLinearText() 184 return SkToBool(this->getFlags() & kSubpixelText_Flag); in isSubpixelText() 195 return SkToBool(this->getFlags() & kLCDRenderText_Flag); in isLCDRenderText() 207 return SkToBool(this->getFlags() & kEmbeddedBitmapText_Flag); in isEmbeddedBitmapText() 217 return SkToBool(this->getFlags() & kAutoHinting_Flag); in isAutohinted() 228 return SkToBool(this->getFlags() & kVerticalText_Flag); in isVerticalText() 259 return SkToBool(this->getFlags() & kFakeBoldText_Flag); in isFakeBoldText() 272 return SkToBool(this->getFlags() & kDevKernText_Flag); in isDevKernText() [all …]
|
D | SkVertices.h | 79 bool hasColors() const { return SkToBool(this->colors()); } in hasColors() 80 bool hasTexCoords() const { return SkToBool(this->texCoords()); } in hasTexCoords() 81 bool hasIndices() const { return SkToBool(this->indices()); } in hasIndices()
|
D | SkPathRef.h | 157 return SkToBool(fIsFinite); in isFinite() 186 *isCCW = SkToBool(fRRectOrOvalIsCCW); in isOval() 193 return SkToBool(fIsOval); in isOval() 202 *isCCW = SkToBool(fRRectOrOvalIsCCW); in isRRect() 208 return SkToBool(fIsRRect); in isRRect()
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.h | 33 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fOptimalFlags); in isConfigTexturable() 37 return SkToBool(ConfigInfo::kRenderable_Flag & fConfigTable[config].fOptimalFlags); in isConfigRenderable() 43 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fLinearFlags); in isConfigTexturableLinearly() 47 return !withMSAA && SkToBool(ConfigInfo::kRenderable_Flag & in isConfigRenderableLinearly() 54 return SkToBool(ConfigInfo::kBlitDst_Flag & flags); in configCanBeDstofBlit() 60 return SkToBool(ConfigInfo::kBlitSrc_Flag & flags); in configCanBeSrcofBlit()
|
D | GrVkCaps.cpp | 86 if (SkToBool(extensionFlags & kNV_glsl_shader_GrVkExtensionFlag)) { in init() 175 fSampleShadingSupport = SkToBool(featureFlags & kSampleRateShading_GrVkFeatureFlag); in initGrCaps() 222 shaderCaps->fGeometryShaderSupport = SkToBool(featureFlags & kGeometryShader_GrVkFeatureFlag); in initShaderCaps() 224 shaderCaps->fDualSourceBlendingSupport = SkToBool(featureFlags & kDualSrcBlend_GrVkFeatureFlag); in initShaderCaps() 267 return SkToBool(VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT & props.optimalTilingFeatures); in stencil_format_supported() 306 if (SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & vkFlags) && in InitConfigFlags() 307 SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT & vkFlags)) { in InitConfigFlags() 311 if (SkToBool(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT & vkFlags)) { in InitConfigFlags() 315 if (SkToBool(VK_FORMAT_FEATURE_BLIT_SRC_BIT & vkFlags)) { in InitConfigFlags() 319 if (SkToBool(VK_FORMAT_FEATURE_BLIT_DST_BIT & vkFlags)) { in InitConfigFlags()
|
/external/skia/src/gpu/effects/ |
D | GrNonlinearColorSpaceXformEffect.cpp | 25 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kSrcTransfer_Op)) { in emitCode() 33 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kDstTransfer_Op)) { in emitCode() 41 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kGamutXform_Op)) { in emitCode() 114 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kSrcTransfer_Op)) { in onSetData() 118 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kDstTransfer_Op)) { in onSetData() 122 if (SkToBool(csxe.ops() & GrNonlinearColorSpaceXformEffect::kGamutXform_Op)) { in onSetData() 167 if (SkToBool(fOps & kSrcTransfer_Op) && in onIsEqual() 171 if (SkToBool(fOps & kDstTransfer_Op) && in onIsEqual() 175 if (SkToBool(fOps & kGamutXform_Op) && other.fGamutXform != fGamutXform) { in onIsEqual()
|
/external/skia/tests/ |
D | ShadowUtilsTest.cpp | 23 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow() 28 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow() 34 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow() 40 if (expectSuccess != SkToBool(verts)) { in tessellate_shadow()
|
D | TextBlobCacheTest.cpp | 105 paint.setAntiAlias(SkToBool(aa)); in text_blob_cache_inner() 106 paint.setSubpixelText(SkToBool(subpixel)); in text_blob_cache_inner() 107 paint.setLCDRenderText(SkToBool(lcd)); in text_blob_cache_inner() 108 if (!SkToBool(lcd)) { in text_blob_cache_inner()
|
D | DrawTextTest.cpp | 96 paint.setAntiAlias(SkToBool(flags & antiAliasFlag)); in DEF_TEST() 97 paint.setSubpixelText(SkToBool(flags & subpixelFlag)); in DEF_TEST() 98 paint.setLCDRenderText(SkToBool(flags & lcdFlag)); in DEF_TEST()
|
/external/skia/src/gpu/gl/ |
D | GrGLCaps.h | 118 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag); in isConfigTexturable() 123 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderableWithMSAA_Flag); in isConfigRenderable() 125 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag); in isConfigRenderable() 129 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseAsImageStorage_Flag); in canConfigBeImageStorage() 132 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kFBOColorAttachment_Flag); in canConfigBeFBOColorAttachment() 136 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseTexStorage_Flag); in isConfigTexSupportEnabled() 140 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseWithTexelBuffer_Flag); in canUseConfigWithTexelBuffer() 222 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kVerifiedColorAttachment_Flag); in isConfigVerifiedColorAttachment()
|
/external/skia/src/gpu/ops/ |
D | GrDrawVerticesOp.h | 110 return SkToBool(kRequiresPerVertexColors_Flag & fFlags); in requiresPerVertexColors() 114 return SkToBool(kAnyMeshHasExplicitLocalCoords & fFlags); in anyMeshHasExplicitLocalCoords() 118 return SkToBool(kPipelineRequiresLocalCoords_Flag & fFlags); in pipelineRequiresLocalCoords() 122 return SkToBool(kHasMultipleViewMatrices_Flag & fFlags); in hasMultipleViewMatrices()
|
/external/skia/include/gpu/ |
D | GrFragmentProcessor.h | 113 bool usesLocalCoords() const { return SkToBool(fFlags & kUsesLocalCoords_Flag); } in usesLocalCoords() 117 return SkToBool(fFlags & kUsesDistanceVectorField_Flag); in usesDistanceVectorField() 133 return SkToBool(fFlags & kCompatibleWithCoverageAsAlpha_OptimizationFlag); in compatibleWithCoverageAsAlpha() 140 return SkToBool(fFlags & kPreservesOpaqueInput_OptimizationFlag); in preservesOpaqueInput() 156 return SkToBool(fFlags & kConstantOutputForConstantInput_OptimizationFlag); in hasConstantOutputForConstantInput()
|
D | GrGpuResource.h | 89 bool internalHasPendingRead() const { return SkToBool(fPendingReads); } in internalHasPendingRead() 90 bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); } in internalHasPendingWrite() 91 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO() 93 bool internalHasRef() const { return SkToBool(fRefCnt); } in internalHasRef()
|
D | GrBuffer.h | 36 bool isCPUBacked() const { return SkToBool(fCPUData); } in isCPUBacked() 84 bool isMapped() const { return SkToBool(fMapPtr); } in isMapped()
|
/external/skia/gm/ |
D | complexclip3.cpp | 78 bool doAAA = SkToBool(aaBits & 1); in onDraw() 79 bool doAAB = SkToBool(aaBits & 2); in onDraw() 80 bool doInvA = SkToBool(invA); in onDraw() 81 bool doInvB = SkToBool(invB); in onDraw()
|
D | coloremoji.cpp | 105 if (SkToBool(makeLinear)) { in onDraw() 109 if (SkToBool(makeBlur) && SkToBool(makeGray)) { in onDraw() 113 } else if (SkToBool(makeBlur)) { in onDraw() 115 } else if (SkToBool(makeGray)) { in onDraw()
|
/external/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 291 SkAddFlagToString(str, SkToBool(kStyle_Bit & rec->fInfo.fPaintBits), "Style", in toString() 293 SkAddFlagToString(str, SkToBool(kTextSkewX_Bit & rec->fInfo.fPaintBits), "TextSkewX", in toString() 295 SkAddFlagToString(str, SkToBool(kPathEffect_Bit & rec->fInfo.fPaintBits), "PathEffect", in toString() 297 SkAddFlagToString(str, SkToBool(kMaskFilter_Bit & rec->fInfo.fPaintBits), "MaskFilter", in toString() 299 SkAddFlagToString(str, SkToBool(kShader_Bit & rec->fInfo.fPaintBits), "Shader", in toString() 301 … SkAddFlagToString(str, SkToBool(kColorFilter_Bit & rec->fInfo.fPaintBits), "ColorFilter", in toString() 303 SkAddFlagToString(str, SkToBool(kXfermode_Bit & rec->fInfo.fPaintBits), "Xfermode", in toString()
|
/external/skia/src/core/ |
D | SkReadBuffer.h | 104 return this->isValidating() || SkToBool(fFlags & kCrossProcess_Flag); in isCrossProcess() 106 bool isScalarFloat() const { return SkToBool(fFlags & kScalarIsFloat_Flag); } in isScalarFloat() 107 bool isPtr64Bit() const { return SkToBool(fFlags & kPtrIs64Bit_Flag); } in isPtr64Bit() 108 bool isValidating() const { return SkToBool(fFlags & kValidation_Flag); } in isValidating()
|
D | SkTDPQueue.h | 41 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; }) in pop() 173 if (SkToBool(INDEX)) { in setIndex() 184 SkASSERT(!SkToBool(INDEX) || *INDEX(fArray[i]) == i);
|