Lines Matching refs:dimensions
94 sk_sp<GrTexture> GrMockGpu::onCreateTexture(SkISize dimensions, in onCreateTexture() argument
117 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, dimensions, in onCreateTexture()
122 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateTexture()
126 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(SkISize dimensions, in onCreateCompressedTexture() argument
150 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateCompressedTexture()
168 return sk_sp<GrTexture>(new GrMockTexture(this, tex.dimensions(), isProtected, mipmapStatus, in onWrapBackendTexture()
193 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, tex.dimensions(), sampleCnt, in onWrapRenderableBackendTexture()
204 rt.dimensions(), rt.sampleCnt(), in onWrapBackendRenderTarget()
214 SkISize dimensions, int numStencilSamples) { in makeStencilAttachment() argument
217 new GrMockAttachment(this, dimensions, GrAttachment::UsageFlags::kStencilAttachment, in makeStencilAttachment()
221 GrBackendTexture GrMockGpu::onCreateBackendTexture(SkISize dimensions, in onCreateBackendTexture() argument
239 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateBackendTexture()
243 SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped, in onCreateCompressedBackendTexture() argument
257 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateCompressedBackendTexture()
281 GrBackendRenderTarget GrMockGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions, in createTestingOnlyBackendRenderTarget() argument
287 return GrBackendRenderTarget(dimensions.width(), dimensions.height(), sampleCnt, kStencilBits, in createTestingOnlyBackendRenderTarget()