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.c49 GLenum base_format; in st_pipe_format_to_base_format() local
53 base_format = GL_DEPTH_STENCIL; in st_pipe_format_to_base_format()
57 base_format = GL_STENCIL_INDEX; in st_pipe_format_to_base_format()
59 base_format = GL_DEPTH_COMPONENT; in st_pipe_format_to_base_format()
65 base_format = GL_RGBA; in st_pipe_format_to_base_format()
67 base_format = GL_RGB; in st_pipe_format_to_base_format()
70 return base_format; in st_pipe_format_to_base_format()
/external/mesa3d/src/mesa/main/
Dglformats.c891 _mesa_base_format_has_channel(GLenum base_format, GLenum pname) in _mesa_base_format_has_channel() argument
898 if (base_format == GL_RED || in _mesa_base_format_has_channel()
899 base_format == GL_RG || in _mesa_base_format_has_channel()
900 base_format == GL_RGB || in _mesa_base_format_has_channel()
901 base_format == GL_RGBA) { in _mesa_base_format_has_channel()
909 if (base_format == GL_RG || in _mesa_base_format_has_channel()
910 base_format == GL_RGB || in _mesa_base_format_has_channel()
911 base_format == GL_RGBA) { in _mesa_base_format_has_channel()
919 if (base_format == GL_RGB || in _mesa_base_format_has_channel()
920 base_format == GL_RGBA) { in _mesa_base_format_has_channel()
[all …]
Dglformats.h92 _mesa_base_format_has_channel(GLenum base_format, GLenum pname);
Dteximage.c4022 GLenum base_format = _mesa_get_format_base_format(format); in validate_texbuffer_format() local
4024 if (base_format == GL_R || base_format == GL_RG) in validate_texbuffer_format()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_layout.c121 GLenum base_format = _mesa_get_format_base_format(format); in intel_vertical_texture_alignment_unit() local
124 (base_format == GL_DEPTH_COMPONENT || in intel_vertical_texture_alignment_unit()
125 base_format == GL_DEPTH_STENCIL)) { in intel_vertical_texture_alignment_unit()
Dintel_mipmap_tree.c201 GLenum base_format; in intel_miptree_create() local
210 base_format = _mesa_get_format_base_format(format); in intel_miptree_create()
214 (base_format == GL_DEPTH_COMPONENT || in intel_miptree_create()
215 base_format == GL_DEPTH_STENCIL_EXT)) in intel_miptree_create()
354 GLenum base_format = _mesa_get_format_base_format(format); in intel_miptree_create_for_dri2_buffer() local
362 assert(base_format == GL_RGB || base_format == GL_RGBA); in intel_miptree_create_for_dri2_buffer()
Dbrw_blorp_blit.cpp1720 GLenum base_format = _mesa_get_format_base_format(src_mt->format); in brw_blorp_blit_params() local
1721 if (base_format != GL_DEPTH_COMPONENT && /* TODO: what about depth/stencil? */ in brw_blorp_blit_params()
1722 base_format != GL_STENCIL_INDEX && in brw_blorp_blit_params()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_layout.c121 GLenum base_format = _mesa_get_format_base_format(format); in intel_vertical_texture_alignment_unit() local
124 (base_format == GL_DEPTH_COMPONENT || in intel_vertical_texture_alignment_unit()
125 base_format == GL_DEPTH_STENCIL)) { in intel_vertical_texture_alignment_unit()
Dintel_mipmap_tree.c201 GLenum base_format; in intel_miptree_create() local
210 base_format = _mesa_get_format_base_format(format); in intel_miptree_create()
214 (base_format == GL_DEPTH_COMPONENT || in intel_miptree_create()
215 base_format == GL_DEPTH_STENCIL_EXT)) in intel_miptree_create()
354 GLenum base_format = _mesa_get_format_base_format(format); in intel_miptree_create_for_dri2_buffer() local
362 assert(base_format == GL_RGB || base_format == GL_RGBA); in intel_miptree_create_for_dri2_buffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_layout.c121 GLenum base_format = _mesa_get_format_base_format(format); in intel_vertical_texture_alignment_unit() local
124 (base_format == GL_DEPTH_COMPONENT || in intel_vertical_texture_alignment_unit()
125 base_format == GL_DEPTH_STENCIL)) { in intel_vertical_texture_alignment_unit()
Dintel_mipmap_tree.c201 GLenum base_format; in intel_miptree_create() local
210 base_format = _mesa_get_format_base_format(format); in intel_miptree_create()
214 (base_format == GL_DEPTH_COMPONENT || in intel_miptree_create()
215 base_format == GL_DEPTH_STENCIL_EXT)) in intel_miptree_create()
354 GLenum base_format = _mesa_get_format_base_format(format); in intel_miptree_create_for_dri2_buffer() local
362 assert(base_format == GL_RGB || base_format == GL_RGBA); in intel_miptree_create_for_dri2_buffer()
/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()
1004 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()
1266 bqs->base_format[i] = INTENSITY; in choose_blend_quad()
1268 bqs->base_format[i] = LUMINANCE; in choose_blend_quad()
1270 bqs->base_format[i] = LUMINANCE_ALPHA; in choose_blend_quad()
[all …]
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngread.c3528 png_uint_32 base_format = png_image_format(png_ptr) & in png_image_read_direct() local
3530 png_uint_32 change = format ^ base_format; in png_image_read_direct()
3556 if (base_format & PNG_FORMAT_FLAG_ALPHA) in png_image_read_direct()
3571 if ((base_format & PNG_FORMAT_FLAG_LINEAR) && in png_image_read_direct()
3588 if (base_format & PNG_FORMAT_FLAG_ALPHA) in png_image_read_direct()
3650 if (base_format & PNG_FORMAT_FLAG_ALPHA) in png_image_read_direct()
/external/libpng/
Dpngread.c3798 png_uint_32 base_format = png_image_format(png_ptr) & in png_image_read_direct() local
3800 png_uint_32 change = format ^ base_format; in png_image_read_direct()
3826 if (base_format & PNG_FORMAT_FLAG_ALPHA) in png_image_read_direct()
3841 if ((base_format & PNG_FORMAT_FLAG_LINEAR) && in png_image_read_direct()
3858 if (base_format & PNG_FORMAT_FLAG_ALPHA) in png_image_read_direct()
3920 if (base_format & PNG_FORMAT_FLAG_ALPHA) in png_image_read_direct()