Searched refs:fViews (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 52 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 …]
|
D | SkImage_GpuYUVA.h | 40 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/ |
D | GrProcessorUnitTest.cpp | 21 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()
|
D | GrDrawOpAtlas.cpp | 38 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()
|
D | GrDrawOpAtlas.h | 167 const GrSurfaceProxyView* getViews() const { return fViews; } in getViews() 447 GrSurfaceProxyView fViews[kMaxMultitexturePages]; variable
|
D | GrImageTextureMaker.cpp | 122 auto fp = GrYUVtoRGBEffect::Make(fImage->fViews, fImage->fYUVAIndices, fImage->fYUVColorSpace, in createFragmentProcessor()
|
D | GrProcessorUnitTest.h | 71 SkTArray<ViewInfo> fViews; variable
|
/external/skia/tests/ |
D | DrawOpAtlasTest.cpp | 53 if (fViews[i].proxy()->isInstantiated()) { in numAllocated_TestingOnly()
|