Home
last modified time | relevance | path

Searched refs:fPathData (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/gpu/
DGrShape.cpp30 fPathData.fGenID = that.fPathData.fGenID; in operator =()
113 result.initType(Type::kPath, &original.fPathData.fPath); in MakeFilled()
114 result.fPathData.fGenID = original.fPathData.fGenID; in MakeFilled()
115 if (flip_inversion(original.fPathData.fPath.isInverseFillType(), inversion)) { in MakeFilled()
116 result.fPathData.fPath.toggleInverseFillType(); in MakeFilled()
246 if (0 == fPathData.fGenID) { in unstyledKeySize()
249 int dataKeySize = path_key_from_data_size(fPathData.fPath); in unstyledKeySize()
293 SkASSERT(fPathData.fGenID); in writeUnstyledKey()
294 int dataKeySize = path_key_from_data_size(fPathData.fPath); in writeUnstyledKey()
296 write_path_key_from_data(fPathData.fPath, key); in writeUnstyledKey()
[all …]
DGrShape.h483 fPathData.fPath.~SkPath();
486 new (&fPathData.fPath) SkPath(*path);
488 new (&fPathData.fPath) SkPath();
491 fPathData.fPath = *path;
494 fPathData.fGenID = 0;
499 return fPathData.fPath; in path()
504 return fPathData.fPath; in path()
594 } fPathData; member
/external/skia/src/gpu/
DGrShape.cpp30 fPathData.fGenID = that.fPathData.fGenID; in operator =()
113 result.initType(Type::kPath, &original.fPathData.fPath); in MakeFilled()
114 result.fPathData.fGenID = original.fPathData.fGenID; in MakeFilled()
115 if (flip_inversion(original.fPathData.fPath.isInverseFillType(), inversion)) { in MakeFilled()
116 result.fPathData.fPath.toggleInverseFillType(); in MakeFilled()
246 if (0 == fPathData.fGenID) { in unstyledKeySize()
249 int dataKeySize = path_key_from_data_size(fPathData.fPath); in unstyledKeySize()
293 SkASSERT(fPathData.fGenID); in writeUnstyledKey()
294 int dataKeySize = path_key_from_data_size(fPathData.fPath); in writeUnstyledKey()
296 write_path_key_from_data(fPathData.fPath, key); in writeUnstyledKey()
[all …]
DGrShape.h483 fPathData.fPath.~SkPath();
486 new (&fPathData.fPath) SkPath(*path);
488 new (&fPathData.fPath) SkPath();
491 fPathData.fPath = *path;
494 fPathData.fGenID = 0;
499 return fPathData.fPath; in path()
504 return fPathData.fPath; in path()
594 } fPathData; member
/external/skqp/src/core/
DSkGlyph.cpp111 if (fPathData == nullptr) { in addPath()
112 fPathData = alloc->make<SkGlyph::PathData>(); in addPath()
113 if (scalerContext->getPath(this->getPackedID(), &fPathData->fPath)) { in addPath()
114 fPathData->fPath.updateBoundsCache(); in addPath()
115 fPathData->fPath.getGenerationID(); in addPath()
116 fPathData->fHasPath = true; in addPath()
DSkStrike.cpp164 if (glyph.fPathData != nullptr) { in findPath()
165 if (glyph.fPathData->fHasPath) { in findPath()
166 return &glyph.fPathData->fPath; in findPath()
172 if (glyph.fPathData != nullptr) { in findPath()
173 fMemoryUsed += compute_path_size(glyph.fPathData->fPath); in findPath()
185 if (glyph->fPathData) return true; in initializePath()
189 glyph->fPathData = pathData; in initializePath()
194 fMemoryUsed += compute_path_size(glyph->fPathData->fPath); in initializePath()
323 if (!glyph->fPathData) { in MatchBounds()
326 const SkGlyph::Intercept* intercept = glyph->fPathData->fIntercept; in MatchBounds()
[all …]
DSkGlyph.h167 return fPathData != nullptr && fPathData->fHasPath ? &fPathData->fPath : nullptr; in path()
178 PathData* fPathData = nullptr; variable
DSkRemoteGlyphCache.cpp683 auto* glyphPath = allocatedGlyph->fPathData; in readStrikeData()
685 allocatedGlyph->fPathData = glyphPath; in readStrikeData()
706 if (allocatedGlyph->fPathData == nullptr) { in readStrikeData()
DSkStrikeCache.cpp384 if (from->fPathData != nullptr) { in desperationSearchForPath()
387 *path = from->fPathData->fPath; in desperationSearchForPath()
/external/skia/src/core/
DSkGlyph.cpp111 if (fPathData == nullptr) { in addPath()
112 fPathData = alloc->make<SkGlyph::PathData>(); in addPath()
113 if (scalerContext->getPath(this->getPackedID(), &fPathData->fPath)) { in addPath()
114 fPathData->fPath.updateBoundsCache(); in addPath()
115 fPathData->fPath.getGenerationID(); in addPath()
116 fPathData->fHasPath = true; in addPath()
DSkStrike.cpp164 if (glyph.fPathData != nullptr) { in findPath()
165 if (glyph.fPathData->fHasPath) { in findPath()
166 return &glyph.fPathData->fPath; in findPath()
172 if (glyph.fPathData != nullptr) { in findPath()
173 fMemoryUsed += compute_path_size(glyph.fPathData->fPath); in findPath()
185 if (glyph->fPathData) return true; in initializePath()
189 glyph->fPathData = pathData; in initializePath()
194 fMemoryUsed += compute_path_size(glyph->fPathData->fPath); in initializePath()
345 if (!glyph->fPathData) { in MatchBounds()
348 const SkGlyph::Intercept* intercept = glyph->fPathData->fIntercept; in MatchBounds()
[all …]
DSkGlyph.h158 return fPathData != nullptr && fPathData->fHasPath ? &fPathData->fPath : nullptr; in path()
169 PathData* fPathData = nullptr; variable
DSkRemoteGlyphCache.cpp569 if (glyph.fPathData == nullptr) { in decideCouldDrawFromPath()
753 auto* glyphPath = allocatedGlyph->fPathData; in readStrikeData()
755 allocatedGlyph->fPathData = glyphPath; in readStrikeData()
776 if (allocatedGlyph->fPathData == nullptr) { in readStrikeData()
DSkStrikeCache.cpp409 if (from->fPathData != nullptr) { in desperationSearchForPath()
412 *path = from->fPathData->fPath; in desperationSearchForPath()
/external/skqp/tests/
DGrShapeTest.cpp34 return Type::kPath == fType && !fPathData.fPath.isVolatile(); in testingOnly_isNonVolatilePath()
/external/skia/tests/
DGrShapeTest.cpp34 return Type::kPath == fType && !fPathData.fPath.isVolatile(); in testingOnly_isNonVolatilePath()