Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c177 GLenum base_format; in st_pipe_format_to_base_format() local
181 base_format = GL_DEPTH_STENCIL; in st_pipe_format_to_base_format()
185 base_format = GL_STENCIL_INDEX; in st_pipe_format_to_base_format()
187 base_format = GL_DEPTH_COMPONENT; in st_pipe_format_to_base_format()
193 base_format = GL_RGBA; in st_pipe_format_to_base_format()
195 base_format = GL_RGB; in st_pipe_format_to_base_format()
198 return base_format; in st_pipe_format_to_base_format()
/external/mesa3d/src/mesa/main/
Dformatquery.c644 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
645 switch (base_format) { in _mesa_query_internal_format_default()
654 params[0] = base_format; in _mesa_query_internal_format_default()
666 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
667 if (base_format > 0) in _mesa_query_internal_format_default()
677 GLenum base_format = _mesa_base_tex_format(ctx, internalFormat); in _mesa_query_internal_format_default() local
678 if (base_format > 0) { in _mesa_query_internal_format_default()
680 format = _mesa_base_format_to_integer_format(base_format); in _mesa_query_internal_format_default()
682 format = base_format; in _mesa_query_internal_format_default()
1400 GLint base_format; in _mesa_GetInternalformativ() local
[all …]
Dglformats.c1545 _mesa_base_format_has_channel(GLenum base_format, GLenum pname) in _mesa_base_format_has_channel() argument
1554 if (base_format == GL_RED || in _mesa_base_format_has_channel()
1555 base_format == GL_RG || in _mesa_base_format_has_channel()
1556 base_format == GL_RGB || in _mesa_base_format_has_channel()
1557 base_format == GL_RGBA) { in _mesa_base_format_has_channel()
1567 if (base_format == GL_RG || in _mesa_base_format_has_channel()
1568 base_format == GL_RGB || in _mesa_base_format_has_channel()
1569 base_format == GL_RGBA) { in _mesa_base_format_has_channel()
1579 if (base_format == GL_RGB || in _mesa_base_format_has_channel()
1580 base_format == GL_RGBA) { in _mesa_base_format_has_channel()
[all …]
Dglformats.h124 _mesa_base_format_has_channel(GLenum base_format, GLenum pname);
Dteximage.c830 const GLint base_format =_mesa_base_tex_format(ctx, internalFormat); in _mesa_init_teximage_fields_ms() local
838 assert(base_format != -1); in _mesa_init_teximage_fields_ms()
839 img->_BaseFormat = (GLenum16)base_format; in _mesa_init_teximage_fields_ms()
6273 GLenum base_format = _mesa_get_format_base_format(format); in _mesa_validate_texbuffer_format() local
6274 if (base_format == GL_R || base_format == GL_RG) in _mesa_validate_texbuffer_format()
6279 GLenum base_format = _mesa_get_format_base_format(format); in _mesa_validate_texbuffer_format() local
6280 if (base_format == GL_RGB) in _mesa_validate_texbuffer_format()
/external/mesa3d/src/amd/compiler/
Daco_validate.cpp109 Format base_format = instr->format; in validate_ir() local
110 base_format = (Format)((uint32_t)base_format & ~(uint32_t)Format::SDWA); in validate_ir()
111 base_format = (Format)((uint32_t)base_format & ~(uint32_t)Format::DPP); in validate_ir()
112 if ((uint32_t)base_format & (uint32_t)Format::VOP1) in validate_ir()
113 base_format = Format::VOP1; in validate_ir()
114 else if ((uint32_t)base_format & (uint32_t)Format::VOP2) in validate_ir()
115 base_format = Format::VOP2; in validate_ir()
116 else if ((uint32_t)base_format & (uint32_t)Format::VOPC) in validate_ir()
117 base_format = Format::VOPC; in validate_ir()
118 else if ((uint32_t)base_format & (uint32_t)Format::VINTRP) { in validate_ir()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c60 enum format base_format[PIPE_MAX_COLOR_BUFS]; member
881 rebase_colors(enum format base_format, float (*quadColor)[4]) in rebase_colors() argument
885 switch (base_format) { in rebase_colors()
1003 rebase_colors(bqs->base_format[cbuf], quadColor); in blend_fallback()
1088 rebase_colors(bqs->base_format[0], quadColor); in blend_single_add_src_alpha_inv_src_alpha()
1150 rebase_colors(bqs->base_format[0], quadColor); in blend_single_add_one_one()
1193 rebase_colors(bqs->base_format[0], quadColor); in single_output_color()
1270 bqs->base_format[i] = INTENSITY; in choose_blend_quad()
1272 bqs->base_format[i] = LUMINANCE; in choose_blend_quad()
1274 bqs->base_format[i] = LUMINANCE_ALPHA; in choose_blend_quad()
[all …]
/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() 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()
1188 const GLenum base_format = irb->Base.Base._BaseFormat; in set_write_disables() local
1189 const int components = _mesa_components_in_format(base_format); in set_write_disables()
Dbrw_wm_surface_state.c1152 GLenum base_format = _mesa_get_format_base_format(iobj->_Format); in is_depth_texture() local
1153 return base_format == GL_DEPTH_COMPONENT || in is_depth_texture()
1154 (base_format == GL_DEPTH_STENCIL && !iobj->base.StencilSampling); in is_depth_texture()
DgenX_state_upload.c4958 GLenum base_format,
4964 switch (base_format) {
5011 if (base_format == GL_RGB)
5084 if (base_format == GL_RG) {
5196 mesa_format format, GLenum base_format,
5338 genX(upload_default_color)(brw, sampler, format, base_format,
Dintel_mipmap_tree.c591 const GLenum base_format = _mesa_get_format_base_format(format); in intel_miptree_create_for_bo() local
593 if ((base_format == GL_DEPTH_COMPONENT || in intel_miptree_create_for_bo()
594 base_format == GL_DEPTH_STENCIL)) { in intel_miptree_create_for_bo()
/external/pdfium/third_party/libpng16/
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()
/external/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()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c106 static bool vi_get_fast_clear_parameters(struct si_screen *sscreen, enum pipe_format base_format, in vi_get_fast_clear_parameters() argument
135 bool base_alpha_is_on_msb = vi_alpha_is_on_msb(sscreen, base_format); in vi_get_fast_clear_parameters()