/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 | 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 | 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 | 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()
|
D | GrTextureRenderTargetProxy.h | 43 bool instantiate(GrResourceProvider*) override; 44 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 29 const int GrResourceProvider::kMinScratchTextureSize = 16; 33 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner) in GrResourceProvider() function in GrResourceProvider 43 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 92 sk_sp<GrTexture> GrResourceProvider::getExactScratch(SkISize dimensions, in getExactScratch() 109 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 145 sk_sp<GrTexture> GrResourceProvider::createCompressedTexture(SkISize dimensions, in createCompressedTexture() 159 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 194 SkISize GrResourceProvider::MakeApprox(SkISize dimensions) { in MakeApprox() 221 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(SkISize dimensions, in createApproxTexture() 253 sk_sp<GrTexture> GrResourceProvider::findAndRefScratchTexture(const GrScratchKey& key) { in findAndRefScratchTexture() [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 { // NOLINT(readability-const… in priv() 36 return GrResourceProviderPriv(const_cast<GrResourceProvider*>(this)); in priv()
|
D | GrSurfaceProxy.h | 24 class GrResourceProvider; variable 103 std::function<LazyCallbackResult(GrResourceProvider*, const LazySurfaceDesc&)>; 208 virtual bool instantiate(GrResourceProvider*) = 0; 393 virtual sk_sp<GrSurface> createSurface(GrResourceProvider*) const = 0; 396 sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, GrRenderable, 409 bool instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, GrRenderable,
|
D | GrRenderTargetProxy.h | 19 class GrResourceProvider; variable 55 bool instantiate(GrResourceProvider*) override; 162 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrTextureProxy.h | 17 class GrResourceProvider; variable 27 bool instantiate(GrResourceProvider*) override; 149 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrProxyProvider.cpp | 142 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in testingOnly_createInstantiatedProxy() 302 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in createProxyFromBitmap() 325 [bitmap](GrResourceProvider* resourceProvider, const LazySurfaceDesc& desc) { in createNonMippedProxyFromBitmap() 361 [bitmap, mipmaps](GrResourceProvider* resourceProvider, const LazySurfaceDesc& desc) { in createMippedProxyFromBitmap() 465 [data](GrResourceProvider* resourceProvider, const LazySurfaceDesc& desc) { in createCompressedTextureProxy() 479 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in createCompressedTextureProxy() 506 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapBackendTexture() 541 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapCompressedBackendTexture() 579 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapRenderableBackendTexture() 615 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapBackendRenderTarget() [all …]
|
D | GrTextureRenderTargetProxy.h | 66 bool instantiate(GrResourceProvider*) override; 67 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrSurfaceProxyPriv.h | 26 sk_sp<GrSurface> createSurface(GrResourceProvider* resourceProvider) const { in createSurface() 41 bool doLazyInstantiation(GrResourceProvider*);
|
/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/skia/tests/ |
D | BulkRectTest.cpp | 223 false, false, 2*GrResourceProvider::MaxNumNonAAQuads(), kNumExpectedOps); in run_test() 236 false, false, 2*GrResourceProvider::MaxNumNonAAQuads(), kNumExpectedOps); in run_test() 246 int numExpectedOps = 2*GrResourceProvider::MaxNumNonAAQuads() / in run_test() 247 GrResourceProvider::MaxNumAAQuads(); in run_test() 250 false, false, 2*GrResourceProvider::MaxNumNonAAQuads(), numExpectedOps); in run_test() 258 return (i < GrResourceProvider::MaxNumAAQuads()) ? GrQuadAAFlags::kNone in run_test() 265 false, false, 2*GrResourceProvider::MaxNumAAQuads(), kNumExpectedOps); in run_test() 280 false, false, 2*GrResourceProvider::MaxNumAAQuads(), kNumExpectedOps); in run_test()
|
/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;
|
D | GrSurfaceProxy.h | 23 class GrResourceProvider; variable 323 virtual bool instantiate(GrResourceProvider* resourceProvider) = 0; 430 using LazyInstantiateCallback = std::function<sk_sp<GrSurface>(GrResourceProvider*)>; 459 virtual sk_sp<GrSurface> createSurface(GrResourceProvider*) const = 0; 462 sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, bool needsStencil, 465 bool instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, bool needsStencil,
|
/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()
|
/external/skia/src/gpu/mock/ |
D | GrMockSurfaceProxy.h | 26 bool instantiate(GrResourceProvider*) override { return false; } in instantiate() argument 31 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override { return nullptr; } in createSurface() argument
|
/external/skia/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 110 GrResourceProvider::NumVertsPerNonAAQuad(), in QuadHelper() 111 GrResourceProvider::NumIndicesPerNonAAQuad(), quadsToDraw, in QuadHelper() 112 GrResourceProvider::MaxNumNonAAQuads()); in QuadHelper()
|