Lines Matching refs:GrResourceProvider
8 #include "GrResourceProvider.h"
28 const int GrResourceProvider::kMinScratchTextureSize = 16;
33 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner)
46 bool GrResourceProvider::IsFunctionallyExact(GrTextureProxy* proxy) {
50 GrTexture* GrResourceProvider::createMipMappedTexture(const GrSurfaceDesc& desc,
103 GrTexture* GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
117 GrTexture* GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, uint32_t flags) {
123 GrTexture* GrResourceProvider::internalCreateApproxTexture(const GrSurfaceDesc& desc,
137 GrTexture* GrResourceProvider::refScratchTexture(const GrSurfaceDesc& inDesc,
183 sk_sp<GrTexture> GrResourceProvider::wrapBackendTexture(const GrBackendTextureDesc& desc,
192 sk_sp<GrRenderTarget> GrResourceProvider::wrapBackendRenderTarget(
199 void GrResourceProvider::assignUniqueKeyToResource(const GrUniqueKey& key,
208 GrGpuResource* GrResourceProvider::findAndRefResourceByUniqueKey(const GrUniqueKey& key) {
213 GrTexture* GrResourceProvider::findAndRefTextureByUniqueKey(const GrUniqueKey& key) {
225 void GrResourceProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) {
241 sk_sp<GrTextureProxy> GrResourceProvider::findProxyByUniqueKey(const GrUniqueKey& key) {
252 const GrBuffer* GrResourceProvider::createInstancedIndexBuffer(const uint16_t* pattern,
290 const GrBuffer* GrResourceProvider::createQuadIndexBuffer() {
298 GrPath* GrResourceProvider::createPath(const SkPath& path, const GrStyle& style) {
303 GrPathRange* GrResourceProvider::createPathRange(GrPathRange::PathGenerator* gen,
309 GrPathRange* GrResourceProvider::createGlyphs(const SkTypeface* tf,
318 GrBuffer* GrResourceProvider::createBuffer(size_t size, GrBufferType intendedType,
361 GrStencilAttachment* GrResourceProvider::attachStencilAttachment(GrRenderTarget* rt) {
408 sk_sp<GrRenderTarget> GrResourceProvider::wrapBackendTextureAsRenderTarget(
417 sk_sp<GrSemaphore> SK_WARN_UNUSED_RESULT GrResourceProvider::makeSemaphore() {
421 void GrResourceProvider::takeOwnershipOfSemaphore(sk_sp<GrSemaphore> semaphore) {
425 void GrResourceProvider::releaseOwnershipOfSemaphore(sk_sp<GrSemaphore> semaphore) {