Home
last modified time | relevance | path

Searched refs:fFlags (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/external/skqp/src/sksl/ir/
DSkSLModifiers.h44 , fFlags(0) {} in Modifiers()
48 , fFlags(flags) {} in Modifiers()
52 if (fFlags & kUniform_Flag) { in description()
55 if (fFlags & kConst_Flag) { in description()
58 if (fFlags & kLowp_Flag) { in description()
61 if (fFlags & kMediump_Flag) { in description()
64 if (fFlags & kHighp_Flag) { in description()
67 if (fFlags & kFlat_Flag) { in description()
70 if (fFlags & kNoPerspective_Flag) { in description()
73 if (fFlags & kReadOnly_Flag) { in description()
[all …]
DSkSLLayout.h181 : fFlags(flags) in Layout()
198 : fFlags(0) in Layout()
248 if (fFlags & kOriginUpperLeft_Flag) { in description()
252 if (fFlags & kOverrideCoverage_Flag) { in description()
256 if (fFlags & kBlendSupportAllEquations_Flag) { in description()
260 if (fFlags & kBlendSupportMultiply_Flag) { in description()
264 if (fFlags & kBlendSupportScreen_Flag) { in description()
268 if (fFlags & kBlendSupportOverlay_Flag) { in description()
272 if (fFlags & kBlendSupportDarken_Flag) { in description()
276 if (fFlags & kBlendSupportLighten_Flag) { in description()
[all …]
/external/skia/src/sksl/ir/
DSkSLModifiers.h41 , 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 …]
DSkSLLayout.h181 : fFlags(flags) in Layout()
198 : fFlags(0) in Layout()
248 if (fFlags & kOriginUpperLeft_Flag) { in description()
252 if (fFlags & kOverrideCoverage_Flag) { in description()
256 if (fFlags & kBlendSupportAllEquations_Flag) { in description()
260 if (fFlags & kBlendSupportMultiply_Flag) { in description()
264 if (fFlags & kBlendSupportScreen_Flag) { in description()
268 if (fFlags & kBlendSupportOverlay_Flag) { in description()
272 if (fFlags & kBlendSupportDarken_Flag) { in description()
276 if (fFlags & kBlendSupportLighten_Flag) { in description()
[all …]
/external/skia/src/gpu/
DGrProcessorAnalysis.h24 : 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 …]
DGrStencilSettings.h57 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()
119 uint32_t fFlags; variable
DGrPipeline.h56 uint32_t fFlags = 0; member
166 return SkToBool(fFlags & kScissorEnabled_Flag); in isScissorEnabled()
171 bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAntialias_Flag); } in isHWAntialiasState()
173 return SkToBool(fFlags & kSnapVerticesToPixelCenters_Flag); in snapVerticesToPixelCenters()
176 return SkToBool(fFlags & kHasStencilClip_Flag); in hasStencilClip()
179 return SkToBool(fFlags & kStencilEnabled_Flag); in isStencilEnabled()
181 bool isBad() const { return SkToBool(fFlags & kIsBad_Flag); } in isBad()
203 void markAsBad() { fFlags |= kIsBad_Flag; } in markAsBad()
220 uint16_t fFlags; variable
DGrPipeline.cpp24 fFlags = args.fFlags; in GrPipeline()
26 fFlags |= kHasStencilClip_Flag; in GrPipeline()
29 fFlags |= kScissorEnabled_Flag; in GrPipeline()
33 if (!args.fUserStencil->isDisabled(fFlags & kHasStencilClip_Flag)) { in GrPipeline()
34 fFlags |= kStencilEnabled_Flag; in GrPipeline()
102 , fFlags(flags) in GrPipeline()
107 fFlags |= kScissorEnabled_Flag; in GrPipeline()
110 fFlags |= kStencilEnabled_Flag; in GrPipeline()
DGrStencilSettings.cpp32 fFlags = frontFlags; in reset()
40 fFlags = frontFlags & backFlags; 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 ==()
473 b->add32(fFlags); in genKey()
/external/skqp/src/gpu/
DGrProcessorAnalysis.h24 : 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 …]
DGrStencilSettings.h57 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()
119 uint32_t fFlags; variable
DGrPipeline.h56 uint32_t fFlags = 0; member
165 return SkToBool(fFlags & kScissorEnabled_Flag); in isScissorEnabled()
170 bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAntialias_Flag); } in isHWAntialiasState()
172 return SkToBool(fFlags & kSnapVerticesToPixelCenters_Flag); in snapVerticesToPixelCenters()
175 return SkToBool(fFlags & kHasStencilClip_Flag); in hasStencilClip()
178 return SkToBool(fFlags & kStencilEnabled_Flag); in isStencilEnabled()
180 bool isBad() const { return SkToBool(fFlags & kIsBad_Flag); } in isBad()
199 void markAsBad() { fFlags |= kIsBad_Flag; } in markAsBad()
216 uint16_t fFlags; variable
DGrPipeline.cpp24 fFlags = args.fFlags; in GrPipeline()
26 fFlags |= kHasStencilClip_Flag; in GrPipeline()
29 fFlags |= kScissorEnabled_Flag; in GrPipeline()
33 if (!args.fUserStencil->isDisabled(fFlags & kHasStencilClip_Flag)) { in GrPipeline()
34 fFlags |= kStencilEnabled_Flag; in GrPipeline()
101 , fFlags() in GrPipeline()
106 fFlags |= kScissorEnabled_Flag; in GrPipeline()
DGrStencilSettings.cpp32 fFlags = frontFlags; in reset()
40 fFlags = frontFlags & backFlags; 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 ==()
473 b->add32(fFlags); in genKey()
/external/skqp/modules/sksg/src/
DSkSGNode.cpp21 , fWasSet(node->fFlags & flag) { in ScopedFlag()
22 node->fFlags |= flag; in ScopedFlag()
26 fNode->fFlags &= ~fFlag; in ~ScopedFlag()
47 , fFlags(kInvalidated_Flag) {} in Node()
50 if (fFlags & kObserverArray_Flag) { in ~Node()
60 if (!(node->fFlags & kObserverArray_Flag)) { in observeInval()
71 node->fFlags |= kObserverArray_Flag; in observeInval()
83 if (!(node->fFlags & kObserverArray_Flag)) { in unobserveInval()
98 if (fFlags & kObserverArray_Flag) { in forEachInvalObserver()
113 if (this->hasInval() && (!damageBubbling || (fFlags & kDamage_Flag))) { in invalidate()
[all …]
/external/skia/modules/sksg/src/
DSkSGNode.cpp21 , fWasSet(node->fFlags & flag) { in ScopedFlag()
22 node->fFlags |= flag; in ScopedFlag()
26 fNode->fFlags &= ~fFlag; in ~ScopedFlag()
47 , fFlags(kInvalidated_Flag) {} in Node()
50 if (fFlags & kObserverArray_Flag) { in ~Node()
60 if (!(node->fFlags & kObserverArray_Flag)) { in observeInval()
71 node->fFlags |= kObserverArray_Flag; in observeInval()
83 if (!(node->fFlags & kObserverArray_Flag)) { in unobserveInval()
98 if (fFlags & kObserverArray_Flag) { in forEachInvalObserver()
113 if (this->hasInval() && (!damageBubbling || (fFlags & kDamage_Flag))) { in invalidate()
[all …]
/external/skqp/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h23 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
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h23 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
/external/skqp/src/effects/
DSkTableColorFilter.cpp60 fFlags = 0; in SkTable_ColorFilter()
66 fFlags |= kA_Flag; in SkTable_ColorFilter()
71 fFlags |= kR_Flag; in SkTable_ColorFilter()
76 fFlags |= kG_Flag; in SkTable_ColorFilter()
80 fFlags |= kB_Flag; in SkTable_ColorFilter()
108 if (fFlags & kA_Flag) { a = ptr; ptr += 256; } in onAppendStages()
109 if (fFlags & kR_Flag) { r = ptr; ptr += 256; } in onAppendStages()
110 if (fFlags & kG_Flag) { g = ptr; ptr += 256; } in onAppendStages()
111 if (fFlags & kB_Flag) { b = ptr; } in onAppendStages()
135 unsigned fFlags; member in SkTable_ColorFilter
[all …]
/external/skia/src/effects/
DSkTableColorFilter.cpp60 fFlags = 0; in SkTable_ColorFilter()
66 fFlags |= kA_Flag; in SkTable_ColorFilter()
71 fFlags |= kR_Flag; in SkTable_ColorFilter()
76 fFlags |= kG_Flag; in SkTable_ColorFilter()
80 fFlags |= kB_Flag; in SkTable_ColorFilter()
108 if (fFlags & kA_Flag) { a = ptr; ptr += 256; } in onAppendStages()
109 if (fFlags & kR_Flag) { r = ptr; ptr += 256; } in onAppendStages()
110 if (fFlags & kG_Flag) { g = ptr; ptr += 256; } in onAppendStages()
111 if (fFlags & kB_Flag) { b = ptr; } in onAppendStages()
135 unsigned fFlags; member in SkTable_ColorFilter
[all …]
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1179 writer->appendHexU32("flags", fConfigTable[i].fFlags); in onDumpJSON()
1440 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag; in initConfigTable()
1443 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1448 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1452 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseTexStorage_Flag; in initConfigTable()
1466 fConfigTable[kRGB_888_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag; in initConfigTable()
1475 fConfigTable[kRGB_888_GrPixelConfig].fFlags |= nonMSAARenderFlags; in initConfigTable()
1479 fConfigTable[kRGB_888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1483 fConfigTable[kRGB_888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseTexStorage_Flag; in initConfigTable()
1487 fConfigTable[kRGB_888_GrPixelConfig].fFlags = 0; in initConfigTable()
[all …]
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp1172 writer->appendHexU32("flags", fConfigTable[i].fFlags); in onDumpJSON()
1433 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag; in initConfigTable()
1436 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1441 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1445 fConfigTable[kRGBA_8888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseTexStorage_Flag; in initConfigTable()
1459 fConfigTable[kRGB_888_GrPixelConfig].fFlags = ConfigInfo::kTextureable_Flag; in initConfigTable()
1468 fConfigTable[kRGB_888_GrPixelConfig].fFlags |= nonMSAARenderFlags; in initConfigTable()
1472 fConfigTable[kRGB_888_GrPixelConfig].fFlags |= allRenderFlags; in initConfigTable()
1476 fConfigTable[kRGB_888_GrPixelConfig].fFlags |= ConfigInfo::kCanUseTexStorage_Flag; in initConfigTable()
1480 fConfigTable[kRGB_888_GrPixelConfig].fFlags = 0; in initConfigTable()
[all …]
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm272 if (fConfigTable[config].fFlags & ConfigInfo::kMSAA_Flag) {
274 } else if (fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag) {
282 if (fConfigTable[config].fFlags & ConfigInfo::kMSAA_Flag) {
289 } else if (fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag) {
359 info->fFlags = ConfigInfo::kAllFlags;
363 info->fFlags = ConfigInfo::kAllFlags;
368 info->fFlags = 0;
370 info->fFlags = ConfigInfo::kAllFlags;
376 info->fFlags = 0;
378 info->fFlags = ConfigInfo::kAllFlags;
[all …]
/external/skia/include/core/
DSkFontMetrics.h27 uint32_t fFlags; //!< is set to FontMetricsFlags when metrics are valid member
52 if (SkToBool(fFlags & kUnderlineThicknessIsValid_Flag)) { in hasUnderlineThickness()
67 if (SkToBool(fFlags & kUnderlinePositionIsValid_Flag)) { in hasUnderlinePosition()
82 if (SkToBool(fFlags & kStrikeoutThicknessIsValid_Flag)) { in hasStrikeoutThickness()
97 if (SkToBool(fFlags & kStrikeoutPositionIsValid_Flag)) { in hasStrikeoutPosition()
/external/skqp/include/core/
DSkFontMetrics.h27 uint32_t fFlags; //!< is set to FontMetricsFlags when metrics are valid member
52 if (SkToBool(fFlags & kUnderlineThicknessIsValid_Flag)) { in hasUnderlineThickness()
67 if (SkToBool(fFlags & kUnderlinePositionIsValid_Flag)) { in hasUnderlinePosition()
82 if (SkToBool(fFlags & kStrikeoutThicknessIsValid_Flag)) { in hasStrikeoutThickness()
97 if (SkToBool(fFlags & kStrikeoutPositionIsValid_Flag)) { in hasStrikeoutPosition()

12345678910>>...14