/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_eglimage.c | 49 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/ |
D | glformats.c | 891 _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 …]
|
D | glformats.h | 92 _mesa_base_format_has_channel(GLenum base_format, GLenum pname);
|
D | teximage.c | 4022 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/ |
D | intel_tex_layout.c | 121 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()
|
D | intel_mipmap_tree.c | 201 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()
|
D | brw_blorp_blit.cpp | 1720 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/ |
D | intel_tex_layout.c | 121 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()
|
D | intel_mipmap_tree.c | 201 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/ |
D | intel_tex_layout.c | 121 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()
|
D | intel_mipmap_tree.c | 201 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/ |
D | sp_quad_blend.c | 60 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/ |
D | fx_pngread.c | 3528 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/ |
D | pngread.c | 3798 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()
|