Home
last modified time | relevance | path

Searched refs:GrCCAtlas (Results 1 – 22 of 22) sorted by relevance

/external/skqp/src/gpu/ccpr/
DGrCCAtlas.h30 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 …]
DGrCCAtlas.cpp22 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 …]
DGrCCPerFlushResources.h46 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,
DGrCCPerFlushResources.cpp162 , 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()
DGrCCPathCache.h232 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;
DGrCCPathCache.cpp234 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()
DGrCCDrawPathsOp.cpp220 using CoverageType = GrCCAtlas::CoverageType; in accountForOwnPath()
339 SkASSERT(GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources()
345 fColor = (GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources()
DGrCCDrawPathsOp.h19 class GrCCAtlas; variable
/external/skia/src/gpu/ccpr/
DGrCCAtlas.cpp14 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()
DGrCCPerFlushResources.h23 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;
DGrCCAtlas.h19 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()
DGrCCClipPath.cpp21 , 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()
DGrCCPerFlushResources.cpp21 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()
DGrCCClipPath.h36 void accountForOwnPath(GrCCAtlas::Specs*) const;
44 std::unique_ptr<GrCCAtlas> renderPathInAtlas(GrCCPerFlushResources*,
DGrCCClipProcessor.cpp17 return { sk_ref_sp(proxy), GrCCAtlas::kTextureOrigin, swizzle }; in make_view()
DGrCoverageCountingPathRenderer.cpp159 GrCCAtlas::Specs specs; in preFlush()
/external/skqp/include/private/
DGrCCClipPath.h15 class GrCCAtlas; variable
72 const GrCCAtlas* fAtlas = nullptr;
/external/skqp/gn/
Dgpu.gni523 "$_src/gpu/ccpr/GrCCAtlas.cpp",
524 "$_src/gpu/ccpr/GrCCAtlas.h",
/external/skqp/tests/
DGrCCPRTest.cpp589 using CoverageType = GrCCAtlas::CoverageType; in onRun()
/external/skia/gn/
Dgpu.gni620 "$_src/gpu/ccpr/GrCCAtlas.cpp",
621 "$_src/gpu/ccpr/GrCCAtlas.h",
/external/skqp/
DAndroid.bp915 "src/gpu/ccpr/GrCCAtlas.cpp",
/external/skia/
DAndroid.bp535 "src/gpu/ccpr/GrCCAtlas.cpp",
1519 "src/gpu/ccpr/GrCCAtlas.cpp",