/external/skia/src/gpu/ |
D | GrPrimitiveProcessor.h | 72 bool readsColor() const { return SkToBool(kReadsColor_Flag & fFlags); } in readsColor() 76 SkToBool(kReadsCoverage_Flag & fFlags); } in readsCoverage() 80 return SkToBool(kReadsLocalCoords_Flag & fFlags); in readsLocalCoords() 86 return SkToBool(kCanTweakAlphaForCoverage_Flag & fFlags); in canTweakAlphaForCoverage() 92 if (SkToBool(kUseOverrideColor_Flag & fFlags)) { in getOverrideColorIfSet() 93 SkASSERT(SkToBool(kReadsColor_Flag & fFlags)); in getOverrideColorIfSet() 113 bool willColorBlendWithDst() const { return SkToBool(kWillColorBlendWithDst_Flag & fFlags); } in willColorBlendWithDst()
|
D | GrPipeline.cpp | 64 if (SkToBool(GrXferProcessor::kIgnoreColor_OptFlag & optFlags)) { in CreateAt() 120 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreColor_OptFlag)) { in CreateAt() 127 if (!SkToBool(optFlags & GrXferProcessor::kIgnoreCoverage_OptFlag)) { in CreateAt() 133 if (SkToBool(optFlags & GrXferProcessor::kCanTweakAlphaForCoverage_OptFlag)) { in CreateAt() 186 fIgnoresCoverage = SkToBool(flags & GrXferProcessor::kIgnoreCoverage_OptFlag); in adjustProgramFromOptimizations()
|
D | GrDefaultGeoProcFactory.cpp | 52 bool hasVertexColor() const { return SkToBool(fInColor); } in hasVertexColor() 58 bool hasVertexCoverage() const { return SkToBool(fInCoverage); } in hasVertexCoverage() 229 bool hasColor = SkToBool(gpTypeFlags & kColor_GPFlag); in DefaultGeoProc() 230 bool hasExplicitLocalCoords = SkToBool(gpTypeFlags & kLocalCoord_GPFlag); in DefaultGeoProc() 231 bool hasTransformedLocalCoords = SkToBool(gpTypeFlags & kTransformedLocalCoord_GPFlag); in DefaultGeoProc() 233 bool hasCoverage = SkToBool(gpTypeFlags & kCoverage_GPFlag); in DefaultGeoProc()
|
D | GrPipelineBuilder.h | 127 bool isSet() const { return SkToBool(fPipelineBuilder); } in isSet() 257 bool isSet() const { return SkToBool(fPipelineBuilder); } in isSet() 297 bool isHWAntialias() const { return SkToBool(fFlags & kHWAntialias_Flag); } in isHWAntialias() 299 return SkToBool(fFlags & kSnapVerticesToPixelCenters_Flag); } in snapVerticesToPixelCenters()
|
D | GrGpuResourceRef.cpp | 46 SkASSERT(SkToBool(fResource) == fOwnRef); in reset() 56 SkASSERT(SkToBool(fResource) == fOwnRef); in setResource()
|
D | GrPipeline.h | 146 bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAA_Flag); } in isHWAntialiasState() 147 bool snapVerticesToPixelCenters() const { return SkToBool(fFlags & kSnapVertices_Flag); } in snapVerticesToPixelCenters()
|
/external/skia/include/core/ |
D | SkPaint.h | 136 return SkToBool(this->getFlags() & kAntiAlias_Flag); in isAntiAlias() 148 return SkToBool(this->getFlags() & kDither_Flag); in isDither() 160 return SkToBool(this->getFlags() & kLinearText_Flag); in isLinearText() 173 return SkToBool(this->getFlags() & kSubpixelText_Flag); in isSubpixelText() 184 return SkToBool(this->getFlags() & kLCDRenderText_Flag); in isLCDRenderText() 196 return SkToBool(this->getFlags() & kEmbeddedBitmapText_Flag); in isEmbeddedBitmapText() 206 return SkToBool(this->getFlags() & kAutoHinting_Flag); in isAutohinted() 217 return SkToBool(this->getFlags() & kVerticalText_Flag); in isVerticalText() 234 return SkToBool(this->getFlags() & kUnderlineText_Flag); in isUnderlineText() 247 return SkToBool(this->getFlags() & kStrikeThruText_Flag); in isStrikeThruText() [all …]
|
D | SkFont.h | 137 bool isVertical() const { return SkToBool(fFlags & kVertical_Flag); } in isVertical() 138 bool isEmbolden() const { return SkToBool(fFlags & kEmbolden_Flag); } in isEmbolden() 139 bool isEnableAutoHints() const { return SkToBool(fFlags & kEnableAutoHints_Flag); } in isEnableAutoHints() 140 bool isEnableByteCodeHints() const { return SkToBool(fFlags & kEnableByteCodeHints_Flag); } in isEnableByteCodeHints() 141 bool isUseNonLinearMetrics() const { return SkToBool(fFlags & kUseNonlinearMetrics_Flag); } in isUseNonLinearMetrics()
|
D | SkSurfaceProps.h | 73 bool isDisallowAA() const { return SkToBool(fFlags & kDisallowAntiAlias_Flag); } in isDisallowAA() 74 bool isDisallowDither() const { return SkToBool(fFlags & kDisallowDither_Flag); } in isDisallowDither() 76 return SkToBool(fFlags & kUseDeviceIndependentFonts_Flag); in isUseDeviceIndependentFonts()
|
D | SkWriteBuffer.h | 38 return this->isValidating() || SkToBool(fFlags & kCrossProcess_Flag); in isCrossProcess() 113 bool isValidating() const { return SkToBool(fFlags & kValidation_Flag); } in isValidating()
|
D | SkPathRef.h | 152 return SkToBool(fIsFinite); in isFinite() 177 return SkToBool(fIsOval); in isOval() 184 return SkToBool(fIsRRect); in isRRect()
|
/external/skia/gm/ |
D | coloremoji.cpp | 96 if (SkToBool(makeLinear)) { in onDraw() 100 if (SkToBool(makeBlur) && SkToBool(makeGray)) { in onDraw() 104 } else if (SkToBool(makeBlur)) { in onDraw() 107 } else if (SkToBool(makeGray)) { in onDraw()
|
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()
|
/external/skia/include/gpu/ |
D | GrGpuResource.h | 90 bool internalHasPendingRead() const { return SkToBool(fPendingReads); } in internalHasPendingRead() 91 bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); } in internalHasPendingWrite() 92 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO() 94 bool internalHasRef() const { return SkToBool(fRefCnt); } in internalHasRef()
|
D | GrTextureProvider.h | 151 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); in isAbandoned() 152 return !SkToBool(fCache); in isAbandoned()
|
/external/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 249 SkAddFlagToString(str, SkToBool(kStyle_Bit & rec->fInfo.fPaintBits), "Style", in toString() 251 SkAddFlagToString(str, SkToBool(kTextSkewX_Bit & rec->fInfo.fPaintBits), "TextSkewX", in toString() 253 SkAddFlagToString(str, SkToBool(kPathEffect_Bit & rec->fInfo.fPaintBits), "PathEffect", in toString() 255 SkAddFlagToString(str, SkToBool(kMaskFilter_Bit & rec->fInfo.fPaintBits), "MaskFilter", in toString() 257 SkAddFlagToString(str, SkToBool(kShader_Bit & rec->fInfo.fPaintBits), "Shader", in toString() 259 … SkAddFlagToString(str, SkToBool(kColorFilter_Bit & rec->fInfo.fPaintBits), "ColorFilter", in toString() 261 SkAddFlagToString(str, SkToBool(kXfermode_Bit & rec->fInfo.fPaintBits), "Xfermode", in toString()
|
D | SkBlurDrawLooper.cpp | 172 SkAddFlagToString(str, SkToBool(kIgnoreTransform_BlurFlag & fBlurFlags), "IgnoreTransform", in toString() 174 SkAddFlagToString(str, SkToBool(kOverrideColor_BlurFlag & fBlurFlags), "OverrideColor", in toString() 176 SkAddFlagToString(str, SkToBool(kHighQuality_BlurFlag & fBlurFlags), "HighQuality", in toString()
|
/external/skia/src/animator/ |
D | SkDrawPaint.cpp | 215 paint->setAntiAlias(SkToBool(antiAlias)); in setupPaint() 219 paint->setFakeBoldText(SkToBool(fakeBold)); in setupPaint() 224 paint->setStyle(SkToBool(stroke) ? SkPaint::kStroke_Style : SkPaint::kFill_Style); in setupPaint() 228 paint->setLinearText(SkToBool(linearText)); in setupPaint() 242 paint->setStrikeThruText(SkToBool(strikeThru)); in setupPaint() 264 paint->setUnderlineText(SkToBool(underline)); in setupPaint()
|
/external/skia/tests/ |
D | TextBlobCacheTest.cpp | 115 paint.setAntiAlias(SkToBool(aa)); in text_blob_cache_inner() 116 paint.setSubpixelText(SkToBool(subpixel)); in text_blob_cache_inner() 117 paint.setLCDRenderText(SkToBool(lcd)); in text_blob_cache_inner() 118 if (!SkToBool(lcd)) { in text_blob_cache_inner()
|
D | DrawTextTest.cpp | 94 paint.setAntiAlias(SkToBool(flags & antiAliasFlag)); in DEF_TEST() 95 paint.setSubpixelText(SkToBool(flags & subpixelFlag)); in DEF_TEST() 96 paint.setLCDRenderText(SkToBool(flags & lcdFlag)); in DEF_TEST()
|
/external/skia/src/core/ |
D | SkReadBuffer.h | 90 return this->isValidating() || SkToBool(fFlags & kCrossProcess_Flag); in isCrossProcess() 92 bool isScalarFloat() const { return SkToBool(fFlags & kScalarIsFloat_Flag); } in isScalarFloat() 93 bool isPtr64Bit() const { return SkToBool(fFlags & kPtrIs64Bit_Flag); } in isPtr64Bit() 94 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);
|
/external/skia/src/gpu/gl/ |
D | GrGLCaps.h | 124 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag); in isConfigTexturable() 130 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderableWithMSAA_Flag); in isConfigRenderable() 132 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag); in isConfigRenderable() 206 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kVerifiedColorAttachment_Flag); in isConfigVerifiedColorAttachment()
|
/external/skia/src/gpu/batches/ |
D | GrNonAAFillRectBatch.cpp | 246 geo.fHasLocalRect = SkToBool(localRect); in append_to_batch() 247 geo.fHasLocalMatrix = SkToBool(localMatrix); in append_to_batch() 303 geo.fHasLocalRect != SkToBool(localRect) || in Append() 304 geo.fHasLocalMatrix != SkToBool(localMatrix) || in Append()
|
/external/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 115 return SkToBool(fHasAlpha) && !this->getRequireUnpremultipliedColors(); in shouldPremultiply() 262 SkColorType colorType = this->getPrefColorType(k32Bit_SrcDepth, SkToBool(fHasAlpha)); in setDecodeConfig() 276 if (SkToBool(fHasAlpha)) { in setDecodeConfig() 517 ok = SkToBool(WebPPictureImportRGB(&pic, rgb, rgbStride)); in onEncode() 519 ok = SkToBool(WebPPictureImportRGBA(&pic, rgb, rgbStride)); in onEncode()
|