Home
last modified time | relevance | path

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

/third_party/skia/src/core/
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()
DSkYUVPlanesCache.h26 static SkCachedData* FindAndRef(uint32_t genID,
34 static void Add(uint32_t genID, SkCachedData* data, const SkYUVAPixmaps& pixmaps,
DSkPixelRef.cpp114 void SkPixelRef::setImmutableWithID(uint32_t genID) { in setImmutableWithID() argument
122 fTaggedGenID.store(genID); in setImmutableWithID()
DSkBitmapCache.h37 static SkBitmapCacheDesc Make(uint32_t genID, const SkIRect& subset);
DSkPathRef.cpp472 uint32_t SkPathRef::genID() const { in genID() function in SkPathRef
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/
DXContext.cpp114 } else if (!x->genID()) { in onPush()
120 SkASSERT(x->genID()); in onPush()
135 Xform::GenID parentID = parent ? parent->genID() : 0; in onDrawRect()
139 SkASSERT(x->genID() != parentID || (x->genID() == 0 && parentID == 0)); in onDrawRect()
140 if (x->genID() <= parentID) { // x is out of date in onDrawRect()
144 SkASSERT(x->genID() > parentID); in onDrawRect()
DSkXform.h44 GenID genID() const { return fGenID; } in genID() function
/third_party/skia/tests/
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/
DGrDrawOpAtlas.h107 uint64_t genID() const { return fGenID; } in genID() function
137 uint64_t genID() const { return fPlotLocator.genID(); } in genID() function
301 uint64_t plotGeneration = fPages[page].fPlotArray[plot]->genID(); in hasID()
302 uint64_t locatorGeneration = plotLocator.genID(); in hasID()
432 uint64_t genID() const { return fGenID; } in genID() function
/third_party/skia/src/gpu/v1/
DClipStack.cpp373 uint32_t genID, in render_stencil_mask() argument
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()
[all …]
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()
DStencilMaskHelper.h44 bool init(const SkIRect& maskBounds, uint32_t genID,
DClipStack.h181 uint32_t genID() const { return fGenID; } in genID() function
224 uint32_t genID() const;
/third_party/skia/include/core/
DSkPixelRef.h117 void setImmutableWithID(uint32_t genID);
/third_party/skia/include/private/
DSkPathRef.h354 uint32_t genID() const;