/third_party/mesa3d/src/mesa/main/ |
D | formatquery.c | 654 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local 655 switch (base_format) { in _mesa_query_internal_format_default() 664 params[0] = base_format; in _mesa_query_internal_format_default() 676 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local 677 if (base_format > 0) in _mesa_query_internal_format_default() 687 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local 688 if (base_format > 0) { in _mesa_query_internal_format_default() 690 format = _mesa_base_format_to_integer_format(base_format); in _mesa_query_internal_format_default() 692 format = base_format; in _mesa_query_internal_format_default() 1410 GLint base_format; in _mesa_GetInternalformativ() local [all …]
|
D | glformats.c | 1549 _mesa_base_format_has_channel(GLenum base_format, GLenum pname) in _mesa_base_format_has_channel() argument 1558 if (base_format == GL_RED || in _mesa_base_format_has_channel() 1559 base_format == GL_RG || in _mesa_base_format_has_channel() 1560 base_format == GL_RGB || in _mesa_base_format_has_channel() 1561 base_format == GL_RGBA) { in _mesa_base_format_has_channel() 1571 if (base_format == GL_RG || in _mesa_base_format_has_channel() 1572 base_format == GL_RGB || in _mesa_base_format_has_channel() 1573 base_format == GL_RGBA) { in _mesa_base_format_has_channel() 1583 if (base_format == GL_RGB || in _mesa_base_format_has_channel() 1584 base_format == GL_RGBA) { in _mesa_base_format_has_channel() [all …]
|
D | glformats.h | 124 _mesa_base_format_has_channel(GLenum base_format, GLenum pname);
|
D | teximage.c | 831 const GLint base_format =_mesa_base_tex_format(ctx, internalFormat); in _mesa_init_teximage_fields_ms() local 839 assert(base_format != -1); in _mesa_init_teximage_fields_ms() 840 img->_BaseFormat = (GLenum16)base_format; in _mesa_init_teximage_fields_ms() 6319 GLenum base_format = _mesa_get_format_base_format(format); in _mesa_validate_texbuffer_format() local 6320 if (base_format == GL_R || base_format == GL_RG) in _mesa_validate_texbuffer_format() 6325 GLenum base_format = _mesa_get_format_base_format(format); in _mesa_validate_texbuffer_format() local 6326 if (base_format == GL_RGB) in _mesa_validate_texbuffer_format()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_eglimage.c | 205 GLenum base_format; in st_pipe_format_to_base_format() local 209 base_format = GL_DEPTH_STENCIL; in st_pipe_format_to_base_format() 213 base_format = GL_STENCIL_INDEX; in st_pipe_format_to_base_format() 215 base_format = GL_DEPTH_COMPONENT; in st_pipe_format_to_base_format() 221 base_format = GL_RGBA; in st_pipe_format_to_base_format() 223 base_format = GL_RGB; in st_pipe_format_to_base_format() 226 return base_format; in st_pipe_format_to_base_format()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_validate.cpp | 117 Format base_format = instr->format; in validate_ir() local 118 base_format = (Format)((uint32_t)base_format & ~(uint32_t)Format::SDWA); in validate_ir() 119 base_format = (Format)((uint32_t)base_format & ~(uint32_t)Format::DPP); in validate_ir() 120 if ((uint32_t)base_format & (uint32_t)Format::VOP1) in validate_ir() 121 base_format = Format::VOP1; in validate_ir() 122 else if ((uint32_t)base_format & (uint32_t)Format::VOP2) in validate_ir() 123 base_format = Format::VOP2; in validate_ir() 124 else if ((uint32_t)base_format & (uint32_t)Format::VOPC) in validate_ir() 125 base_format = Format::VOPC; in validate_ir() 126 else if ((uint32_t)base_format & (uint32_t)Format::VINTRP) { in validate_ir() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_blend.c | 60 enum format base_format[PIPE_MAX_COLOR_BUFS]; member 883 rebase_colors(enum format base_format, float (*quadColor)[4]) in rebase_colors() argument 887 switch (base_format) { in rebase_colors() 1005 rebase_colors(bqs->base_format[cbuf], quadColor); in blend_fallback() 1090 rebase_colors(bqs->base_format[0], quadColor); in blend_single_add_src_alpha_inv_src_alpha() 1152 rebase_colors(bqs->base_format[0], quadColor); in blend_single_add_one_one() 1195 rebase_colors(bqs->base_format[0], quadColor); in single_output_color() 1272 bqs->base_format[i] = INTENSITY; in choose_blend_quad() 1274 bqs->base_format[i] = LUMINANCE; in choose_blend_quad() 1276 bqs->base_format[i] = LUMINANCE_ALPHA; in choose_blend_quad() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_blorp.c | 350 GLenum base_format = _mesa_get_format_base_format(src_mt->format); in brw_blorp_blit_miptrees() local 351 if (base_format == GL_DEPTH_COMPONENT || in brw_blorp_blit_miptrees() 352 base_format == GL_STENCIL_INDEX || in brw_blorp_blit_miptrees() 353 base_format == GL_DEPTH_STENCIL || in brw_blorp_blit_miptrees() 1175 const GLenum base_format = irb->Base.Base._BaseFormat; in set_write_disables() local 1176 const int components = _mesa_components_in_format(base_format); in set_write_disables()
|
D | brw_wm_surface_state.c | 1162 GLenum base_format = _mesa_get_format_base_format(iobj->_Format); in is_depth_texture() local 1163 return base_format == GL_DEPTH_COMPONENT || in is_depth_texture() 1164 (base_format == GL_DEPTH_STENCIL && !iobj->base.StencilSampling); in is_depth_texture()
|
D | genX_state_upload.c | 4951 GLenum base_format, 4957 switch (base_format) { 5004 if (base_format == GL_RGB) 5077 if (base_format == GL_RG) { 5189 mesa_format format, GLenum base_format, 5331 genX(upload_default_color)(brw, sampler, format, base_format,
|
D | brw_mipmap_tree.c | 591 const GLenum base_format = _mesa_get_format_base_format(format); in brw_miptree_create_for_bo() local 593 if ((base_format == GL_DEPTH_COMPONENT || in brw_miptree_create_for_bo() 594 base_format == GL_DEPTH_STENCIL)) { in brw_miptree_create_for_bo()
|
/third_party/skia/third_party/externals/libpng/ |
D | pngread.c | 3694 png_uint_32 base_format = png_image_format(png_ptr) & in png_image_read_direct() local 3696 png_uint_32 change = format ^ base_format; in png_image_read_direct() 3722 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct() 3737 if ((base_format & PNG_FORMAT_FLAG_LINEAR) != 0 && in png_image_read_direct() 3754 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct() 3822 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct()
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngread.c | 3694 png_uint_32 base_format = png_image_format(png_ptr) & in png_image_read_direct() local 3696 png_uint_32 change = format ^ base_format; in png_image_read_direct() 3722 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct() 3737 if ((base_format & PNG_FORMAT_FLAG_LINEAR) != 0 && in png_image_read_direct() 3754 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct() 3822 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct()
|
/third_party/libpng/ |
D | pngread.c | 3694 png_uint_32 base_format = png_image_format(png_ptr) & in png_image_read_direct() local 3696 png_uint_32 change = format ^ base_format; in png_image_read_direct() 3722 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct() 3737 if ((base_format & PNG_FORMAT_FLAG_LINEAR) != 0 && in png_image_read_direct() 3754 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct() 3822 if ((base_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_direct()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | vertex_pulling.cc | 708 VertexFormat base_format, in LoadVec() 715 LoadPrimitive(array_base, primitive_offset, buffer, base_format)); in LoadVec()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_clear.c | 183 static bool vi_get_fast_clear_parameters(struct si_screen *sscreen, enum pipe_format base_format, in vi_get_fast_clear_parameters() argument 212 bool base_alpha_is_on_msb = vi_alpha_is_on_msb(sscreen, base_format); in vi_get_fast_clear_parameters()
|