/external/skqp/src/gpu/ccpr/ |
D | GrCCAtlas.h | 30 class GrCCAtlas { 54 GrCCAtlas(CoverageType, const Specs&, const GrCaps&); 55 ~GrCCAtlas(); 110 using CoverageType = GrCCAtlas::CoverageType; 112 GrCCAtlasStack(CoverageType coverageType, const GrCCAtlas::Specs& specs, const GrCaps* caps) in GrCCAtlasStack() 116 const GrCCAtlas& front() const { SkASSERT(!this->empty()); return fAtlases.front(); } in front() 117 GrCCAtlas& front() { SkASSERT(!this->empty()); return fAtlases.front(); } in front() 118 GrCCAtlas& current() { SkASSERT(!this->empty()); return fAtlases.back(); } in current() 124 GrCCAtlas* operator->() const { return fImpl.get(); } 126 typename GrTAllocator<GrCCAtlas>::Iter fImpl; [all …]
|
D | GrCCAtlas.cpp | 22 class GrCCAtlas::Node { 51 GrCCAtlas::GrCCAtlas(CoverageType coverageType, const Specs& specs, const GrCaps& caps) in GrCCAtlas() function in GrCCAtlas 103 GrCCAtlas::~GrCCAtlas() { in ~GrCCAtlas() 106 bool GrCCAtlas::addRect(const SkIRect& devIBounds, SkIVector* offset) { in addRect() 121 bool GrCCAtlas::internalPlaceRect(int w, int h, SkIPoint16* loc) { in internalPlaceRect() 147 void GrCCAtlas::setFillBatchID(int id) { in setFillBatchID() 153 void GrCCAtlas::setStrokeBatchID(int id) { in setStrokeBatchID() 164 sk_sp<GrCCCachedAtlas> GrCCAtlas::refOrMakeCachedAtlas(GrOnFlushResourceProvider* onFlushRP) { in refOrMakeCachedAtlas() 183 sk_sp<GrRenderTargetContext> GrCCAtlas::makeRenderTargetContext( in makeRenderTargetContext() 212 GrCCAtlas* GrCCAtlasStack::addRect(const SkIRect& devIBounds, SkIVector* devToAtlasOffset) { in addRect() [all …]
|
D | GrCCPerFlushResources.h | 46 GrCCAtlas::Specs fCopyAtlasSpecs; 51 GrCCAtlas::Specs fRenderedAtlasSpecs; 82 GrCCAtlas* renderShapeInAtlas(const SkIRect& clipIBounds, const SkMatrix&, const GrShape&, 85 const GrCCAtlas* renderDeviceSpacePathInAtlas(const SkIRect& clipIBounds, const SkPath& devPath,
|
D | GrCCPerFlushResources.cpp | 162 , fCopyAtlasStack(GrCCAtlas::CoverageType::kA8_LiteralCoverage, specs.fCopyAtlasSpecs, in GrCCPerFlushResources() 164 , fRenderedAtlasStack(GrCCAtlas::CoverageType::kFP16_CoverageCount, in GrCCPerFlushResources() 203 if (GrCCAtlas::CoverageType::kA8_LiteralCoverage == cachedAtlas->coverageType()) { in upgradeEntryToLiteralCoverageAtlas() 211 if (GrCCAtlas* retiredAtlas = fCopyAtlasStack.addRect(entry->devIBounds(), &newAtlasOffset)) { in upgradeEntryToLiteralCoverageAtlas() 223 GrCCAtlas* newAtlas = &fCopyAtlasStack.current(); in upgradeEntryToLiteralCoverageAtlas() 332 GrCCAtlas* GrCCPerFlushResources::renderShapeInAtlas( in renderShapeInAtlas() 383 const GrCCAtlas* GrCCPerFlushResources::renderDeviceSpacePathInAtlas( in renderDeviceSpacePathInAtlas() 418 if (GrCCAtlas* retiredAtlas = in placeRenderedPathInAtlas() 511 fCopyAtlasSpecs = GrCCAtlas::Specs(); in cancelCopies()
|
D | GrCCPathCache.h | 232 void setCoverageCountAtlas(GrOnFlushResourceProvider*, GrCCAtlas*, const SkIVector& atlasOffset, 239 GrCCAtlas*, const SkIVector& newAtlasOffset); 292 GrCCCachedAtlas(GrCCAtlas::CoverageType type, const GrUniqueKey& textureKey, in GrCCCachedAtlas() 303 GrCCAtlas::CoverageType coverageType() const { return fCoverageType; } in coverageType() 325 const GrCCAtlas::CoverageType fCoverageType;
|
D | GrCCPathCache.cpp | 234 GrCCAtlas::kTextureOrigin)); in find() 354 GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, const SkIVector& atlasOffset, in setCoverageCountAtlas() 379 GrCCPathCache* pathCache, GrOnFlushResourceProvider* onFlushRP, GrCCAtlas* atlas, in upgradeToLiteralCoverageAtlas() 384 SkASSERT(GrCCAtlas::CoverageType::kFP16_CoverageCount == fCachedAtlas->coverageType()); in upgradeToLiteralCoverageAtlas()
|
D | GrCCDrawPathsOp.cpp | 220 using CoverageType = GrCCAtlas::CoverageType; in accountForOwnPath() 339 SkASSERT(GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources() 345 fColor = (GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources()
|
D | GrCCDrawPathsOp.h | 19 class GrCCAtlas; variable
|
/external/skia/src/gpu/ccpr/ |
D | GrCCAtlas.cpp | 14 static SkISize choose_initial_atlas_size(const GrCCAtlas::Specs& specs) { in choose_initial_atlas_size() 27 static int choose_max_atlas_size(const GrCCAtlas::Specs& specs, const GrCaps& caps) { in choose_max_atlas_size() 32 GrCCAtlas::GrCCAtlas(const Specs& specs, const GrCaps& caps) in GrCCAtlas() function in GrCCAtlas 39 GrCCAtlas::~GrCCAtlas() { in ~GrCCAtlas()
|
D | GrCCPerFlushResources.h | 23 GrCCPerFlushResources(GrOnFlushResourceProvider*, const GrCCAtlas::Specs&); 31 std::unique_ptr<GrCCAtlas> renderDeviceSpacePathInAtlas( 36 std::unique_ptr<GrCCAtlas> finalize(GrOnFlushResourceProvider*); 43 std::unique_ptr<GrCCAtlas> placeRenderedPathInAtlas( 55 const GrCCAtlas::Specs fAtlasSpecs; 66 std::unique_ptr<GrCCAtlas> fAtlas;
|
D | GrCCAtlas.h | 19 class GrCCAtlas : public GrDynamicAtlas { 44 GrCCAtlas(const Specs&, const GrCaps&); 45 ~GrCCAtlas() override; 48 inline void GrCCAtlas::Specs::accountForSpace(int width, int height) { in accountForSpace()
|
D | GrCCClipPath.cpp | 21 , fAtlasLazyProxy(GrCCAtlas::MakeLazyAtlasProxy( in GrCCClipPath() 22 [](GrResourceProvider*, const GrCCAtlas::LazyAtlasDesc&) { in GrCCClipPath() 33 void GrCCClipPath::accountForOwnPath(GrCCAtlas::Specs* specs) const { in accountForOwnPath() 40 std::unique_ptr<GrCCAtlas> GrCCClipPath::renderPathInAtlas(GrCCPerFlushResources* resources, in renderPathInAtlas()
|
D | GrCCPerFlushResources.cpp | 21 const GrCCAtlas::Specs& specs) in GrCCPerFlushResources() 25 std::unique_ptr<GrCCAtlas> GrCCPerFlushResources::renderDeviceSpacePathInAtlas( in renderDeviceSpacePathInAtlas() 49 std::unique_ptr<GrCCAtlas> GrCCPerFlushResources::placeRenderedPathInAtlas( in placeRenderedPathInAtlas() 52 std::unique_ptr<GrCCAtlas> retiredAtlas; in placeRenderedPathInAtlas() 61 fAtlas = std::make_unique<GrCCAtlas>(fAtlasSpecs, *onFlushRP->caps()); in placeRenderedPathInAtlas() 174 std::unique_ptr<GrCCAtlas> GrCCPerFlushResources::finalize(GrOnFlushResourceProvider* onFlushRP) { in finalize()
|
D | GrCCClipPath.h | 36 void accountForOwnPath(GrCCAtlas::Specs*) const; 44 std::unique_ptr<GrCCAtlas> renderPathInAtlas(GrCCPerFlushResources*,
|
D | GrCCClipProcessor.cpp | 17 return { sk_ref_sp(proxy), GrCCAtlas::kTextureOrigin, swizzle }; in make_view()
|
D | GrCoverageCountingPathRenderer.cpp | 159 GrCCAtlas::Specs specs; in preFlush()
|
/external/skqp/include/private/ |
D | GrCCClipPath.h | 15 class GrCCAtlas; variable 72 const GrCCAtlas* fAtlas = nullptr;
|
/external/skqp/gn/ |
D | gpu.gni | 523 "$_src/gpu/ccpr/GrCCAtlas.cpp", 524 "$_src/gpu/ccpr/GrCCAtlas.h",
|
/external/skqp/tests/ |
D | GrCCPRTest.cpp | 589 using CoverageType = GrCCAtlas::CoverageType; in onRun()
|
/external/skia/gn/ |
D | gpu.gni | 620 "$_src/gpu/ccpr/GrCCAtlas.cpp", 621 "$_src/gpu/ccpr/GrCCAtlas.h",
|
/external/skqp/ |
D | Android.bp | 915 "src/gpu/ccpr/GrCCAtlas.cpp",
|
/external/skia/ |
D | Android.bp | 535 "src/gpu/ccpr/GrCCAtlas.cpp", 1519 "src/gpu/ccpr/GrCCAtlas.cpp",
|