/external/skqp/src/gpu/ |
D | GrResourceProvider.cpp | 31 const uint32_t GrResourceProvider::kMinScratchTextureSize = 16; 42 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner, in GrResourceProvider() function in GrResourceProvider 64 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() 82 sk_sp<GrTexture> GrResourceProvider::getExactScratch(const GrSurfaceDesc& desc, in getExactScratch() 92 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture() 142 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() 164 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, in createApproxTexture() 203 sk_sp<GrTexture> GrResourceProvider::refScratchTexture(const GrSurfaceDesc& desc, Flags flags) { in refScratchTexture() 236 sk_sp<GrTexture> GrResourceProvider::wrapBackendTexture(const GrBackendTexture& tex, in wrapBackendTexture() 247 sk_sp<GrTexture> GrResourceProvider::wrapRenderableBackendTexture(const GrBackendTexture& tex, in wrapRenderableBackendTexture() [all …]
|
D | GrResourceProviderPriv.h | 21 explicit GrResourceProviderPriv(GrResourceProvider* provider) : fResourceProvider(provider) {} in GrResourceProviderPriv() 29 GrResourceProvider* fResourceProvider; 30 friend class GrResourceProvider; // to construct/copy this type variable 33 inline GrResourceProviderPriv GrResourceProvider::priv() { return GrResourceProviderPriv(this); } in priv() 35 inline const GrResourceProviderPriv GrResourceProvider::priv() const { in priv() 36 return GrResourceProviderPriv(const_cast<GrResourceProvider*>(this)); in priv()
|
D | GrProxyProvider.h | 18 class GrResourceProvider; variable 29 GrProxyProvider(GrResourceProvider*, GrResourceCache*, sk_sp<const GrCaps>, GrSingleOwner*); 141 using LazyInstantiateCallback = std::function<sk_sp<GrSurface>(GrResourceProvider*)>; 258 friend class GrResourceProvider; // for createWrapped variable 273 GrResourceProvider* fResourceProvider;
|
D | GrSurfaceProxy.cpp | 113 bool GrSurfaceProxyPriv::AttachStencilIfNeeded(GrResourceProvider* resourceProvider, in AttachStencilIfNeeded() 130 sk_sp<GrSurface> GrSurfaceProxy::createSurfaceImpl(GrResourceProvider* resourceProvider, in createSurfaceImpl() 146 GrResourceProvider::Flags resourceProviderFlags = GrResourceProvider::Flags::kNone; in createSurfaceImpl() 151 resourceProviderFlags = GrResourceProvider::Flags::kNoPendingIO; in createSurfaceImpl() 227 bool GrSurfaceProxy::instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, in instantiateImpl() 310 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fWidth)); in worstCaseWidth() 322 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fHeight)); in worstCaseHeight() 427 bool GrSurfaceProxyPriv::doLazyInstantiation(GrResourceProvider* resourceProvider) { in doLazyInstantiation()
|
D | GrSurfaceProxyPriv.h | 40 sk_sp<GrSurface> createSurface(GrResourceProvider* resourceProvider) const { in createSurface() 57 bool doLazyInstantiation(GrResourceProvider*); 69 static bool SK_WARN_UNUSED_RESULT AttachStencilIfNeeded(GrResourceProvider*, GrSurface*,
|
D | GrOpFlushState.h | 24 class GrResourceProvider; variable 32 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*, void* vertexSpace, 104 GrResourceProvider* resourceProvider() const final { return fResourceProvider; } in resourceProvider() 161 GrResourceProvider* fResourceProvider;
|
D | GrSurface.cpp | 23 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(desc.fWidth)) in WorstCaseSize() 26 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(desc.fHeight)) in WorstCaseSize() 70 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(width)) in ComputeSize() 73 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(height)) in ComputeSize()
|
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 28 const uint32_t GrResourceProvider::kMinScratchTextureSize = 16; 33 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner, in GrResourceProvider() function in GrResourceProvider 45 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() 63 sk_sp<GrTexture> GrResourceProvider::getExactScratch(const GrSurfaceDesc& desc, in getExactScratch() 73 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture() 123 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() 145 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, in createApproxTexture() 184 sk_sp<GrTexture> GrResourceProvider::refScratchTexture(const GrSurfaceDesc& desc, Flags flags) { in refScratchTexture() 217 sk_sp<GrTexture> GrResourceProvider::wrapBackendTexture(const GrBackendTexture& tex, in wrapBackendTexture() 228 sk_sp<GrTexture> GrResourceProvider::wrapRenderableBackendTexture(const GrBackendTexture& tex, in wrapRenderableBackendTexture() [all …]
|
D | GrResourceProviderPriv.h | 21 explicit GrResourceProviderPriv(GrResourceProvider* provider) : fResourceProvider(provider) {} in GrResourceProviderPriv() 29 GrResourceProvider* fResourceProvider; 30 friend class GrResourceProvider; // to construct/copy this type variable 33 inline GrResourceProviderPriv GrResourceProvider::priv() { return GrResourceProviderPriv(this); } in priv() 35 inline const GrResourceProviderPriv GrResourceProvider::priv() const { in priv() 36 return GrResourceProviderPriv(const_cast<GrResourceProvider*>(this)); in priv()
|
D | GrProxyProvider.cpp | 122 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in testingOnly_createInstantiatedProxy() 126 tex = resourceProvider->createApproxTexture(desc, GrResourceProvider::Flags::kNone); in testingOnly_createInstantiatedProxy() 128 tex = resourceProvider->createTexture(desc, budgeted, GrResourceProvider::Flags::kNone); in testingOnly_createInstantiatedProxy() 249 [desc, budgeted, srcImage, fit, surfaceFlags](GrResourceProvider* resourceProvider) { in createTextureProxy() 254 auto resourceProviderFlags = GrResourceProvider::Flags::kNone; in createTextureProxy() 256 resourceProviderFlags |= GrResourceProvider::Flags::kNoPendingIO; in createTextureProxy() 269 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in createTextureProxy() 352 [desc, baseLevel, mipmaps](GrResourceProvider* resourceProvider) { in createMipMapProxyFromBitmap() 384 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in createMipMapProxyFromBitmap() 440 [desc, data](GrResourceProvider* resourceProvider) { in createProxy() [all …]
|
D | GrSurfaceProxy.cpp | 110 bool GrSurfaceProxyPriv::AttachStencilIfNeeded(GrResourceProvider* resourceProvider, in AttachStencilIfNeeded() 127 sk_sp<GrSurface> GrSurfaceProxy::createSurfaceImpl(GrResourceProvider* resourceProvider, in createSurfaceImpl() 143 GrResourceProvider::Flags resourceProviderFlags = GrResourceProvider::Flags::kNone; in createSurfaceImpl() 148 resourceProviderFlags = GrResourceProvider::Flags::kNoPendingIO; in createSurfaceImpl() 224 bool GrSurfaceProxy::instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, in instantiateImpl() 307 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fWidth)); in worstCaseWidth() 319 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fHeight)); in worstCaseHeight() 425 bool GrSurfaceProxyPriv::doLazyInstantiation(GrResourceProvider* resourceProvider) { in doLazyInstantiation()
|
D | GrSurfaceProxyPriv.h | 40 sk_sp<GrSurface> createSurface(GrResourceProvider* resourceProvider) const { in createSurface() 57 bool doLazyInstantiation(GrResourceProvider*); 68 static bool SK_WARN_UNUSED_RESULT AttachStencilIfNeeded(GrResourceProvider*, GrSurface*,
|
D | GrOpFlushState.h | 24 class GrResourceProvider; variable 32 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*, 104 GrResourceProvider* resourceProvider() const final { return fResourceProvider; } in resourceProvider() 160 GrResourceProvider* fResourceProvider;
|
D | GrSurface.cpp | 23 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(desc.fWidth)) in WorstCaseSize() 26 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(desc.fHeight)) in WorstCaseSize() 70 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(width)) in ComputeSize() 73 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(height)) in ComputeSize()
|
/external/skia/src/gpu/ops/ |
D | GrStencilAndCoverPathRenderer.h | 14 class GrResourceProvider; variable 23 static GrPathRenderer* Create(GrResourceProvider*, const GrCaps&); 37 GrStencilAndCoverPathRenderer(GrResourceProvider*); 39 GrResourceProvider* fResourceProvider;
|
/external/skqp/src/gpu/ops/ |
D | GrStencilAndCoverPathRenderer.h | 15 class GrResourceProvider; variable 24 static GrPathRenderer* Create(GrResourceProvider*, const GrCaps&); 38 GrStencilAndCoverPathRenderer(GrResourceProvider*); 40 GrResourceProvider* fResourceProvider;
|
/external/skqp/include/private/ |
D | GrOpList.h | 23 class GrResourceProvider; variable 32 GrOpList(GrResourceProvider*, sk_sp<GrOpMemoryPool>, GrSurfaceProxy*, GrAuditTrail*); 36 bool instantiate(GrResourceProvider* resourceProvider); 38 void instantiateDeferredProxies(GrResourceProvider* resourceProvider);
|
D | GrRenderTargetProxy.h | 14 class GrResourceProvider; variable 27 bool instantiate(GrResourceProvider*) override; 93 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrTextureProxy.h | 17 class GrResourceProvider; variable 28 bool instantiate(GrResourceProvider*) override; 117 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
/external/skia/include/private/ |
D | GrOpList.h | 24 class GrResourceProvider; variable 33 GrOpList(GrResourceProvider*, sk_sp<GrOpMemoryPool>, GrSurfaceProxy*, GrAuditTrail*); 37 bool instantiate(GrResourceProvider* resourceProvider); 39 void instantiateDeferredProxies(GrResourceProvider* resourceProvider);
|
D | GrRenderTargetProxy.h | 14 class GrResourceProvider; variable 27 bool instantiate(GrResourceProvider*) override; 95 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrTextureProxy.h | 17 class GrResourceProvider; variable 28 bool instantiate(GrResourceProvider*) override; 117 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrSurfaceProxy.h | 25 class GrResourceProvider; variable 325 virtual bool instantiate(GrResourceProvider* resourceProvider) = 0; 433 using LazyInstantiateCallback = std::function<sk_sp<GrSurface>(GrResourceProvider*)>; 462 virtual sk_sp<GrSurface> createSurface(GrResourceProvider*) const = 0; 465 sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, bool needsStencil, 468 bool instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, bool needsStencil,
|
/external/skia/tests/ |
D | ResourceAllocatorTest.cpp | 91 static void overlap_test(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider, in overlap_test() 113 static void non_overlap_test(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider, in non_overlap_test() 134 bool GrResourceProvider::testingOnly_setExplicitlyAllocateGPUResources(bool newValue) { in testingOnly_setExplicitlyAllocateGPUResources() 143 GrResourceProvider* resourceProvider = ctxInfo.grContext()->priv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 271 GrResourceProvider* resourceProvider = ctxInfo.grContext()->priv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 303 auto callback = [fit, desc](GrResourceProvider* resourceProvider) -> sk_sp<GrSurface> { in make_lazy() 308 return resourceProvider->createApproxTexture(desc, GrResourceProvider::Flags::kNone); in make_lazy() 323 GrResourceProvider* resourceProvider = ctxInfo.grContext()->priv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | ResourceAllocatorTest.cpp | 91 static void overlap_test(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider, in overlap_test() 113 static void non_overlap_test(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider, in non_overlap_test() 134 bool GrResourceProvider::testingOnly_setExplicitlyAllocateGPUResources(bool newValue) { in testingOnly_setExplicitlyAllocateGPUResources() 143 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 271 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 303 auto callback = [fit, desc](GrResourceProvider* resourceProvider) -> sk_sp<GrSurface> { in make_lazy() 308 return resourceProvider->createApproxTexture(desc, GrResourceProvider::Flags::kNone); in make_lazy() 323 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|