/external/skia/src/gpu/ |
D | GrDeinstantiateProxyTracker.cpp | 17 for (int i = 0; i < fProxies.count(); ++i) { in addProxy() 18 SkASSERT(proxy != fProxies[i].get()); in addProxy() 21 fProxies.push_back(sk_ref_sp(proxy)); in addProxy() 25 for (int i = 0; i < fProxies.count(); ++i) { in deinstantiateAllProxies() 26 GrSurfaceProxy* proxy = fProxies[i].get(); in deinstantiateAllProxies() 31 fProxies.reset(); in deinstantiateAllProxies()
|
D | GrDrawOpAtlas.cpp | 32 SkASSERT(fProxies[i] && fProxies[i]->isInstantiated()); in instantiate() 224 GrTextureProxy* proxy = fProxies[pageIdx].get(); in updatePlot() 239 SkASSERT(fProxies[pageIdx] && fProxies[pageIdx]->isInstantiated()); in uploadToPage() 246 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in uploadToPage() 292 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in addToAtlas() 347 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == newPlot->bpp()); in addToAtlas() 356 GrTextureProxy* proxy = fProxies[pageIdx].get(); in addToAtlas() 527 fProxies[i] = proxyProvider->createProxy(fFormat, desc, kTopLeft_GrSurfaceOrigin, in createPages() 529 if (!fProxies[i]) { in createPages() 558 if (!fProxies[fNumActivePages]->instantiate(resourceProvider)) { in activateNewPage() [all …]
|
D | GrProcessorUnitTest.h | 59 fProxies[0] = proxies[0]; in GrProcessorTestData() 60 fProxies[1] = proxies[1]; in GrProcessorTestData() 69 sk_sp<GrTextureProxy> textureProxy(int index) { return fProxies[index]; } in textureProxy() 73 sk_sp<GrTextureProxy> fProxies[2]; member
|
D | GrDeinstantiateProxyTracker.h | 26 SkTArray<sk_sp<GrSurfaceProxy>> fProxies;
|
D | GrDrawOpAtlas.h | 128 const sk_sp<GrTextureProxy>* getProxies() const { return fProxies; } in getProxies() 413 sk_sp<GrTextureProxy> fProxies[kMaxMultitexturePages]; variable
|
D | GrImageTextureMaker.cpp | 116 auto fp = GrYUVtoRGBEffect::Make(fImage->fProxies, fImage->fYUVAIndices, in createFragmentProcessor()
|
/external/skqp/src/gpu/ |
D | GrDeinstantiateProxyTracker.cpp | 17 for (int i = 0; i < fProxies.count(); ++i) { in addProxy() 18 SkASSERT(proxy != fProxies[i].get()); in addProxy() 21 fProxies.push_back(sk_ref_sp(proxy)); in addProxy() 25 for (int i = 0; i < fProxies.count(); ++i) { in deinstantiateAllProxies() 26 GrSurfaceProxy* proxy = fProxies[i].get(); in deinstantiateAllProxies() 31 fProxies.reset(); in deinstantiateAllProxies()
|
D | GrDrawOpAtlas.cpp | 32 SkASSERT(fProxies[i] && fProxies[i]->isInstantiated()); in instantiate() 224 GrTextureProxy* proxy = fProxies[pageIdx].get(); in updatePlot() 239 SkASSERT(fProxies[pageIdx] && fProxies[pageIdx]->isInstantiated()); in uploadToPage() 246 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in uploadToPage() 292 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == plot->bpp()); in addToAtlas() 347 SkASSERT(GrBytesPerPixel(fProxies[pageIdx]->config()) == newPlot->bpp()); in addToAtlas() 356 GrTextureProxy* proxy = fProxies[pageIdx].get(); in addToAtlas() 527 fProxies[i] = proxyProvider->createProxy(fFormat, desc, kTopLeft_GrSurfaceOrigin, in createPages() 529 if (!fProxies[i]) { in createPages() 558 if (!fProxies[fNumActivePages]->instantiate(resourceProvider)) { in activateNewPage() [all …]
|
D | GrProcessorUnitTest.h | 59 fProxies[0] = proxies[0]; in GrProcessorTestData() 60 fProxies[1] = proxies[1]; in GrProcessorTestData() 69 sk_sp<GrTextureProxy> textureProxy(int index) { return fProxies[index]; } in textureProxy() 73 sk_sp<GrTextureProxy> fProxies[2]; member
|
D | GrDeinstantiateProxyTracker.h | 26 SkTArray<sk_sp<GrSurfaceProxy>> fProxies;
|
D | GrDrawOpAtlas.h | 128 const sk_sp<GrTextureProxy>* getProxies() const { return fProxies; } in getProxies() 413 sk_sp<GrTextureProxy> fProxies[kMaxMultitexturePages]; variable
|
D | GrImageTextureMaker.cpp | 114 return GrYUVtoRGBEffect::Make(fImage->fProxies, fImage->fYUVAIndices, in createFragmentProcessor()
|
/external/skqp/src/gpu/ops/ |
D | GrTextureOp.cpp | 131 fProxies[p].fProxy->completedRead(); in ~TextureOp() 133 fProxies[p].fProxy->unref(); in ~TextureOp() 145 func(fProxies[p].fProxy); in visitProxies() 155 str.appendf("Proxy ID: %d, Filter: %d\n", fProxies[p].fProxy->uniqueID().asUInt(), in dumpInfo() 157 for (int i = 0; i < fProxies[p].fQuadCnt; ++i, ++q) { in dumpInfo() 179 fProxies[p].fProxy->addPendingRead(); in finalize() 180 fProxies[p].fProxy->unref(); in finalize() 235 fProxies[0] = {proxy.release(), 1}; in TextureOp() 241 static_cast<unsigned>(fProxies[0].fProxy->canSkipResourceAllocator()); in TextureOp() 260 fProxies[p].fProxy = SkRef(set[p].fProxy.get()); in TextureOp() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrTextureOp.cpp | 187 fProxies[p].fProxy->completedRead(); in ~TextureOp() 189 fProxies[p].fProxy->unref(); in ~TextureOp() 201 func(fProxies[p].fProxy); in visitProxies() 211 str.appendf("Proxy ID: %d, Filter: %d\n", fProxies[p].fProxy->uniqueID().asUInt(), in dumpInfo() 213 for (int i = 0; i < fProxies[p].fQuadCnt; ++i, ++q) { in dumpInfo() 236 fProxies[p].fProxy->addPendingRead(); in finalize() 237 fProxies[p].fProxy->unref(); in finalize() 291 fProxies[0] = {proxy.release(), 1}; in TextureOp() 297 static_cast<unsigned>(fProxies[0].fProxy->canSkipResourceAllocator()); in TextureOp() 317 fProxies[p].fProxy = SkRef(set[p].fProxy.get()); in TextureOp() [all …]
|
/external/skqp/src/image/ |
D | SkImage_GpuYUVA.cpp | 46 fProxies[i] = std::move(proxies[i]); in SkImage_GpuYUVA() 68 fProxies[i] = image->fProxies[i]; // we ref in this case, not move in SkImage_GpuYUVA() 84 int mipCount = SkMipMap::ComputeLevelCount(fProxies[i]->width(), fProxies[i]->height()); in setupMipmapsForPlanes() 86 fProxies[i].get(), in setupMipmapsForPlanes() 89 auto mippedProxy = GrCopyBaseMipMapToTextureProxy(fContext.get(), fProxies[i].get()); in setupMipmapsForPlanes() 93 fProxies[i] = mippedProxy; in setupMipmapsForPlanes() 117 fProxies, fYUVAIndices)) { in asTextureProxyRef()
|
D | SkImage_GpuYUVA.h | 37 virtual bool onIsTextureBacked() const override { return SkToBool(fProxies[0].get()); } in onIsTextureBacked() 46 proxies[i] = fProxies[i]; in asYUVATextureProxiesRef() 83 mutable sk_sp<GrTextureProxy> fProxies[4]; variable
|
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 48 fProxies[i] = std::move(proxies[i]); in SkImage_GpuYUVA() 70 fProxies[i] = image->fProxies[i]; // we ref in this case, not move in SkImage_GpuYUVA() 90 int mipCount = SkMipMap::ComputeLevelCount(fProxies[i]->width(), fProxies[i]->height()); in setupMipmapsForPlanes() 92 fProxies[i].get(), in setupMipmapsForPlanes() 95 auto mippedProxy = GrCopyBaseMipMapToTextureProxy(context, fProxies[i].get()); in setupMipmapsForPlanes() 99 fProxies[i] = mippedProxy; in setupMipmapsForPlanes() 136 std::move(colorSpaceXform), fProxies, fYUVAIndices)) { in asTextureProxyRef()
|
D | SkImage_GpuYUVA.h | 39 virtual bool onIsTextureBacked() const override { return SkToBool(fProxies[0].get()); } in onIsTextureBacked() 49 proxies[i] = fProxies[i]; in asYUVATextureProxiesRef() 83 mutable sk_sp<GrTextureProxy> fProxies[4]; variable
|
/external/skia/tests/ |
D | DrawOpAtlasTest.cpp | 50 if (fProxies[i]->isInstantiated()) { in numAllocated_TestingOnly()
|
/external/skqp/tests/ |
D | DrawOpAtlasTest.cpp | 50 if (fProxies[i]->isInstantiated()) { in numAllocated_TestingOnly()
|