/third_party/skia/src/gpu/ |
D | GrResourceProvider.cpp | 30 const int GrResourceProvider::kMinScratchTextureSize = 16; 34 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner) in GrResourceProvider() function in GrResourceProvider 44 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 112 sk_sp<GrTexture> GrResourceProvider::getExactScratch(SkISize dimensions, in getExactScratch() 134 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 179 sk_sp<GrTexture> GrResourceProvider::createCompressedTexture(SkISize dimensions, in createCompressedTexture() 193 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 241 SkISize GrResourceProvider::MakeApprox(SkISize dimensions) { in MakeApprox() 268 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(SkISize dimensions, in createApproxTexture() 307 sk_sp<GrTexture> GrResourceProvider::findAndRefScratchTexture(const GrScratchKey& key) { in findAndRefScratchTexture() [all …]
|
D | GrResourceProviderPriv.h | 21 explicit GrResourceProviderPriv(GrResourceProvider* provider) : fResourceProvider(provider) {} in GrResourceProviderPriv() 30 GrResourceProvider* fResourceProvider; 31 friend class GrResourceProvider; // to construct/copy this type variable 34 inline GrResourceProviderPriv GrResourceProvider::priv() { return GrResourceProviderPriv(this); } in priv() 36 inline const GrResourceProviderPriv GrResourceProvider::priv() const { // NOLINT(readability-const… in priv() 37 return GrResourceProviderPriv(const_cast<GrResourceProvider*>(this)); in priv()
|
D | GrSurfaceProxyPriv.h | 13 class GrResourceProvider; variable 26 sk_sp<GrSurface> createSurface(GrResourceProvider* resourceProvider) const { in createSurface() 41 bool doLazyInstantiation(GrResourceProvider*);
|
D | GrSurfaceProxy.h | 23 class GrResourceProvider; variable 102 std::function<LazyCallbackResult(GrResourceProvider*, const LazySurfaceDesc&)>; 211 virtual bool instantiate(GrResourceProvider*) = 0; 399 virtual sk_sp<GrSurface> createSurface(GrResourceProvider*) const = 0; 402 sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, GrRenderable, 415 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 | GrProxyProvider.cpp | 157 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in testingOnly_createInstantiatedProxy() 329 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in createProxyFromBitmap() 352 [bitmap](GrResourceProvider* resourceProvider, const LazySurfaceDesc& desc) { in createNonMippedProxyFromBitmap() 396 [bitmap, mipmaps](GrResourceProvider* resourceProvider, const LazySurfaceDesc& desc) { in createMippedProxyFromBitmap() 512 [data](GrResourceProvider* resourceProvider, const LazySurfaceDesc& desc) { in createCompressedTextureProxy() 526 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in createCompressedTextureProxy() 553 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapBackendTexture() 588 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapCompressedBackendTexture() 626 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapRenderableBackendTexture() 664 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in wrapBackendRenderTarget() [all …]
|
D | GrTextureProxy.h | 18 class GrResourceProvider; variable 28 bool instantiate(GrResourceProvider*) override; 153 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrTextureRenderTargetProxy.h | 66 bool instantiate(GrResourceProvider*) override; 67 sk_sp<GrSurface> createSurface(GrResourceProvider*) const override;
|
D | GrSurfaceProxy.cpp | 105 sk_sp<GrSurface> GrSurfaceProxy::createSurfaceImpl(GrResourceProvider* resourceProvider, in createSurfaceImpl() 178 bool GrSurfaceProxy::instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, in instantiateImpl() 239 return GrResourceProvider::MakeApprox(fDimensions); in backingStoreDimensions() 245 fDimensions == GrResourceProvider::MakeApprox(fDimensions); in isFunctionallyExact() 417 bool GrSurfaceProxyPriv::doLazyInstantiation(GrResourceProvider* resourceProvider) { in doLazyInstantiation()
|
D | GrOpFlushState.h | 24 class GrResourceProvider; variable 32 GrOpFlushState(GrGpu*, GrResourceProvider*, GrTokenTracker*, 180 GrResourceProvider* resourceProvider() const final { return fResourceProvider; } in resourceProvider() 315 GrResourceProvider* fResourceProvider;
|
D | GrDirectContextPriv.h | 80 GrResourceProvider* resourceProvider() { return this->context()->fResourceProvider.get(); } in resourceProvider() 81 const GrResourceProvider* resourceProvider() const { in resourceProvider()
|
D | GrRenderTargetProxy.cpp | 78 bool GrRenderTargetProxy::instantiate(GrResourceProvider* resourceProvider) { in instantiate() 119 sk_sp<GrSurface> GrRenderTargetProxy::createSurface(GrResourceProvider* resourceProvider) const { in createSurface()
|
D | GrResourceAllocator.h | 160 Register(GrSurfaceProxy* originatingProxy, GrScratchKey, GrResourceProvider*); 176 bool instantiateSurface(GrSurfaceProxy*, GrResourceProvider*);
|
D | GrTextureRenderTargetProxy.cpp | 118 bool GrTextureRenderTargetProxy::instantiate(GrResourceProvider* resourceProvider) { in instantiate() 140 GrResourceProvider* resourceProvider) const { in createSurface()
|
D | GrTextureProxy.cpp | 105 bool GrTextureProxy::instantiate(GrResourceProvider* resourceProvider) { in instantiate() 119 sk_sp<GrSurface> GrTextureProxy::createSurface(GrResourceProvider* resourceProvider) const { in createSurface()
|
D | GrSurface.cpp | 32 dimensions = GrResourceProvider::MakeApprox(dimensions); in ComputeSize()
|
/third_party/skia/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 35 return combinedQuadCount > (willBeAA ? GrResourceProvider::MaxNumAAQuads() in CombinedQuadCountWillOverflow() 36 : GrResourceProvider::MaxNumNonAAQuads()); in CombinedQuadCountWillOverflow() 126 GrResourceProvider::NumVertsPerNonAAQuad(), in QuadHelper() 127 GrResourceProvider::NumIndicesPerNonAAQuad(), quadsToDraw, in QuadHelper() 128 GrResourceProvider::MaxNumNonAAQuads()); in QuadHelper()
|
D | QuadPerEdgeAA.cpp | 478 case IndexBufferOption::kPictureFramed: return GrResourceProvider::MaxNumAAQuads(); in QuadLimit() 479 case IndexBufferOption::kIndexedRects: return GrResourceProvider::MaxNumNonAAQuads(); in QuadLimit() 490 runningQuadCount * GrResourceProvider::NumVertsPerNonAAQuad(); in IssueDraw() 502 maxNumQuads = GrResourceProvider::MaxNumAAQuads(); in IssueDraw() 503 numIndicesPerQuad = GrResourceProvider::NumIndicesPerAAQuad(); in IssueDraw() 504 numVertsPerQuad = GrResourceProvider::NumVertsPerAAQuad(); in IssueDraw() 507 maxNumQuads = GrResourceProvider::MaxNumNonAAQuads(); in IssueDraw() 508 numIndicesPerQuad = GrResourceProvider::NumIndicesPerNonAAQuad(); in IssueDraw() 509 numVertsPerQuad = GrResourceProvider::NumVertsPerNonAAQuad(); in IssueDraw()
|
D | SmallPathRenderer.cpp | 211 if (instanceCount > SK_MaxS32 / GrResourceProvider::NumVertsPerNonAAQuad()) { in onPrepareDraws() 215 kVertexStride, GrResourceProvider::NumVertsPerNonAAQuad() * instanceCount, in onPrepareDraws() 570 GrResourceProvider::NumIndicesPerNonAAQuad(), in flush() 572 GrResourceProvider::MaxNumNonAAQuads(), in flush() 574 GrResourceProvider::NumVertsPerNonAAQuad(), in flush() 578 flushInfo->fVertexOffset += GrResourceProvider::NumVertsPerNonAAQuad() * in flush()
|
/third_party/skia/tests/ |
D | BulkRectTest.cpp | 225 false, false, 2*GrResourceProvider::MaxNumNonAAQuads(), kNumExpectedOps); in run_test() 238 false, false, 2*GrResourceProvider::MaxNumNonAAQuads(), kNumExpectedOps); in run_test() 248 int numExpectedOps = 2*GrResourceProvider::MaxNumNonAAQuads() / in run_test() 249 GrResourceProvider::MaxNumAAQuads(); in run_test() 252 false, false, 2*GrResourceProvider::MaxNumNonAAQuads(), numExpectedOps); in run_test() 260 return (i < GrResourceProvider::MaxNumAAQuads()) ? GrQuadAAFlags::kNone in run_test() 267 false, false, 2*GrResourceProvider::MaxNumAAQuads(), kNumExpectedOps); in run_test() 282 false, false, 2*GrResourceProvider::MaxNumAAQuads(), kNumExpectedOps); in run_test()
|
D | ProxyTest.cpp | 45 GrResourceProvider* provider, in check_rendertarget() 79 GrResourceProvider* provider, in check_texture() 116 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 213 GrResourceProvider* resourceProvider = direct->priv().resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | LazyProxyTest.cpp | 85 [this, nullTexture](GrResourceProvider* rp, in Op() 148 [this](GrResourceProvider* rp, const GrSurfaceProxy::LazySurfaceDesc&) in ClipFP() 283 LazyInstantiationResult operator()(GrResourceProvider*, in operator ()() argument 354 GrResourceProvider* rp, const GrSurfaceProxy::LazySurfaceDesc& desc) in LazyFailedInstantiationTestOp()
|
/third_party/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
|
/third_party/skia/src/gpu/text/ |
D | GrAtlasManager.h | 17 class GrResourceProvider; variable 70 GrResourceProvider*, 89 GrDrawOpAtlas::ErrorCode addToAtlas(GrResourceProvider*, GrDeferredUploadTarget*, GrMaskFormat,
|
/third_party/skia/src/image/ |
D | SkSurface_GpuMtl.mm | 14 #include "src/gpu/GrResourceProvider.h" 51 [layer, drawable](GrResourceProvider* resourceProvider, 120 [view](GrResourceProvider* resourceProvider,
|