Home
last modified time | relevance | path

Searched refs:genID (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/src/core/
H A DSkYUVPlanesCache.cpp27 YUVPlanesKey(uint32_t genID) in YUVPlanesKey()
28 : fGenID(genID) in YUVPlanesKey()
30 this->init(&gYUVPlanesKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(genID), in YUVPlanesKey()
31 sizeof(genID)); in YUVPlanesKey()
76 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, in FindAndRef() argument
80 YUVPlanesKey key(genID); in FindAndRef()
89 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps, in Add() argument
91 YUVPlanesKey key(genID); in Add()
H A DSkYUVPlanesCache.h26 static SkCachedData* FindAndRef(uint32_t genID,
34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
H A DSkPixelRef.cpp85 // we need to be called *before* the genID gets changed or zerod
87 // We don't invalidate ourselves if we think another SkPixelRef is sharing our genID. in callGenIDChangeListeners()
114 void SkPixelRef::setImmutableWithID(uint32_t genID) { in setImmutableWithID() argument
116 * We are forcing the genID to match an external value. The caller must ensure that this in setImmutableWithID()
122 fTaggedGenID.store(genID); in setImmutableWithID()
H A DSkBitmapCache.h37 static SkBitmapCacheDesc Make(uint32_t genID, const SkIRect& subset);
H A DSkPathRef.cpp472 uint32_t SkPathRef::genID() const {
498 // we need to be called *before* the genID gets changed or zerod
H A DSkPath.cpp351 uint32_t genID = fPathRef->genID(); in getGenerationID() local
354 genID |= static_cast<uint32_t>(fFillType) << SkPathPriv::kPathRefGenIDBitCnt; in getGenerationID()
356 return genID; in getGenerationID()
/third_party/skia/experimental/xform/
H A DXContext.cpp114 } else if (!x->genID()) {
120 SkASSERT(x->genID());
135 Xform::GenID parentID = parent ? parent->genID() : 0;
139 SkASSERT(x->genID() != parentID || (x->genID() == 0 && parentID == 0));
140 if (x->genID() <= parentID) { // x is out of date
144 SkASSERT(x->genID() > parentID);
H A DSkXform.h44 GenID genID() const { return fGenID; } in genID() function in Xform
/third_party/skia/tests/
H A DYUVCacheTest.cpp44 const uint32_t genID = 12345678; in DEF_TEST() local
46 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvaPixmaps, &cache); in DEF_TEST()
57 SkYUVPlanesCache::Add(genID, data, yuvaPixmaps, &cache); in DEF_TEST()
64 data = SkYUVPlanesCache::FindAndRef(genID, &yuvaPixmapsRead, &cache); in DEF_TEST()
/third_party/skia/src/gpu/
H A DGrDrawOpAtlas.h107 uint64_t genID() const { return fGenID; }
137 uint64_t genID() const { return fPlotLocator.genID(); }
301 uint64_t plotGeneration = fPages[page].fPlotArray[plot]->genID();
302 uint64_t locatorGeneration = plotLocator.genID();
429 * genID() is incremented when the plot is evicted due to a atlas spill. It is used to know
432 uint64_t genID() const { return fGenID; }
/third_party/skia/src/gpu/v1/
H A DClipStack.cpp373 uint32_t genID, in render_stencil_mask()
379 if (helper.init(bounds, genID, out->windowRectsState().windows(), 0)) { in render_stencil_mask()
395 out->hardClip().addStencilClip(genID); in render_stencil_mask()
744 , fGenID(current.genID()) { in Mask()
764 SkASSERT(fGenID != current.genID() || &current == fOwner); in appliesToDraw()
765 return fGenID == current.genID() && fBounds.contains(drawBounds); in appliesToDraw()
811 uint32_t ClipStack::SaveRecord::genID() const { in genID() function in skgpu::v1::ClipStack::SaveRecord
869 SkASSERT(masks->empty() || masks->back().genID() != fGenID); in invalidateMasks()
1490 render_stencil_mask(rContext, sdc, cs.genID(), scissorBounds, in apply()
1570 SkDEBUGCODE(uint32_t oldGenID = save.genID();) in clip()
371 render_stencil_mask(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, uint32_t genID, const SkIRect& bounds, const skgpu::v1::ClipStack::Element** elements, int count, GrAppliedClip* out) render_stencil_mask() argument
[all...]
H A DStencilMaskHelper.h44 bool init(const SkIRect& maskBounds, uint32_t genID,
H A DStencilMaskHelper.cpp351 bool StencilMaskHelper::init(const SkIRect& bounds, uint32_t genID, in init() argument
353 if (!fSDC->mustRenderClip(genID, bounds, numFPs)) { in init()
357 fClip.setStencilClip(genID); in init()
H A DClipStack.h181 uint32_t genID() const { return fGenID; } in genID() function in skgpu::v1::final::Mask
224 uint32_t genID() const;
/third_party/skia/include/core/
H A DSkPixelRef.h117 void setImmutableWithID(uint32_t genID);
/third_party/skia/include/private/
H A DSkPathRef.h354 uint32_t genID() const;
411 /** Makes additional room but does not change the counts or change the genID */

Completed in 16 milliseconds