Home
last modified time | relevance | path

Searched refs:fViews (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/image/
DSkImage_GpuYUVA.cpp52 fViews[i] = std::move(views[i]); in SkImage_GpuYUVA()
80 fViews[i] = image->fViews[i]; // we ref in this case, not move in SkImage_GpuYUVA()
89 SkASSERT(fViews[0].proxy() && !fRGBView.proxy()); in setupMipmapsForPlanes()
96 int mipCount = SkMipMap::ComputeLevelCount(fViews[i].proxy()->width(), in setupMipmapsForPlanes()
97 fViews[i].proxy()->height()); in setupMipmapsForPlanes()
99 fViews[i].asTextureProxy(), in setupMipmapsForPlanes()
102 auto mippedView = GrCopyBaseMipMapToTextureProxy(context, fViews[i].asTextureProxy(), in setupMipmapsForPlanes()
107 fViews[i] = std::move(mippedView); in setupMipmapsForPlanes()
120 GrSurfaceProxy* proxies[4] = {fViews[0].proxy(), fViews[1].proxy(), fViews[2].proxy(), in onFlush()
121 fViews[3].proxy()}; in onFlush()
[all …]
DSkImage_GpuYUVA.h40 SkASSERT(fViews[0].proxy() || fRGBView.proxy()); in onIsTextureBacked()
59 SkASSERT(SkToBool(fRGBView.proxy()) != SkToBool(fViews[0].proxy())); in testingOnly_IsFlattened()
89 mutable GrSurfaceProxyView fViews[4]; variable
/external/skia/src/gpu/
DGrProcessorUnitTest.cpp21 fViews.reset(views, numViews); in GrProcessorTestData()
34 SkASSERT(!fViews.empty()); in randomView()
35 return fViews[fRandom->nextULessThan(fViews.count())]; in randomView()
40 for (const auto& [v, ct, at] : fViews) { in randomAlphaOnlyView()
47 for (const auto& [v, ct, at] : fViews) { in randomAlphaOnlyView()
DGrDrawOpAtlas.cpp38 SkASSERT(fViews[i].proxy() && fViews[i].proxy()->isInstantiated()); in instantiate()
257 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); in updatePlot()
273 SkASSERT(fViews[pageIdx].proxy() && fViews[pageIdx].proxy()->isInstantiated()); in uploadToPage()
280 SkASSERT(caps.bytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == plot->bpp()); in uploadToPage()
329 SkASSERT(caps.bytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == in addToAtlas()
386 SkASSERT(caps.bytesPerPixel(fViews[pageIdx].proxy()->backendFormat()) == newPlot->bpp()); in addToAtlas()
395 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); in addToAtlas()
571 fViews[i] = GrSurfaceProxyView(std::move(proxy), kTopLeft_GrSurfaceOrigin, swizzle); in createPages()
598 if (!fViews[fNumActivePages].proxy()->instantiate(resourceProvider)) { in activateNewPage()
638 fViews[lastPageIndex].proxy()->deinstantiate(); in deactivateLastPage()
DGrDrawOpAtlas.h167 const GrSurfaceProxyView* getViews() const { return fViews; } in getViews()
447 GrSurfaceProxyView fViews[kMaxMultitexturePages]; variable
DGrImageTextureMaker.cpp122 auto fp = GrYUVtoRGBEffect::Make(fImage->fViews, fImage->fYUVAIndices, fImage->fYUVColorSpace, in createFragmentProcessor()
DGrProcessorUnitTest.h71 SkTArray<ViewInfo> fViews; variable
/external/skia/tests/
DDrawOpAtlasTest.cpp53 if (fViews[i].proxy()->isInstantiated()) { in numAllocated_TestingOnly()