Home
last modified time | relevance | path

Searched refs:base_format (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dformatquery.c673 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
674 switch (base_format) { in _mesa_query_internal_format_default()
683 params[0] = base_format; in _mesa_query_internal_format_default()
695 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
696 if (base_format > 0) in _mesa_query_internal_format_default()
706 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
707 if (base_format > 0) { in _mesa_query_internal_format_default()
709 format = _mesa_base_format_to_integer_format(base_format); in _mesa_query_internal_format_default()
711 format = base_format; in _mesa_query_internal_format_default()
1426 GLint base_format; in _mesa_GetInternalformativ() local
[all …]
Dglformats.c1549 _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 …]
Dglformats.h124 _mesa_base_format_has_channel(GLenum base_format, GLenum pname);
Dteximage.c832 const GLint base_format =_mesa_base_tex_format(ctx, internalFormat); in _mesa_init_teximage_fields_ms() local
840 assert(base_format != -1); in _mesa_init_teximage_fields_ms()
841 img->_BaseFormat = (GLenum16)base_format; in _mesa_init_teximage_fields_ms()
6283 GLenum base_format = _mesa_get_format_base_format(format); in _mesa_validate_texbuffer_format() local
6284 if (base_format == GL_R || base_format == GL_RG) in _mesa_validate_texbuffer_format()
6289 GLenum base_format = _mesa_get_format_base_format(format); in _mesa_validate_texbuffer_format() local
6290 if (base_format == GL_RGB) in _mesa_validate_texbuffer_format()
/third_party/mesa3d/src/amd/compiler/
Daco_validate.cpp117 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::DPP16); in validate_ir()
120 base_format = (Format)((uint32_t)base_format & ~(uint32_t)Format::DPP8); in validate_ir()
121 if ((uint32_t)base_format & (uint32_t)Format::VOP1) in validate_ir()
122 base_format = Format::VOP1; in validate_ir()
123 else if ((uint32_t)base_format & (uint32_t)Format::VOP2) in validate_ir()
124 base_format = Format::VOP2; in validate_ir()
125 else if ((uint32_t)base_format & (uint32_t)Format::VOPC) in validate_ir()
126 base_format = Format::VOPC; in validate_ir()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c205 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/gallium/drivers/softpipe/
Dsp_quad_blend.c60 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/flutter/skia/third_party/externals/libpng/
Dpngread.c3694 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/libpng/
Dpngread.c3694 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/
Dvertex_pulling.cc708 VertexFormat base_format, in LoadVec()
715 LoadPrimitive(array_base, primitive_offset, buffer, base_format)); in LoadVec()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c185 static bool gfx8_get_dcc_clear_parameters(struct si_screen *sscreen, enum pipe_format base_format, in gfx8_get_dcc_clear_parameters() argument
214 bool base_alpha_is_on_msb = vi_alpha_is_on_msb(sscreen, base_format); in gfx8_get_dcc_clear_parameters()