/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_fbo.c | 47 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format() 53 rb->_BaseFormat = GL_RGBA; in set_renderbuffer_format() 58 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format() 63 rb->_BaseFormat = GL_DEPTH_COMPONENT; in set_renderbuffer_format() 71 rb->_BaseFormat = GL_DEPTH_STENCIL; in set_renderbuffer_format()
|
D | nouveau_driver.c | 128 if (fb->Attachment[i].Renderbuffer->_BaseFormat == in nouveau_clear()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_generate_mipmap.c | 49 (tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_COMPONENT || in brw_generate_mipmap() 50 tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_STENCIL)) { in brw_generate_mipmap()
|
D | brw_pixel_read.c | 124 if (rb->_BaseFormat == GL_RGB) in brw_readpixels_tiled_memcpy() 238 if (_mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, in brw_readpixels_blorp() 243 if (irb->Base.Base._BaseFormat == GL_RGB) { in brw_readpixels_blorp()
|
D | brw_surface_formats.c | 430 rb->_BaseFormat != GL_RGBA && in brw_render_target_supported() 431 rb->_BaseFormat != GL_RG && in brw_render_target_supported() 432 rb->_BaseFormat != GL_RED) in brw_render_target_supported()
|
D | brw_wm_surface_state.c | 339 if (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_get_texture_swizzle() 340 img->_BaseFormat == GL_DEPTH_STENCIL) { in brw_get_texture_swizzle() 389 switch (img->_BaseFormat) { in brw_get_texture_swizzle() 507 (firstImage->_BaseFormat == GL_DEPTH_COMPONENT || in brw_update_texture_surface() 508 firstImage->_BaseFormat == GL_DEPTH_STENCIL); in brw_update_texture_surface() 513 if (firstImage->_BaseFormat == GL_DEPTH_STENCIL || in brw_update_texture_surface() 514 firstImage->_BaseFormat == GL_DEPTH_COMPONENT) { in brw_update_texture_surface() 569 if (obj->StencilSampling && firstImage->_BaseFormat == GL_DEPTH_STENCIL) { in brw_update_texture_surface()
|
D | brw_fbo.c | 296 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in brw_alloc_private_renderbuffer_storage() 342 rb->_BaseFormat = _mesa_get_format_base_format(original_format); in fallback_rgbx_to_rgba() 343 rb->InternalFormat = rb->_BaseFormat; in fallback_rgbx_to_rgba()
|
D | brw_wm.c | 224 (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_populate_sampler_prog_key_data() 225 img->_BaseFormat == GL_DEPTH_STENCIL); in brw_populate_sampler_prog_key_data()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_span.c | 1356 assert(rb->_BaseFormat == GL_RGBA || in _swrast_write_rgba_span() 1357 rb->_BaseFormat == GL_RGB || in _swrast_write_rgba_span() 1358 rb->_BaseFormat == GL_RED || in _swrast_write_rgba_span() 1359 rb->_BaseFormat == GL_RG || in _swrast_write_rgba_span() 1360 rb->_BaseFormat == GL_ALPHA); in _swrast_write_rgba_span() 1461 assert(rb->_BaseFormat == GL_RGBA || in _swrast_read_rgba_span() 1462 rb->_BaseFormat == GL_RGB || in _swrast_read_rgba_span() 1463 rb->_BaseFormat == GL_RG || in _swrast_read_rgba_span() 1464 rb->_BaseFormat == GL_RED || in _swrast_read_rgba_span() 1465 rb->_BaseFormat == GL_LUMINANCE || in _swrast_read_rgba_span() [all …]
|
D | s_renderbuffer.c | 143 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in soft_renderbuffer_storage() 147 rb->_BaseFormat == 0) { in soft_renderbuffer_storage() 152 rb->_BaseFormat = GL_RGBA; in soft_renderbuffer_storage() 156 assert(rb->_BaseFormat); in soft_renderbuffer_storage()
|
/third_party/mesa3d/src/mesa/main/ |
D | readpix.c | 181 if (_mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, in _mesa_readpixels_needs_slow_path() 208 if (rb->_BaseFormat != _mesa_get_format_base_format(rb->Format)) { in readpixels_can_use_memcpy() 467 _mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, dstBaseFormat); in read_rgba_pixels() 484 if (rb->_BaseFormat == GL_LUMINANCE || rb->_BaseFormat == GL_INTENSITY) { in read_rgba_pixels() 490 } else if (rb->_BaseFormat == GL_LUMINANCE_ALPHA) { in read_rgba_pixels() 496 } else if (_mesa_get_format_base_format(rb_format) != rb->_BaseFormat) { in read_rgba_pixels() 498 _mesa_compute_rgba2base2rgba_component_mapping(rb->_BaseFormat, in read_rgba_pixels()
|
D | debug.c | 309 if (rb->_BaseFormat == GL_RGB || in _mesa_write_renderbuffer_image() 310 rb->_BaseFormat == GL_RGBA) { in _mesa_write_renderbuffer_image() 314 else if (rb->_BaseFormat == GL_DEPTH_STENCIL) { in _mesa_write_renderbuffer_image() 322 rb->_BaseFormat); in _mesa_write_renderbuffer_image()
|
D | fbobject.c | 506 rb->_BaseFormat = texImage->_BaseFormat; in _mesa_update_texture_renderbuffer() 636 switch (rb->_BaseFormat) { in _mesa_validate_framebuffer() 858 if (att->Texture->_IsFloat && att->Renderbuffer->_BaseFormat == GL_RGBA) in gles_check_float_renderable() 974 baseFormat = texImage->_BaseFormat; in test_attachment_completeness() 1030 const GLenum baseFormat = att->Renderbuffer->_BaseFormat; in test_attachment_completeness() 1197 f = texImg->_BaseFormat; in _mesa_test_framebuffer_completeness() 1231 baseFormat = att->Renderbuffer->_BaseFormat; in _mesa_test_framebuffer_completeness() 2562 rb->_BaseFormat = baseFormat; in _mesa_renderbuffer_storage() 2563 assert(rb->_BaseFormat != 0); in _mesa_renderbuffer_storage() 2571 rb->_BaseFormat = GL_NONE; in _mesa_renderbuffer_storage() [all …]
|
D | texobj.h | 150 img->_BaseFormat == GL_DEPTH_STENCIL)) && in _mesa_is_texture_complete()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 205 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_private_renderbuffer_storage() 281 rb->_BaseFormat = _mesa_get_format_base_format(image->format); in intel_image_target_renderbuffer_storage() 338 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer() 340 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer()
|
D | intel_tex_subimage.c | 96 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_fbo.c | 125 strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in st_renderbuffer_alloc_storage() 175 if (rb->_BaseFormat == GL_DEPTH_COMPONENT || in st_renderbuffer_alloc_storage() 176 rb->_BaseFormat == GL_DEPTH_STENCIL || in st_renderbuffer_alloc_storage() 177 rb->_BaseFormat == GL_STENCIL_INDEX) { in st_renderbuffer_alloc_storage() 338 strb->Base._BaseFormat = _mesa_get_format_base_format(strb->Base.Format); in st_new_renderbuffer_fb()
|
D | st_atom_sampler.c | 98 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler() 136 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler()
|
D | st_cb_texture.c | 868 if (stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in allocate_full_mipmap() 869 stImage->base._BaseFormat == GL_DEPTH_STENCIL_EXT) in allocate_full_mipmap() 2006 _mesa_texstore_can_use_memcpy(ctx, texImage->_BaseFormat, in st_TexSubImage() 2050 if (texImage->_BaseFormat != in st_TexSubImage() 2222 blit.mask = st_get_blit_mask(format, texImage->_BaseFormat); in st_TexSubImage() 2536 if (texImage->_BaseFormat != in st_GetTexSubImage() 2602 blit.mask = st_get_blit_mask(texImage->_BaseFormat, format); in st_GetTexSubImage() 2762 texImage->_BaseFormat, in fallback_copy_texsubimage() 2794 if (texImage->_BaseFormat != tex_baseformat && in st_can_copyteximage_using_blit() 2795 ((texImage->_BaseFormat != GL_RGB || tex_baseformat != GL_RGBA))) { in st_can_copyteximage_using_blit() [all …]
|
D | st_cb_eglimage.c | 256 strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); in st_egl_image_target_renderbuffer_storage() 257 strb->Base.InternalFormat = strb->Base._BaseFormat; in st_egl_image_target_renderbuffer_storage()
|
D | st_cb_readpixels.c | 327 blit.mask = st_get_blit_mask(strb->Base._BaseFormat, format); in blit_to_staging() 451 if (rb->_BaseFormat != in st_ReadPixels()
|
D | st_sampler_view.c | 435 GLenum baseFormat = _mesa_base_tex_image(&stObj->base)->_BaseFormat; in get_texture_format_swizzle() 516 GLenum baseFormat = _mesa_base_tex_image(&stObj->base)->_BaseFormat; in get_sampler_view_format()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_fbo.c | 534 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage() 598 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 661 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer() 747 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_fbo.c | 534 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage() 598 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 661 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer() 747 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()
|
/third_party/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 2798 if (rb->_BaseFormat == GL_DEPTH_STENCIL || in copytexsubimage_using_blit_framebuffer() 2799 rb->_BaseFormat == GL_DEPTH_COMPONENT) { in copytexsubimage_using_blit_framebuffer() 2805 if (rb->_BaseFormat == GL_DEPTH_STENCIL && in copytexsubimage_using_blit_framebuffer() 2806 texImage->_BaseFormat == GL_DEPTH_STENCIL) { in copytexsubimage_using_blit_framebuffer() 3186 GLenum baseTexFormat = texImage->_BaseFormat; in decompress_texture_image() 3489 if (texImage->_BaseFormat == GL_DEPTH_STENCIL) in cleartexsubimage_depth_stencil() 3504 if (texImage->_BaseFormat == GL_DEPTH_STENCIL) { in cleartexsubimage_depth_stencil() 3520 if (texImage->_BaseFormat == GL_DEPTH_STENCIL) in cleartexsubimage_depth_stencil() 3543 switch(texImage->_BaseFormat) { in cleartexsubimage_for_zoffset()
|