/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLModifiers.h | 41 , fFlags(0) {} in Modifiers() 45 , fFlags(flags) {} in Modifiers() 49 if (fFlags & kUniform_Flag) { in description() 52 if (fFlags & kConst_Flag) { in description() 55 if (fFlags & kFlat_Flag) { in description() 58 if (fFlags & kNoPerspective_Flag) { in description() 61 if (fFlags & kReadOnly_Flag) { in description() 64 if (fFlags & kWriteOnly_Flag) { in description() 67 if (fFlags & kCoherent_Flag) { in description() 70 if (fFlags & kVolatile_Flag) { in description() [all …]
|
D | SkSLLayout.h | 190 : fFlags(flags) in Layout() 207 : fFlags(0) in Layout() 257 if (fFlags & kOriginUpperLeft_Flag) { in description() 261 if (fFlags & kOverrideCoverage_Flag) { in description() 265 if (fFlags & kBlendSupportAllEquations_Flag) { in description() 269 if (fFlags & kBlendSupportMultiply_Flag) { in description() 273 if (fFlags & kBlendSupportScreen_Flag) { in description() 277 if (fFlags & kBlendSupportOverlay_Flag) { in description() 281 if (fFlags & kBlendSupportDarken_Flag) { in description() 285 if (fFlags & kBlendSupportLighten_Flag) { in description() [all …]
|
/third_party/skia/include/private/ |
D | SkSLModifiers.h | 55 , fFlags(0) {} in Modifiers() 59 , fFlags(flags) {} in Modifiers() 65 if (fFlags & kES3_Flag) { in description() 68 if (fFlags & kHasSideEffects_Flag) { in description() 71 if (fFlags & kNoInline_Flag) { in description() 76 if (fFlags & kFlat_Flag) { in description() 79 if (fFlags & kNoPerspective_Flag) { in description() 82 if (fFlags & kConst_Flag) { in description() 85 if (fFlags & kUniform_Flag) { in description() 88 if ((fFlags & kIn_Flag) && (fFlags & kOut_Flag)) { in description() [all …]
|
D | SkSLLayout.h | 39 : fFlags(flags) in Layout() 49 : fFlags(0) in Layout() 94 if (fFlags & kOriginUpperLeft_Flag) { in description() 97 if (fFlags & kBlendSupportAllEquations_Flag) { in description() 100 if (fFlags & kPushConstant_Flag) { in description() 103 if (fFlags & kSRGBUnpremul_Flag) { in description() 113 return fFlags == other.fFlags && 127 int fFlags; member
|
/third_party/flutter/skia/src/gpu/ |
D | GrProcessorAnalysis.h | 24 : fFlags(opaque == Opaque::kYes ? kIsOpaque_Flag : 0) 32 fFlags = kColorIsKnown_Flag | kIsOpaque_Flag; in setToConstant() 34 fFlags = kColorIsKnown_Flag; in setToConstant() 38 void setToUnknown() { fFlags = 0; } in setToUnknown() 40 void setToUnknownOpaque() { fFlags = kIsOpaque_Flag; } in setToUnknownOpaque() 42 bool isUnknown() const { return SkToBool(fFlags == 0); } in isUnknown() 44 bool isOpaque() const { return SkToBool(kIsOpaque_Flag & fFlags); } in isOpaque() 47 if (kColorIsKnown_Flag & fFlags) { 57 if (fFlags != that.fFlags) { 60 return (kColorIsKnown_Flag & fFlags) ? fColor == that.fColor : true; [all …]
|
D | GrStencilSettings.h | 57 void invalidate() { fFlags |= kInvalid_PrivateFlag; } in invalidate() 58 void setDisabled() { fFlags = kAll_StencilFlags; } in setDisabled() 62 bool isValid() const { return !(fFlags & kInvalid_PrivateFlag); } in isValid() 63 bool isDisabled() const { SkASSERT(this->isValid()); return fFlags & kDisabled_StencilFlag; } in isDisabled() 65 return !(fFlags & kNoModifyStencil_StencilFlag); } in doesWrite() 67 return !(fFlags & kSingleSided_StencilFlag); } in isTwoSided() 69 return !(fFlags & kNoWrapOps_StencilFlag); } in usesWrapOp() 130 uint32_t fFlags; variable
|
D | GrPipeline.cpp | 25 fFlags = (Flags)args.fInputFlags; in GrPipeline() 27 fFlags |= Flags::kHasStencilClip; in GrPipeline() 30 fFlags |= Flags::kScissorEnabled; in GrPipeline() 34 if (!args.fUserStencil->isDisabled(fFlags & Flags::kHasStencilClip)) { in GrPipeline() 35 fFlags |= Flags::kStencilEnabled; in GrPipeline() 89 , fFlags((Flags)inputFlags) in GrPipeline() 95 fFlags |= Flags::kScissorEnabled; in GrPipeline() 98 fFlags |= Flags::kStencilEnabled; in GrPipeline()
|
D | GrPipeline.h | 175 return SkToBool(fFlags & Flags::kScissorEnabled); in isScissorEnabled() 180 bool isHWAntialiasState() const { return SkToBool(fFlags & InputFlags::kHWAntialias); } in isHWAntialiasState() 182 return SkToBool(fFlags & InputFlags::kSnapVerticesToPixelCenters); in snapVerticesToPixelCenters() 185 return SkToBool(fFlags & Flags::kHasStencilClip); in hasStencilClip() 188 return SkToBool(fFlags & Flags::kStencilEnabled); in isStencilEnabled() 190 SkDEBUGCODE(bool isBad() const { return SkToBool(fFlags & Flags::kIsBad); }) 201 SkDEBUGCODE(void markAsBad() { fFlags |= Flags::kIsBad; }) 225 Flags fFlags; variable
|
/third_party/skia/src/gpu/ |
D | GrProcessorAnalysis.h | 24 : fFlags(opaque == Opaque::kYes ? kIsOpaque_Flag : 0) 32 fFlags = kColorIsKnown_Flag | kIsOpaque_Flag; in setToConstant() 34 fFlags = kColorIsKnown_Flag; in setToConstant() 38 void setToUnknown() { fFlags = 0; } in setToUnknown() 40 void setToUnknownOpaque() { fFlags = kIsOpaque_Flag; } in setToUnknownOpaque() 42 bool isUnknown() const { return SkToBool(fFlags == 0); } in isUnknown() 44 bool isOpaque() const { return SkToBool(kIsOpaque_Flag & fFlags); } in isOpaque() 47 if (kColorIsKnown_Flag & fFlags) { 57 if (fFlags != that.fFlags) { 60 return (kColorIsKnown_Flag & fFlags) ? fColor == that.fColor : true; [all …]
|
D | GrStencilSettings.cpp | 32 fFlags = cwFlags; in reset() 40 fFlags = cwFlags & ccwFlags; in reset() 57 fFlags = that.fFlags; in reset() 58 if ((kInvalid_PrivateFlag | kDisabled_StencilFlag) & fFlags) { in reset() 71 if ((kInvalid_PrivateFlag | kDisabled_StencilFlag) & (fFlags | that.fFlags)) { in operator ==() 73 if (kInvalid_PrivateFlag & (fFlags | that.fFlags)) { in operator ==() 77 return kDisabled_StencilFlag & (fFlags & that.fFlags); in operator ==() 79 if (kSingleSided_StencilFlag & (fFlags & that.fFlags)) { in operator ==() 81 } else if (kSingleSided_StencilFlag & (fFlags | that.fFlags)) { in operator ==() 247 b->addBits(6, fFlags, "stencilFlags"); in genKey()
|
D | GrFragmentProcessor.h | 203 return SkToBool(fFlags & kWillReadDstColor_Flag); 208 return SkToBool(fFlags & kIsBlendFunction_Flag); in isBlendFunction() 217 return SkToBool(fFlags & kUsesSampleCoordsDirectly_Flag); in usesSampleCoordsDirectly() 226 return SkToBool(fFlags & (kUsesSampleCoordsDirectly_Flag | in usesSampleCoords() 249 return SkToBool(fFlags & kCompatibleWithCoverageAsAlpha_OptimizationFlag); in compatibleWithCoverageAsAlpha() 256 return SkToBool(fFlags & kPreservesOpaqueInput_OptimizationFlag); in preservesOpaqueInput() 265 if (fFlags & kConstantOutputForConstantInput_OptimizationFlag) { in hasConstantOutputForConstantInput() 272 return SkToBool(fFlags & kConstantOutputForConstantInput_OptimizationFlag); in hasConstantOutputForConstantInput() 341 : INHERITED(classID), fFlags(optimizationFlags) { in GrFragmentProcessor() 346 : INHERITED(src.classID()), fFlags(src.fFlags) { in GrFragmentProcessor() [all …]
|
D | GrStencilSettings.h | 57 void invalidate() { fFlags |= kInvalid_PrivateFlag; } in invalidate() 58 void setDisabled() { fFlags = kAll_StencilFlags; } in setDisabled() 62 bool isValid() const { return !(fFlags & kInvalid_PrivateFlag); } in isValid() 63 bool isDisabled() const { SkASSERT(this->isValid()); return fFlags & kDisabled_StencilFlag; } in isDisabled() 65 return !(fFlags & kNoModifyStencil_StencilFlag); } in doesWrite() 67 return !(fFlags & kSingleSided_StencilFlag); } in isTwoSided() 69 return !(fFlags & kNoWrapOps_StencilFlag); } in usesWrapOp() 112 uint32_t fFlags; variable
|
/third_party/flutter/skia/modules/sksg/src/ |
D | SkSGNode.cpp | 21 , fWasSet(node->fFlags & flag) { in ScopedFlag() 22 node->fFlags |= flag; in ScopedFlag() 26 fNode->fFlags &= ~fFlag; in ~ScopedFlag() 47 , fFlags(kInvalidated_Flag) in Node() 51 if (fFlags & kObserverArray_Flag) { in ~Node() 61 if (!(node->fFlags & kObserverArray_Flag)) { in observeInval() 72 node->fFlags |= kObserverArray_Flag; in observeInval() 84 if (!(node->fFlags & kObserverArray_Flag)) { in unobserveInval() 99 if (fFlags & kObserverArray_Flag) { in forEachInvalObserver() 114 if (this->hasInval() && (!damageBubbling || (fFlags & kDamage_Flag))) { in invalidate() [all …]
|
/third_party/skia/modules/sksg/src/ |
D | SkSGNode.cpp | 21 , fWasSet(node->fFlags & flag) { in ScopedFlag() 22 node->fFlags |= flag; in ScopedFlag() 26 fNode->fFlags &= ~fFlag; in ~ScopedFlag() 47 , fFlags(kInvalidated_Flag) in Node() 51 if (fFlags & kObserverArray_Flag) { in ~Node() 61 if (!(node->fFlags & kObserverArray_Flag)) { in observeInval() 72 node->fFlags |= kObserverArray_Flag; in observeInval() 84 if (!(node->fFlags & kObserverArray_Flag)) { in unobserveInval() 99 if (fFlags & kObserverArray_Flag) { in forEachInvalObserver() 114 if (this->hasInval() && (!damageBubbling || (fFlags & kDamage_Flag))) { in invalidate() [all …]
|
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 23 memset(&fFlags, 0, sizeof(fFlags)); in GrGLSLColorSpaceXformHelper() 30 fFlags = colorSpaceXform->fSteps.flags; 58 bool isNoop() const { return (0 == fFlags.mask()); } in isNoop() 60 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul() 61 bool applySrcTF() const { return fFlags.linearize; } in applySrcTF() 62 bool applyGamutXform() const { return fFlags.gamut_transform; } in applyGamutXform() 63 bool applyDstTF() const { return fFlags.encode; } in applyDstTF() 64 bool applyPremul() const { return fFlags.premul; } in applyPremul() 76 SkColorSpaceXformSteps::Flags fFlags; variable
|
/third_party/skia/bench/ |
D | VertBench.cpp | 47 unsigned fFlags; member in VertBench 56 if (fFlags & kTexture_VertFlag) { in onDelayedSetup() 59 SkFilterMode fm = (fFlags & kBilerp_VertFlag) ? SkFilterMode::kLinear in onDelayedSetup() 67 VertBench(unsigned flags) : fFlags(flags) { in VertBench() 106 if (fFlags & kTexture_VertFlag) { in VertBench() 109 if (fFlags & kColors_VertFlag) { in VertBench() 112 if (fFlags & kPersp_VertFlag) { in VertBench() 115 if (fFlags & kBilerp_VertFlag) { in VertBench() 127 if (fFlags & kPersp_VertFlag) { in onDraw() 131 const SkPoint* texs = (fFlags & kTexture_VertFlag) ? fTex : nullptr; in onDraw() [all …]
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 29 fFlags = colorSpaceXform->fSteps.flags; 59 bool isNoop() const { return (0 == fFlags.mask()); } in isNoop() 61 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul() 62 bool applySrcTF() const { return fFlags.linearize; } in applySrcTF() 63 bool applyGamutXform() const { return fFlags.gamut_transform; } in applyGamutXform() 64 bool applyDstTF() const { return fFlags.encode; } in applyDstTF() 65 bool applyPremul() const { return fFlags.premul; } in applyPremul() 80 SkColorSpaceXformSteps::Flags fFlags; variable
|
/third_party/skia/include/core/ |
D | SkFontMetrics.h | 20 this->fFlags == that.fFlags && 51 uint32_t fFlags; //!< FontMetricsFlags indicating which metrics are valid member 76 if (SkToBool(fFlags & kUnderlineThicknessIsValid_Flag)) { in hasUnderlineThickness() 91 if (SkToBool(fFlags & kUnderlinePositionIsValid_Flag)) { in hasUnderlinePosition() 106 if (SkToBool(fFlags & kStrikeoutThicknessIsValid_Flag)) { in hasStrikeoutThickness() 121 if (SkToBool(fFlags & kStrikeoutPositionIsValid_Flag)) { in hasStrikeoutPosition() 134 return !SkToBool(fFlags & kBoundsInvalid_Flag); in hasBounds()
|
D | SkSurfaceProps.h | 69 return SkSurfaceProps(fFlags, newPixelGeometry); in cloneWithPixelGeometry() 72 uint32_t flags() const { return fFlags; } in flags() 76 return SkToBool(fFlags & kUseDeviceIndependentFonts_Flag); in isUseDeviceIndependentFonts() 80 return fFlags == that.fFlags && fPixelGeometry == that.fPixelGeometry; 88 uint32_t fFlags;
|
/third_party/skia/src/sksl/ir/ |
D | SkSLVarDeclarations.cpp | 53 if ((modifiers.fFlags & Modifiers::kIn_Flag) && baseType->isMatrix()) { in ErrorCheck() 56 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck() 60 if (modifiers.fFlags & Modifiers::kIn_Flag) { in ErrorCheck() 64 if (baseType->isEffectChild() && !(modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck() 68 if (modifiers.fLayout.fFlags & Layout::kSRGBUnpremul_Flag) { in ErrorCheck() 72 if (!(modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck() 109 if (var.modifiers().fFlags & Modifiers::kIn_Flag) { in ErrorCheckAndCoerce() 114 if (var.modifiers().fFlags & Modifiers::kUniform_Flag) { in ErrorCheckAndCoerce() 129 if (var.modifiers().fFlags & Modifiers::kConst_Flag) { in ErrorCheckAndCoerce() 210 SkASSERT(!(var->modifiers().fFlags & Modifiers::kConst_Flag) || value); in Make() [all …]
|
/third_party/skia/modules/skparagraph/gm/ |
D | simple_gm.cpp | 38 const unsigned fFlags; member in ParagraphGM 41 ParagraphGM(unsigned flags) : fFlags(flags) {} in ParagraphGM() 49 if (fFlags & kUseUnderline) { in buildParagraph() 81 fFlags & kTimeLayout ? "_layout" : "", in onShortName() 82 fFlags & kUseUnderline ? "_underline" : ""); in onShortName() 83 if (fFlags & kShowVisitor) { in onShortName() 90 if (fFlags & kShowVisitor) { in onISize() 116 if (fFlags & kUseUnderline) { in drawFromVisitor() 163 if (fFlags & kShowVisitor) { in onDraw() 178 if (fFlags & kTimeLayout) { in onDraw() [all …]
|
/third_party/skia/src/core/ |
D | SkFont.cpp | 38 , fFlags(kDefault_Flags) in SkFont() 54 fFlags == b.fFlags && in operator ==() 64 SkDebugf("flags 0x%X\n", fFlags); in dump() 76 fFlags = set_clear_mask(fFlags, predicate, kForceAutoHinting_PrivFlag); in setForceAutoHinting() 79 fFlags = set_clear_mask(fFlags, predicate, kEmbeddedBitmaps_PrivFlag); in setEmbeddedBitmaps() 82 fFlags = set_clear_mask(fFlags, predicate, kSubpixel_PrivFlag); in setSubpixel() 85 fFlags = set_clear_mask(fFlags, predicate, kLinearMetrics_PrivFlag); in setLinearMetrics() 88 fFlags = set_clear_mask(fFlags, predicate, kEmbolden_PrivFlag); in setEmbolden() 91 fFlags = set_clear_mask(fFlags, predicate, kBaselineSnap_PrivFlag); in setBaselineSnap() 123 fFlags = (fFlags & ~flagsToIgnore) | kSubpixel_PrivFlag; in setupForAsPaths()
|
/third_party/skia/src/gpu/effects/ |
D | GrModulateAtlasCoverageEffect.cpp | 21 , fFlags(flags) in GrModulateAtlasCoverageEffect() 22 , fBounds((fFlags & Flags::kCheckBounds) ? devIBounds : SkIRect{0,0,0,0}) { in GrModulateAtlasCoverageEffect() 32 , fFlags(that.fFlags) in GrModulateAtlasCoverageEffect() 44 if (fp.fFlags & Flags::kCheckBounds) { in onMakeProgramImpl() 71 if (fp.fFlags & Flags::kCheckBounds) { in onMakeProgramImpl() 74 if (fp.fFlags & Flags::kInvertCoverage) { in onMakeProgramImpl()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DCaps.cpp | 312 !SkToBool(ctInfo.fFlags & ColorTypeInfo::kWrappedOnly_Flag)) { in setColorType() 366 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable() 375 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable() 382 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; in initFormatTable() 394 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable() 403 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable() 412 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; in initFormatTable() 423 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable() 432 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable() 442 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable() [all …]
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlCaps.mm | 298 return SkToBool(FormatInfo::kTexturable_Flag && formatInfo.fFlags); 329 if (formatInfo.fFlags & FormatInfo::kMSAA_Flag) { 331 } else if (formatInfo.fFlags & FormatInfo::kRenderable_Flag) { 347 if (!(formatInfo.fFlags & FormatInfo::kRenderable_Flag)) { 350 if (formatInfo.fFlags & FormatInfo::kMSAA_Flag) { 480 info->fFlags = FormatInfo::kAllFlags; 488 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; 496 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; 504 info->fFlags = FormatInfo::kTexturable_Flag; 512 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; [all …]
|