Lines Matching refs:GrGLFormat
634 if (desc->fFormat == GrGLFormat::kUnknown) { in check_backend_texture()
696 if (desc->fFormat == GrGLFormat::kUnknown) { in check_compressed_backend_texture()
906 GrGLFormat textureFormat = glTex->format(); in onTransferPixelsTo()
965 bool GrGLGpu::uploadColorTypeTexData(GrGLFormat textureFormat, in uploadColorTypeTexData()
993 bool GrGLGpu::uploadColorToTex(GrGLFormat textureFormat, in uploadColorToTex()
1081 GrGLFormat format, in uploadCompressedTexData()
1086 SkASSERT(format != GrGLFormat::kUnknown); in uploadCompressedTexData()
1214 if (desc.fFormat == GrGLFormat::kUnknown) { in createRenderTargetObjects()
1386 SkASSERT(texDesc.fFormat != GrGLFormat::kUnknown); in onCreateTexture()
1511 GrGLFormat glFormat = format.asGLFormat(); in onCreateCompressedBackendTexture()
1512 if (glFormat == GrGLFormat::kUnknown) { in onCreateCompressedBackendTexture()
1549 GrGLFormat glFormat = format.asGLFormat(); in onUpdateCompressedBackendTexture()
1550 if (glFormat == GrGLFormat::kUnknown) { in onUpdateCompressedBackendTexture()
1591 int GrGLGpu::getCompatibleStencilIndex(GrGLFormat format) { in getCompatibleStencilIndex()
1625 GrGLFormat sFmt = this->glCaps().stencilFormats()[i]; in getCompatibleStencilIndex()
1677 GrGLFormat format, in createCompressedTexture2D()
1680 if (format == GrGLFormat::kUnknown) { in createCompressedTexture2D()
1699 GrGLFormat format, in createTexture()
1704 SkASSERT(format != GrGLFormat::kUnknown); in createTexture()
1768 GrGLFormat sFmt = this->glCaps().stencilFormats()[sIdx]; in makeStencilAttachment()
2873 GrGLFormat dstFormat = dst->backendFormat().asGLFormat(); in can_blit_framebuffer_for_copy_surface()
2874 GrGLFormat srcFormat = src->backendFormat().asGLFormat(); in can_blit_framebuffer_for_copy_surface()
2916 GrGLFormat dstFormat = dst->backendFormat().asGLFormat(); in can_copy_texsubimage()
2917 GrGLFormat srcFormat = src->backendFormat().asGLFormat(); in can_copy_texsubimage()
3466 GrGLFormat format = glTex->format(); in onRegenerateMipMapLevels()
3619 GrGLFormat glFormat = format.asGLFormat(); in onCreateBackendTexture()
3620 if (glFormat == GrGLFormat::kUnknown) { in onCreateBackendTexture()
3635 if (glFormat == GrGLFormat::kUnknown) { in onCreateBackendTexture()
3685 GrGLFormat glFormat = GrGLFormatFromGLEnum(info.fFormat); in onClearBackendTexture()
3778 } else if (format == GrGLFormat::kBGRA8 && in createTestingOnlyBackendRenderTarget()
3779 this->glCaps().getRenderbufferInternalFormat(GrGLFormat::kBGRA8) != GR_GL_BGRA8) { in createTestingOnlyBackendRenderTarget()