Home
last modified time | relevance | path

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

12

/external/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.cpp349 uint32_t genID = fPathRef->genID(); in getGenerationID() local
352 genID |= static_cast<uint32_t>(fFillType) << SkPathPriv::kPathRefGenIDBitCnt; in getGenerationID()
354 return genID; in getGenerationID()
/external/skqp/src/core/
DSkYUVPlanesCache.cpp24 YUVPlanesKey(uint32_t genID) in YUVPlanesKey()
25 : fGenID(genID) in YUVPlanesKey()
27 this->init(&gYUVPlanesKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(genID), in YUVPlanesKey()
28 sizeof(genID)); in YUVPlanesKey()
73 SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info, in FindAndRef() argument
76 YUVPlanesKey key(genID); in FindAndRef()
85 void SkYUVPlanesCache::Add(uint32_t genID, SkCachedData* data, Info* info, in Add() argument
87 YUVPlanesKey key(genID); in Add()
DSkYUVPlanesCache.h37 static SkCachedData* FindAndRef(uint32_t genID, Info* info,
43 static void Add(uint32_t genID, SkCachedData* data, Info* info,
DSkPixelRef.cpp115 void SkPixelRef::setImmutableWithID(uint32_t genID) { in setImmutableWithID() argument
123 fTaggedGenID.store(genID); in setImmutableWithID()
DSkBitmapCache.h37 static SkBitmapCacheDesc Make(uint32_t genID, const SkIRect& subset);
/external/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
/external/skqp/tests/
DYUVCacheTest.cpp47 const uint32_t genID = 12345678; in DEF_TEST() local
49 SkCachedData* data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfo, &cache); in DEF_TEST()
56 SkYUVPlanesCache::Add(genID, data, &yuvInfo, &cache); in DEF_TEST()
63 data = SkYUVPlanesCache::FindAndRef(genID, &yuvInfoRead, &cache); in DEF_TEST()
/external/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()
/external/skia/src/gpu/
DGrDrawOpAtlas.h103 uint64_t genID() const { return fGenID; } in genID() function
133 uint64_t genID() const { return fPlotLocator.genID(); } in genID() function
268 uint64_t plotGeneration = fPages[page].fPlotArray[plot]->genID(); in hasID()
269 uint64_t locatorGeneration = plotLocator.genID(); in hasID()
392 uint64_t genID() const { return fGenID; } in genID() function
DGrClipStack.cpp385 uint32_t genID, const SkIRect& bounds, in render_stencil_mask() argument
389 if (helper.init(bounds, genID, out->windowRectsState().windows(), 0)) { in render_stencil_mask()
405 out->hardClip().addStencilClip(genID); in render_stencil_mask()
752 , fGenID(current.genID()) { in Mask()
772 SkASSERT(fGenID != current.genID() || &current == fOwner); in appliesToDraw()
773 return fGenID == current.genID() && fBounds.contains(drawBounds); in appliesToDraw()
819 uint32_t GrClipStack::SaveRecord::genID() const { in genID() function in GrClipStack::SaveRecord
877 SkASSERT(masks->empty() || masks->back().genID() != fGenID); in invalidateMasks()
1491 render_stencil_mask(context, rtc, cs.genID(), scissorBounds, in apply()
1587 SkDEBUGCODE(uint32_t oldGenID = save.genID();) in clip()
[all …]
DGrStencilMaskHelper.h46 bool init(const SkIRect& maskBounds, uint32_t genID,
DGrStencilMaskHelper.cpp337 bool GrStencilMaskHelper::init(const SkIRect& bounds, uint32_t genID, in init() argument
339 if (!fRTC->mustRenderClip(genID, bounds, numFPs)) { in init()
343 fClip.setStencilClip(genID); in init()
DGrClipStack.h184 uint32_t genID() const { return fGenID; } in genID() function
227 uint32_t genID() const;
/external/skqp/src/gpu/
DGrDrawOpAtlas.h140 return fPages[page].fPlotArray[plot]->genID() == GetGenerationFromID(id); in hasID()
270 uint64_t genID() const { return fGenID; } in genID() function
299 … Plot(int pageIndex, int plotIndex, uint64_t genID, int offX, int offY, int width, int height,
DGrDrawOpAtlas.cpp58 GrDrawOpAtlas::Plot::Plot(int pageIndex, int plotIndex, uint64_t genID, int offX, int offY, in Plot() argument
65 , fGenID(genID) in Plot()
/external/skqp/include/core/
DSkPixelRef.h123 void setImmutableWithID(uint32_t genID);
/external/skia/include/core/
DSkPixelRef.h117 void setImmutableWithID(uint32_t genID);
/external/skia/include/private/
DSkPathRef.h354 uint32_t genID() const;
/external/skqp/include/private/
DSkPathRef.h309 uint32_t genID() const;

12