Searched refs:drawFormat (Results 1 – 4 of 4) sorted by relevance
130 GLenum readFormat, drawFormat; in compatible_resolve_formats() local152 drawFormat = _mesa_get_nongeneric_internalformat(drawRb->InternalFormat); in compatible_resolve_formats()154 drawFormat = _mesa_get_linear_internalformat(drawFormat); in compatible_resolve_formats()156 if (readFormat == drawFormat) { in compatible_resolve_formats()
577 mesa_format drawFormat; in blit_linear() local587 drawFormat = _mesa_get_srgb_format_linear(drawRb->Format); in blit_linear()708 _mesa_pack_ubyte_rgba_row(drawFormat, dstWidth, dstBuffer, dst); in blit_linear()711 _mesa_pack_float_rgba_row(drawFormat, dstWidth, dstBuffer, dst); in blit_linear()
4182 GLint drawFormat = drawRenderbuffer->getFormat(); in blitFramebuffer() local4184 GLenum drawComponentType = GetComponentType(drawFormat, GL_COLOR_ATTACHMENT0); in blitFramebuffer()4213 if((readRenderbuffer->getSamples() > 0) && (readFormat != drawFormat)) in blitFramebuffer()4216 if(!(((readFormat == GL_RGBA8) && (drawFormat == GL_BGRA8_EXT)) || in blitFramebuffer()4217 ((readFormat == GL_BGRA8_EXT) && (drawFormat == GL_RGBA8)))) in blitFramebuffer()
1410 const Format &drawFormat = attachment->getFormat(); in ValidateBlitFramebufferParameters() local1421 GLenum drawComponentType = drawFormat.info->componentType; in ValidateBlitFramebufferParameters()1461 (!Format::EquivalentForBlit(readFormat, drawFormat) || !sameBounds)) in ValidateBlitFramebufferParameters()