Home
last modified time | relevance | path

Searched refs:_mesa_get_format_base_format (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_mipmap_tree.c292 assert(_mesa_get_format_base_format(format) == GL_RGB || in intel_miptree_create_for_dri2_buffer()
293 _mesa_get_format_base_format(format) == GL_RGBA); in intel_miptree_create_for_dri2_buffer()
325 assert(_mesa_get_format_base_format(format) == GL_RGB || in intel_miptree_create_for_image_buffer()
326 _mesa_get_format_base_format(format) == GL_RGBA); in intel_miptree_create_for_image_buffer()
Dintel_fbo.c281 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()
Dintel_screen.c260 image->internal_format = _mesa_get_format_base_format(image->format); in intel_allocate_image()
/external/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp112 switch (_mesa_get_format_base_format(f)) { in TEST()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.c350 GLenum base_format = _mesa_get_format_base_format(src_mt->format); in brw_blorp_blit_miptrees()
662 if (_mesa_get_format_base_format(src_mt->format) == GL_DEPTH_STENCIL || in try_blorp_blit()
663 _mesa_get_format_base_format(dst_mt->format) == GL_DEPTH_STENCIL) in try_blorp_blit()
730 if (_mesa_get_format_base_format(src_mt->format) == GL_DEPTH_STENCIL || in brw_blorp_copytexsubimage()
731 _mesa_get_format_base_format(dst_mt->format) == GL_DEPTH_STENCIL) in brw_blorp_copytexsubimage()
1066 switch (_mesa_get_format_base_format(src_format)) { in brw_blorp_download_miptree()
Dintel_tex_image.c144 _mesa_get_format_base_format(tex_image->TexFormat)) in intel_texsubimage_blorp()
641 image->internal_format : _mesa_get_format_base_format(mt->format); in intel_image_target_texture()
710 _mesa_get_format_base_format(tex_image->TexFormat)) in intel_gettexsubimage_blorp()
Dbrw_meta_util.c348 switch (_mesa_get_format_base_format(mt->format)) { in brw_meta_convert_fast_clear_color()
Dintel_fbo.c296 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in intel_alloc_private_renderbuffer_storage()
342 rb->_BaseFormat = _mesa_get_format_base_format(original_format); in fallback_rgbx_to_rgba()
Dintel_mipmap_tree.c151 if (_mesa_get_format_base_format(format) != GL_DEPTH_STENCIL) in needs_separate_stencil()
456 switch(_mesa_get_format_base_format(format)) { in mt_surf_usage()
591 const GLenum base_format = _mesa_get_format_base_format(format); in intel_miptree_create_for_bo()
921 assert(_mesa_get_format_base_format(format) == GL_RGB || in intel_update_winsys_renderbuffer_miptree()
922 _mesa_get_format_base_format(format) == GL_RGBA); in intel_update_winsys_renderbuffer_miptree()
Dbrw_misc_state.c229 _mesa_get_format_base_format(depth_mt->format) == GL_DEPTH_STENCIL) in brw_workaround_depthstencil_alignment()
Dbrw_wm_surface_state.c1152 GLenum base_format = _mesa_get_format_base_format(iobj->_Format); in is_depth_texture()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_fbo.c661 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
662 rb->InternalFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
747 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_fbo.c661 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
662 rb->InternalFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
747 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()
/external/mesa3d/src/mesa/main/
Dreadpix.c89 GLenum srcBaseFormat = _mesa_get_format_base_format(texFormat); in _mesa_get_readpixels_transfer_ops()
200 if (rb->_BaseFormat != _mesa_get_format_base_format(rb->Format)) { in readpixels_can_use_memcpy()
488 } else if (_mesa_get_format_base_format(rb_format) != rb->_BaseFormat) { in read_rgba_pixels()
Dtexstore.c802 if (_mesa_get_format_base_format(dstFormat) != baseInternalFormat) { in texstore_rgba()
865 if (baseInternalFormat != _mesa_get_format_base_format(dstFormat)) { in _mesa_texstore_can_use_memcpy()
957 && _mesa_get_format_base_format(texFormat) == GL_DEPTH_STENCIL) in get_read_write_mode()
Dtexgetimage.c300 (baseFormat != _mesa_get_format_base_format(texFormat))) { in teximage_needs_rebase()
324 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed()
624 GLenum texBaseFormat = _mesa_get_format_base_format(texImage->TexFormat); in get_tex_memcpy()
1150 baseFormat = _mesa_get_format_base_format(texImage->TexFormat); in teximage_error_check()
Dformats.h649 _mesa_get_format_base_format(uint32_t format);
Dframebuffer.c444 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format); in _mesa_update_framebuffer_visual()
Dformats.c320 _mesa_get_format_base_format(uint32_t format) in _mesa_get_format_base_format() function
/external/mesa3d/docs/relnotes/
D17.1.2.rst93 - r100: Use \_mesa_get_format_base_format in radeon_update_wrapper
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c1564 _mesa_get_format_base_format(texImage->TexFormat)) { in st_TexSubImage()
1616 _mesa_get_format_base_format(mesa_src_format), in st_TexSubImage()
2014 _mesa_get_format_base_format(texImage->TexFormat)) { in st_GetTexSubImage()
2467 GLenum tex_baseformat = _mesa_get_format_base_format(texImage->TexFormat); in st_can_copyteximage_using_blit()
2483 if (rb->_BaseFormat != _mesa_get_format_base_format(rb->Format)) in st_can_copyteximage_using_blit()
Dst_cb_readpixels.c439 _mesa_get_format_base_format(rb->Format)) { in st_ReadPixels()
Dst_format.c1128 _mesa_get_format_base_format(st_pipe_format_to_mesa_format(pf)) == in st_choose_format()
Dst_cb_fbo.c338 strb->Base._BaseFormat = _mesa_get_format_base_format(strb->Base.Format); in st_new_renderbuffer_fb()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c2729 const GLenum baseFormat = _mesa_get_format_base_format(format); in get_temp_image_type()
2876 format = _mesa_get_format_base_format(texImage->TexFormat); in _mesa_meta_CopyTexSubImage()

12