Lines Matching refs:dxgiFormat
255 DXGI_FORMAT dxgiFormat, in createD3DTexture() argument
280 resourceDesc.Format = dxgiFormat; in createD3DTexture()
304 DXGI_FORMAT dxgiFormat; in onCreateTexture() local
305 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in onCreateTexture()
306 SkASSERT(!GrDxgiFormatIsCompressed(dxgiFormat)); in onCreateTexture()
311 sk_sp<GrD3DTexture> tex = this->createD3DTexture(dimensions, dxgiFormat, renderable, in onCreateTexture()
325 static void copy_compressed_data(char* mapPtr, DXGI_FORMAT dxgiFormat, in copy_compressed_data() argument
330 SkASSERT(GrDxgiFormatIsCompressed(dxgiFormat)); in copy_compressed_data()
350 DXGI_FORMAT dxgiFormat; in onCreateCompressedTexture() local
351 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in onCreateCompressedTexture()
352 SkASSERT(GrDxgiFormatIsCompressed(dxgiFormat)); in onCreateCompressedTexture()
365 sk_sp<GrD3DTexture> d3dTex = this->createD3DTexture(dimensions, dxgiFormat, GrRenderable::kNo, in onCreateCompressedTexture()
450 DXGI_FORMAT dstFormat = dstTexResource->dxgiFormat(); in onCopySurface()
451 DXGI_FORMAT srcFormat = srcTexResource->dxgiFormat(); in onCopySurface()
473 DXGI_FORMAT dstFormat = dstResource->dxgiFormat(); in copySurfaceAsCopyTexture()
600 if (GrDxgiFormatBytesPerBlock(texResource->dxgiFormat()) != bpp) { in onReadPixels()
670 SkASSERT(!GrDxgiFormatIsCompressed(d3dTex->dxgiFormat())); in onWritePixels()
691 SkASSERT(this->d3dCaps().isFormatTexturable(tex->dxgiFormat())); in uploadToTexture()
811 SkDEBUGCODE(DXGI_FORMAT format = d3dTex->dxgiFormat()); in onTransferPixelsTo()
882 SkDEBUGCODE(DXGI_FORMAT format = texResource->dxgiFormat()); in onTransferPixelsFrom()
1053 if (!caps.isFormatTexturable(d3dTex->dxgiFormat()) || in onRegenerateMipMapLevels()
1060 DXGI_FORMAT originalFormat = d3dTex->dxgiFormat(); in onRegenerateMipMapLevels()
1270 bool GrD3DGpu::createTextureResourceForBackendSurface(DXGI_FORMAT dxgiFormat, in createTextureResourceForBackendSurface() argument
1284 if (texturable == GrTexturable::kYes && !this->d3dCaps().isFormatTexturable(dxgiFormat)) { in createTextureResourceForBackendSurface()
1288 if (renderable == GrRenderable::kYes && !this->d3dCaps().isFormatRenderable(dxgiFormat, 1)) { in createTextureResourceForBackendSurface()
1310 resourceDesc.Format = dxgiFormat; in createTextureResourceForBackendSurface()
1319 clearValue.Format = dxgiFormat; in createTextureResourceForBackendSurface()
1351 DXGI_FORMAT dxgiFormat; in onCreateBackendTexture() local
1352 if (!format.asDxgiFormat(&dxgiFormat)) { in onCreateBackendTexture()
1357 if (!caps.isFormatTexturable(dxgiFormat)) { in onCreateBackendTexture()
1362 if (!this->createTextureResourceForBackendSurface(dxgiFormat, dimensions, GrTexturable::kYes, in onCreateBackendTexture()
1373 DXGI_FORMAT dxgiFormat, in copy_color_data() argument
1377 auto colorType = caps.getFormatColorType(dxgiFormat); in copy_color_data()
1609 DXGI_FORMAT dxgiFormat = this->d3dCaps().getFormatFromColorType(colorType); in createTestingOnlyBackendRenderTarget() local
1612 if (!this->createTextureResourceForBackendSurface(dxgiFormat, dimensions, GrTexturable::kNo, in createTestingOnlyBackendRenderTarget()