Searched refs:fResource (Results 1 – 15 of 15) sorted by relevance
11 fResource = nullptr; in GrGpuResourceRef()17 fResource = nullptr; in GrGpuResourceRef()25 SkASSERT(fResource); in ~GrGpuResourceRef()26 fResource->unref(); in ~GrGpuResourceRef()31 fResource->completedRead(); in ~GrGpuResourceRef()34 fResource->completedWrite(); in ~GrGpuResourceRef()37 fResource->completedRead(); in ~GrGpuResourceRef()38 fResource->completedWrite(); in ~GrGpuResourceRef()46 SkASSERT(SkToBool(fResource) == fOwnRef); in reset()48 fResource->unref(); in reset()[all …]
28 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && in isScratch()29 SkBudgeted::kYes == fResource->resourcePriv().isBudgeted(); in isScratch()36 fResource->release(); in release()37 if (fResource->isPurgeable()) { in release()38 delete fResource; in release() local46 fResource->abandon(); in abandon()47 if (fResource->isPurgeable()) { in abandon()48 delete fResource; in abandon() local53 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key; } in setUniqueKey()56 void removeUniqueKey() { fResource->fUniqueKey.reset(); } in removeUniqueKey()[all …]
25 void setUniqueKey(const GrUniqueKey& key) { fResource->setUniqueKey(key); } in setUniqueKey()29 void removeUniqueKey() { fResource->removeUniqueKey(); } in removeUniqueKey()35 void makeBudgeted() { fResource->makeBudgeted(); } in makeBudgeted()41 void makeUnbudgeted() { fResource->makeUnbudgeted(); } in makeUnbudgeted()47 bool ret = SkBudgeted::kYes == fResource->fBudgeted; in isBudgeted()48 SkASSERT(ret || !fResource->getUniqueKey().isValid()); in isBudgeted()55 bool refsWrappedObjects() const { return fResource->fRefsWrappedObjects; } in refsWrappedObjects()62 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; } in getScratchKey()68 void removeScratchKey() const { fResource->removeScratchKey(); } in removeScratchKey()71 ResourcePriv(GrGpuResource* resource) : fResource(resource) { } in ResourcePriv()[all …]
181 fResource = ures_open(0, Locale::getDefault().getName(), &err); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()189 if (other.fResource) { in ResourceBundle()190 fResource = ures_copyResb(0, other.fResource, &status); in ResourceBundle()193 fResource = NULL; in ResourceBundle()201 fResource = ures_copyResb(0, res, &err); in ResourceBundle()204 fResource = NULL; in ResourceBundle()211 fResource = ures_open(path, locale.getName(), &err); in ResourceBundle()220 if(fResource != 0) { in operator =()221 ures_close(fResource); in operator =()222 fResource = NULL; in operator =()[all …]
48 fResource = ures_open(NULL, locale.getName(), &error); in constructForLocale()53 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error); in constructForLocale()
41 GrGpuResource* getResource() const { return fResource; } in getResource()84 GrGpuResource* fResource; variable162 GrPendingIOResource(T* resource = NULL) : fResource(NULL) { in fResource() function182 fResource = resource; in reset()189 explicit operator bool() const { return SkToBool(fResource); }192 return fResource == other.fResource;195 T* get() const { return fResource; } in get()199 if (fResource) { in release()202 fResource->completedRead(); in release()205 fResource->completedWrite(); in release()[all …]
133 fResource = new Resource(image, alloc, tiling); in setNewResource()138 SkASSERT(!fResource); in ~GrVkImage()142 if (fResource) { in releaseImage()143 fResource->unref(gpu); in releaseImage()144 fResource = nullptr; in releaseImage()149 if (fResource) { in abandonImage()150 fResource->unrefAndAbandon(); in abandonImage()151 fResource = nullptr; in abandonImage()
25 SkASSERT(!fResource); in ~GrVkBuffer()29 VkBuffer buffer() const { return fResource->fBuffer; } in buffer()30 const GrVkAlloc& alloc() const { return fResource->fAlloc; } in alloc()31 const GrVkRecycledResource* resource() const { return fResource; } in resource()84 : fDesc(desc), fResource(resource), fOffset(0), fMapPtr(nullptr) { in GrVkBuffer()114 const Resource* fResource; variable
111 fResource->recycle(const_cast<GrVkGpu*>(gpu)); in vkRelease()112 fResource = nullptr; in vkRelease()121 fResource->unrefAndAbandon(); in vkAbandon()122 fResource = nullptr; in vkAbandon()148 if (!fResource->unique()) { in internalMap()151 fResource->recycle(gpu); in internalMap()152 fResource = this->createResource(gpu, fDesc); in internalMap()227 SkASSERT(!fResource || kVertex_Type == fDesc.fType || kIndex_Type == fDesc.fType in validate()
32 fResource = new Resource(semaphore); in GrVkSemaphore()37 fResource->unref(static_cast<const GrVkGpu*>(fGpu)); in ~GrVkSemaphore()39 fResource->unrefAndAbandon(); in ~GrVkSemaphore()
36 fResource = new BorrowedResource(info.fImage, info.fAlloc, info.fImageTiling); in GrVkImage()38 fResource = new Resource(info.fImage, info.fAlloc, info.fImageTiling); in GrVkImage()47 const Resource* resource() const { return fResource; } in resource()136 const Resource* fResource; variable
45 const Resource* getResource() const { return fResource; } in getResource()50 const Resource* fResource; variable
46 return fMSAAImage->fResource; in msaaImageResource()
486 UResourceBundle *fResource; variable
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...