Searched refs:fProxies (Results 1 – 13 of 13) sorted by relevance
/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/skia/gm/ |
D | yuvtorgbsubset.cpp | 105 fProxies = GrYUVATextureProxies(fPixmaps.yuvaInfo(), views, colorTypes); in onGpuSetup() 106 if (!fProxies.isValid()) { in onGpuSetup() 113 void onGpuTeardown() override { fProxies = {}; } in onGpuTeardown() 124 SkRect rect = SkRect::Make(fProxies.yuvaInfo().dimensions()); in onDraw() 125 rect = rect.makeOutset(fProxies.yuvaInfo().width()/2.f, fProxies.yuvaInfo().height()/2.f); in onDraw() 147 GrYUVtoRGBEffect::Make(fProxies, samplerState, caps, SkMatrix::I(), subset); in onDraw() 165 GrYUVATextureProxies fProxies; member in skiagm::YUVtoRGBSubsetEffect
|
/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/ |
D | GrYUVATextureProxies.h | 52 GrSurfaceProxy* proxy(int i) const { return fProxies[i].get(); } in proxy() 55 return fProxies; in proxies() 58 sk_sp<GrSurfaceProxy> refProxy(int i) const { return fProxies[i]; } in refProxy() 61 return {fProxies[i], fTextureOrigin, GrSwizzle::RGBA()}; in makeView() 69 std::array<sk_sp<GrSurfaceProxy>, SkYUVAInfo::kMaxPlanes> fProxies;
|
D | GrYUVATextureProxies.cpp | 64 fProxies[i] = std::move(proxies[i]); in GrYUVATextureProxies() 122 fProxies[i] = views[i].detachProxy(); in GrYUVATextureProxies()
|
/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/skqp/tests/ |
D | DrawOpAtlasTest.cpp | 50 if (fProxies[i]->isInstantiated()) { in numAllocated_TestingOnly()
|