Lines Matching refs:Format
133 * Mesa format for two reasons:
141 * format. For example the driver might be simulating GL_RGB textures
146 * both cases we want to be looking at the application-level format, which
281 if (!compatible_color_datatypes(colorReadRb->Format,
282 colorDrawRb->Format)) {
294 * ?Relax BlitFramebuffer in section 18.3.1 so that format
311 GLenum type = _mesa_get_format_datatype(colorReadRb->Format);
346 if (_mesa_get_format_bits(readRb->Format, GL_STENCIL_BITS) !=
347 _mesa_get_format_bits(drawRb->Format, GL_STENCIL_BITS)) {
352 "%s(stencil attachment format mismatch)", func);
356 read_z_bits = _mesa_get_format_bits(readRb->Format, GL_DEPTH_BITS);
357 draw_z_bits = _mesa_get_format_bits(drawRb->Format, GL_DEPTH_BITS);
361 * ignore the depth format check.
365 _mesa_get_format_datatype(readRb->Format) !=
366 _mesa_get_format_datatype(drawRb->Format))) {
369 "%s(stencil attachment depth format mismatch)", func);
400 if ((_mesa_get_format_bits(readRb->Format, GL_DEPTH_BITS) !=
401 _mesa_get_format_bits(drawRb->Format, GL_DEPTH_BITS)) ||
402 (_mesa_get_format_datatype(readRb->Format) !=
403 _mesa_get_format_datatype(drawRb->Format))) {
405 "%s(depth attachment format mismatch)", func);
409 read_s_bit = _mesa_get_format_bits(readRb->Format, GL_STENCIL_BITS);
410 draw_s_bit = _mesa_get_format_bits(drawRb->Format, GL_STENCIL_BITS);
414 * we should ignore the stencil format check.
447 * The format check was made above because desktop OpenGL has the same