Lines Matching refs:GrResourceProvider
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()
266 sk_sp<GrTexture> GrResourceProvider::findAndRefScratchTexture(SkISize dimensions, in findAndRefScratchTexture()
290 sk_sp<GrTexture> GrResourceProvider::wrapBackendTexture(const GrBackendTexture& tex, in wrapBackendTexture()
301 sk_sp<GrTexture> GrResourceProvider::wrapCompressedBackendTexture(const GrBackendTexture& tex, in wrapCompressedBackendTexture()
313 sk_sp<GrTexture> GrResourceProvider::wrapRenderableBackendTexture(const GrBackendTexture& tex, in wrapRenderableBackendTexture()
324 sk_sp<GrRenderTarget> GrResourceProvider::wrapBackendRenderTarget( in wrapBackendRenderTarget()
330 sk_sp<GrRenderTarget> GrResourceProvider::wrapVulkanSecondaryCBAsRenderTarget( in wrapVulkanSecondaryCBAsRenderTarget()
338 void GrResourceProvider::assignUniqueKeyToResource(const GrUniqueKey& key, in assignUniqueKeyToResource()
347 sk_sp<GrGpuResource> GrResourceProvider::findResourceByUniqueKey(const GrUniqueKey& key) { in findResourceByUniqueKey()
353 sk_sp<const GrGpuBuffer> GrResourceProvider::findOrMakeStaticBuffer(GrGpuBufferType intendedType, in findOrMakeStaticBuffer()
370 sk_sp<const GrGpuBuffer> GrResourceProvider::createPatternedIndexBuffer(const uint16_t* pattern, in createPatternedIndexBuffer()
414 sk_sp<const GrGpuBuffer> GrResourceProvider::createNonAAQuadIndexBuffer() { in createNonAAQuadIndexBuffer()
427 int GrResourceProvider::MaxNumNonAAQuads() { return kMaxNumNonAAQuads; } in MaxNumNonAAQuads()
428 int GrResourceProvider::NumVertsPerNonAAQuad() { return kVertsPerNonAAQuad; } in NumVertsPerNonAAQuad()
429 int GrResourceProvider::NumIndicesPerNonAAQuad() { return kIndicesPerNonAAQuad; } in NumIndicesPerNonAAQuad()
436 sk_sp<const GrGpuBuffer> GrResourceProvider::createAAQuadIndexBuffer() { in createAAQuadIndexBuffer()
455 int GrResourceProvider::MaxNumAAQuads() { return kMaxNumAAQuads; } in MaxNumAAQuads()
456 int GrResourceProvider::NumVertsPerAAQuad() { return kVertsPerAAQuad; } in NumVertsPerAAQuad()
457 int GrResourceProvider::NumIndicesPerAAQuad() { return kIndicesPerAAQuad; } in NumIndicesPerAAQuad()
460 sk_sp<GrGpuBuffer> GrResourceProvider::createBuffer(size_t size, GrGpuBufferType intendedType, in createBuffer()
505 bool GrResourceProvider::attachStencilAttachment(GrRenderTarget* rt, bool useMSAASurface) { in attachStencilAttachment()
552 sk_sp<GrAttachment> GrResourceProvider::makeMSAAAttachment(SkISize dimensions, in makeMSAAAttachment()
577 sk_sp<GrAttachment> GrResourceProvider::refScratchMSAAAttachment(SkISize dimensions, in refScratchMSAAAttachment()
601 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT GrResourceProvider::makeSemaphore( in makeSemaphore()
606 std::unique_ptr<GrSemaphore> GrResourceProvider::wrapBackendSemaphore( in wrapBackendSemaphore()
650 GrColorType GrResourceProvider::prepareLevels(const GrBackendFormat& format, in prepareLevels()
678 sk_sp<GrTexture> GrResourceProvider::writePixels(sk_sp<GrTexture> texture, in writePixels()