Home
last modified time | relevance | path

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

/external/skia/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.cpp23 class GrCCAtlas::Node {
52 GrCCAtlas::GrCCAtlas(CoverageType coverageType, const Specs& specs, const GrCaps& caps) in GrCCAtlas() function in GrCCAtlas
104 GrCCAtlas::~GrCCAtlas() { in ~GrCCAtlas()
107 bool GrCCAtlas::addRect(const SkIRect& devIBounds, SkIVector* offset) { in addRect()
122 bool GrCCAtlas::internalPlaceRect(int w, int h, SkIPoint16* loc) { in internalPlaceRect()
148 void GrCCAtlas::setFillBatchID(int id) { in setFillBatchID()
154 void GrCCAtlas::setStrokeBatchID(int id) { in setStrokeBatchID()
165 sk_sp<GrCCCachedAtlas> GrCCAtlas::refOrMakeCachedAtlas(GrOnFlushResourceProvider* onFlushRP) { in refOrMakeCachedAtlas()
184 sk_sp<GrRenderTargetContext> GrCCAtlas::makeRenderTargetContext( in makeRenderTargetContext()
213 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.cpp165 , fCopyAtlasStack(GrCCAtlas::CoverageType::kA8_LiteralCoverage, specs.fCopyAtlasSpecs, in GrCCPerFlushResources()
167 , fRenderedAtlasStack(GrCCAtlas::CoverageType::kFP16_CoverageCount, in GrCCPerFlushResources()
206 if (GrCCAtlas::CoverageType::kA8_LiteralCoverage == cachedAtlas->coverageType()) { in upgradeEntryToLiteralCoverageAtlas()
214 if (GrCCAtlas* retiredAtlas = fCopyAtlasStack.addRect(entry->devIBounds(), &newAtlasOffset)) { in upgradeEntryToLiteralCoverageAtlas()
226 GrCCAtlas* newAtlas = &fCopyAtlasStack.current(); in upgradeEntryToLiteralCoverageAtlas()
335 GrCCAtlas* GrCCPerFlushResources::renderShapeInAtlas( in renderShapeInAtlas()
386 const GrCCAtlas* GrCCPerFlushResources::renderDeviceSpacePathInAtlas( in renderDeviceSpacePathInAtlas()
421 if (GrCCAtlas* retiredAtlas = in placeRenderedPathInAtlas()
514 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.cpp223 using CoverageType = GrCCAtlas::CoverageType; in accountForOwnPath()
342 SkASSERT(GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources()
348 fColor = (GrCCAtlas::CoverageType::kA8_LiteralCoverage in setupResources()
DGrCCDrawPathsOp.h17 class GrCCAtlas; variable
/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/include/private/
DGrCCClipPath.h15 class GrCCAtlas; variable
72 const GrCCAtlas* fAtlas = nullptr;
/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/skia/gn/
Dgpu.gni534 "$_src/gpu/ccpr/GrCCAtlas.cpp",
535 "$_src/gpu/ccpr/GrCCAtlas.h",
/external/skia/tests/
DGrCCPRTest.cpp590 using CoverageType = GrCCAtlas::CoverageType; in onRun()
/external/skqp/tests/
DGrCCPRTest.cpp589 using CoverageType = GrCCAtlas::CoverageType; in onRun()
/external/skqp/
DAndroid.bp876 "src/gpu/ccpr/GrCCAtlas.cpp",
/external/skia/
DAndroid.bp645 "src/gpu/ccpr/GrCCAtlas.cpp",