Lines Matching defs:dimensions
94 sk_sp<GrTexture> GrMockGpu::onCreateTexture(SkISize dimensions,
117 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, dimensions,
122 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo));
126 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(SkISize dimensions,
150 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo));
153 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(SkISize dimensions,
179 return sk_sp<GrTexture>(new GrMockTexture(this, tex.dimensions(), isProtected, mipmapStatus,
204 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, tex.dimensions(), sampleCnt,
215 rt.dimensions(), rt.sampleCnt(),
225 SkISize dimensions, int numStencilSamples) {
228 new GrMockAttachment(this, dimensions, GrAttachment::UsageFlags::kStencilAttachment,
232 GrBackendTexture GrMockGpu::onCreateBackendTexture(SkISize dimensions,
250 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info);
254 SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped,
268 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info);
292 GrBackendRenderTarget GrMockGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions,
298 return GrBackendRenderTarget(dimensions.width(), dimensions.height(), sampleCnt, kStencilBits,