/third_party/mesa3d/src/mesa/main/ |
D | framebuffer.c | 435 fb->Visual.redBits = _mesa_get_format_bits(fmt, GL_RED_BITS); in _mesa_update_framebuffer_visual() 436 fb->Visual.greenBits = _mesa_get_format_bits(fmt, GL_GREEN_BITS); in _mesa_update_framebuffer_visual() 437 fb->Visual.blueBits = _mesa_get_format_bits(fmt, GL_BLUE_BITS); in _mesa_update_framebuffer_visual() 438 fb->Visual.alphaBits = _mesa_get_format_bits(fmt, GL_ALPHA_BITS); in _mesa_update_framebuffer_visual() 467 fb->Visual.depthBits = _mesa_get_format_bits(fmt, GL_DEPTH_BITS); in _mesa_update_framebuffer_visual() 474 fb->Visual.stencilBits = _mesa_get_format_bits(fmt, GL_STENCIL_BITS); in _mesa_update_framebuffer_visual() 481 fb->Visual.accumRedBits = _mesa_get_format_bits(fmt, GL_RED_BITS); in _mesa_update_framebuffer_visual() 482 fb->Visual.accumGreenBits = _mesa_get_format_bits(fmt, GL_GREEN_BITS); in _mesa_update_framebuffer_visual() 483 fb->Visual.accumBlueBits = _mesa_get_format_bits(fmt, GL_BLUE_BITS); in _mesa_update_framebuffer_visual() 484 fb->Visual.accumAlphaBits = _mesa_get_format_bits(fmt, GL_ALPHA_BITS); in _mesa_update_framebuffer_visual() [all …]
|
D | blit.c | 283 if (_mesa_get_format_bits(readRb->Format, GL_STENCIL_BITS) != in validate_stencil_buffer() 284 _mesa_get_format_bits(drawRb->Format, GL_STENCIL_BITS)) { in validate_stencil_buffer() 293 read_z_bits = _mesa_get_format_bits(readRb->Format, GL_DEPTH_BITS); in validate_stencil_buffer() 294 draw_z_bits = _mesa_get_format_bits(drawRb->Format, GL_DEPTH_BITS); in validate_stencil_buffer() 329 if ((_mesa_get_format_bits(readRb->Format, GL_DEPTH_BITS) != in validate_depth_buffer() 330 _mesa_get_format_bits(drawRb->Format, GL_DEPTH_BITS)) || in validate_depth_buffer() 338 read_s_bit = _mesa_get_format_bits(readRb->Format, GL_STENCIL_BITS); in validate_depth_buffer() 339 draw_s_bit = _mesa_get_format_bits(drawRb->Format, GL_STENCIL_BITS); in validate_depth_buffer()
|
D | texparam.c | 1778 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() 1787 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() 1790 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image() 1792 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image() 1797 *params = _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image() 1806 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() 1809 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() 1961 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_buffer() 1968 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_buffer() 1971 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_buffer() [all …]
|
D | get.c | 1004 _mesa_get_format_bits(rb->Format, GL_RED_BITS); in find_custom_value() 1006 _mesa_get_format_bits(rb->Format, GL_GREEN_BITS); in find_custom_value() 1008 _mesa_get_format_bits(rb->Format, GL_BLUE_BITS); in find_custom_value() 1010 _mesa_get_format_bits(rb->Format, GL_ALPHA_BITS); in find_custom_value() 1012 _mesa_get_format_bits(rb->Format, GL_TEXTURE_LUMINANCE_SIZE); in find_custom_value() 1014 _mesa_get_format_bits(rb->Format, GL_TEXTURE_INTENSITY_SIZE); in find_custom_value()
|
D | teximage.c | 4072 if (_mesa_get_format_bits(texFormat, GL_DEPTH_BITS) > 0) { in get_copy_tex_image_source() 4075 } else if (_mesa_get_format_bits(texFormat, GL_STENCIL_BITS) > 0) { in get_copy_tex_image_source() 4118 GLint f1_r_bits = _mesa_get_format_bits(f1, GL_RED_BITS); in formats_differ_in_component_sizes() 4119 GLint f1_g_bits = _mesa_get_format_bits(f1, GL_GREEN_BITS); in formats_differ_in_component_sizes() 4120 GLint f1_b_bits = _mesa_get_format_bits(f1, GL_BLUE_BITS); in formats_differ_in_component_sizes() 4121 GLint f1_a_bits = _mesa_get_format_bits(f1, GL_ALPHA_BITS); in formats_differ_in_component_sizes() 4123 GLint f2_r_bits = _mesa_get_format_bits(f2, GL_RED_BITS); in formats_differ_in_component_sizes() 4124 GLint f2_g_bits = _mesa_get_format_bits(f2, GL_GREEN_BITS); in formats_differ_in_component_sizes() 4125 GLint f2_b_bits = _mesa_get_format_bits(f2, GL_BLUE_BITS); in formats_differ_in_component_sizes() 4126 GLint f2_a_bits = _mesa_get_format_bits(f2, GL_ALPHA_BITS); in formats_differ_in_component_sizes()
|
D | formats.h | 640 _mesa_get_format_bits(mesa_format format, GLenum pname);
|
D | formatquery.c | 1030 buffer[0] = _mesa_get_format_bits(texformat, pname); in _mesa_GetInternalformativ()
|
D | formats.c | 141 _mesa_get_format_bits(mesa_format format, GLenum pname) in _mesa_get_format_bits() function
|
D | fbobject.c | 2948 return _mesa_get_format_bits(format, pname); in get_component_bits()
|
/third_party/mesa3d/src/mesa/main/tests/ |
D | mesa_formats.cpp | 84 GLint r = _mesa_get_format_bits(f, GL_RED_BITS); in TEST_F() 85 GLint g = _mesa_get_format_bits(f, GL_GREEN_BITS); in TEST_F() 86 GLint b = _mesa_get_format_bits(f, GL_BLUE_BITS); in TEST_F() 87 GLint a = _mesa_get_format_bits(f, GL_ALPHA_BITS); in TEST_F() 88 GLint l = _mesa_get_format_bits(f, GL_TEXTURE_LUMINANCE_SIZE); in TEST_F() 89 GLint i = _mesa_get_format_bits(f, GL_TEXTURE_INTENSITY_SIZE); in TEST_F()
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
D | dri_screen.c | 264 red_bits = _mesa_get_format_bits(format, GL_RED_BITS); in driCreateConfigs() 265 green_bits = _mesa_get_format_bits(format, GL_GREEN_BITS); in driCreateConfigs() 266 blue_bits = _mesa_get_format_bits(format, GL_BLUE_BITS); in driCreateConfigs() 267 alpha_bits = _mesa_get_format_bits(format, GL_ALPHA_BITS); in driCreateConfigs()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 398 assert(_mesa_get_format_bits(rb->Format, GL_STENCIL_BITS) > 0); in is_stencil_disabled() 411 assert(_mesa_get_format_bits(rb->Format, GL_STENCIL_BITS) > 0); in is_stencil_masked()
|
/third_party/mesa3d/docs/relnotes/ |
D | 10.2.6.rst | 63 - meta: Use \_mesa_get_format_bits() to get the GL_RED_BITS
|