HomeSort by relevance Sort by last modified time
    Searched full:fresource (Results 1 - 16 of 16) sorted by null

  /external/skia/src/gpu/
GrGpuResourceCacheAccess.h 28 return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() &&
29 SkBudgeted::kYes == fResource->resourcePriv().isBudgeted();
36 fResource->release();
37 if (fResource->isPurgeable()) {
38 delete fResource;
46 fResource->abandon();
47 if (fResource->isPurgeable()) {
48 delete fResource;
53 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key;
    [all...]
GrGpuResourceRef.cpp 11 fResource = nullptr;
17 fResource = nullptr;
25 SkASSERT(fResource);
26 fResource->unref();
31 fResource->completedRead();
34 fResource->completedWrite();
37 fResource->completedRead();
38 fResource->completedWrite();
46 SkASSERT(SkToBool(fResource) == fOwnRef);
48 fResource->unref()
    [all...]
GrGpuResourcePriv.h 25 void setUniqueKey(const GrUniqueKey& key) { fResource->setUniqueKey(key); }
29 void removeUniqueKey() { fResource->removeUniqueKey(); }
35 void makeBudgeted() { fResource->makeBudgeted(); }
41 void makeUnbudgeted() { fResource->makeUnbudgeted(); }
47 bool ret = SkBudgeted::kYes == fResource->fBudgeted;
48 SkASSERT(ret || !fResource->getUniqueKey().isValid() || fResource->fRefsWrappedObjects);
55 bool refsWrappedObjects() const { return fResource->fRefsWrappedObjects; }
62 const GrScratchKey& getScratchKey() const { return fResource->fScratchKey; }
68 void removeScratchKey() const { fResource->removeScratchKey();
    [all...]
GrGpuResourceRef.h 39 GrGpuResource* getResource() const { return fResource; }
82 GrGpuResource* fResource;
176 GrPendingIOResource(T* resource = NULL) : fResource(NULL) {
200 fResource = resource;
207 explicit operator bool() const { return SkToBool(fResource); }
210 return fResource == other.fResource;
213 T* get() const { return fResource; }
217 if (fResource) {
220 fResource->completedRead()
    [all...]
GrResourceCache.h 28 GrGpuResource* fResource;
GrResourceCache.cpp 600 msgs[i].fResource->unref();
  /external/skia/src/gpu/vk/
GrVkSemaphore.cpp 44 fResource = new Resource(semaphore, isOwned);
49 fResource->unref(static_cast<const GrVkGpu*>(fGpu));
51 fResource->unrefAndAbandon();
63 backendSemaphore->initVulkan(fResource->semaphore());
GrVkImage.cpp 133 fResource = new Resource(image, alloc, tiling);
138 SkASSERT(!fResource);
142 if (fResource) {
143 fResource->unref(gpu);
144 fResource = nullptr;
149 if (fResource) {
150 fResource->unrefAndAbandon();
151 fResource = nullptr;
157 fResource->setRelease(proc, ctx);
GrVkBuffer.h 25 SkASSERT(!fResource);
29 VkBuffer buffer() const { return fResource->fBuffer; }
30 const GrVkAlloc& alloc() const { return fResource->fAlloc; }
31 const GrVkRecycledResource* resource() const { return fResource; }
85 : fDesc(desc), fResource(resource), fOffset(0), fMapPtr(nullptr) {
115 const Resource* fResource;
GrVkBuffer.cpp 113 fResource->recycle(const_cast<GrVkGpu*>(gpu));
114 fResource = nullptr;
123 fResource->unrefAndAbandon();
124 fResource = nullptr;
150 if (!fResource->unique()) {
153 fResource->recycle(gpu);
154 fResource = this->createResource(gpu, fDesc);
229 SkASSERT(!fResource || kVertex_Type == fDesc.fType || kIndex_Type == fDesc.fType
GrVkSemaphore.h 52 const Resource* getResource() const { return fResource; }
59 const Resource* fResource;
GrVkImage.h 36 fResource = new BorrowedResource(info.fImage, info.fAlloc, info.fImageTiling);
38 fResource = new Resource(info.fImage, info.fAlloc, info.fImageTiling);
47 const Resource* resource() const { return fResource; }
170 const Resource* fResource;
GrVkRenderTarget.h 46 return fMSAAImage->fResource;
  /external/icu/icu4c/source/common/
resbund.cpp 181 fResource = ures_open(0, Locale::getDefault().getName(), &err);
189 if (other.fResource) {
190 fResource = ures_copyResb(0, other.fResource, &status);
193 fResource = NULL;
201 fResource = ures_copyResb(0, res, &err);
204 fResource = NULL;
211 fResource = ures_open(path, locale.getName(), &err);
220 if(fResource != 0) {
221 ures_close(fResource);
    [all...]
resbund_cnv.cpp 48 fResource = ures_open(NULL, locale.getName(), &error);
53 fResource = ures_openU(nullTerminatedPath.getBuffer(), locale.getName(), &error);
  /external/icu/icu4c/source/common/unicode/
resbund.h 486 UResourceBundle *fResource;

Completed in 380 milliseconds