Home
last modified time | relevance | path

Searched refs:mesa_format (Results 1 – 25 of 144) sorted by relevance

123456

/external/mesa3d/src/mesa/main/
Dformats.h660 } mesa_format; typedef
664 _mesa_get_format_name(mesa_format format);
667 _mesa_get_format_bytes(mesa_format format);
670 _mesa_get_format_bits(mesa_format format, GLenum pname);
673 _mesa_get_format_max_bits(mesa_format format);
676 _mesa_get_format_layout(mesa_format format);
679 _mesa_get_format_datatype(mesa_format format);
685 _mesa_get_format_block_size(mesa_format format, GLuint *bw, GLuint *bh);
688 _mesa_get_format_block_size_3d(mesa_format format, GLuint *bw,
695 _mesa_get_format_swizzle(mesa_format format, uint8_t swizzle_out[4]);
[all …]
Dformat_pack.h52 _mesa_get_pack_ubyte_rgba_function(mesa_format format);
56 _mesa_get_pack_float_rgba_function(mesa_format format);
60 _mesa_get_pack_float_z_func(mesa_format format);
64 _mesa_get_pack_uint_z_func(mesa_format format);
68 _mesa_get_pack_ubyte_stencil_func(mesa_format format);
72 _mesa_pack_float_rgba_row(mesa_format format, GLuint n,
76 _mesa_pack_ubyte_rgba_row(mesa_format format, GLuint n,
80 _mesa_pack_uint_rgba_row(mesa_format format, GLuint n,
84 _mesa_pack_ubyte_rgba_rect(mesa_format format, GLuint width, GLuint height,
89 _mesa_pack_float_z_row(mesa_format format, GLuint n,
[all …]
Dformat_unpack.h31 _mesa_unpack_rgba_row(mesa_format format, GLuint n,
35 _mesa_unpack_ubyte_rgba_row(mesa_format format, GLuint n,
39 _mesa_unpack_uint_rgba_row(mesa_format format, GLuint n,
43 _mesa_unpack_rgba_block(mesa_format format,
49 _mesa_unpack_float_z_row(mesa_format format, GLuint n,
54 _mesa_unpack_uint_z_row(mesa_format format, GLuint n,
58 _mesa_unpack_ubyte_stencil_row(mesa_format format, GLuint n,
62 _mesa_unpack_uint_24_8_depth_stencil_row(mesa_format format, GLuint n,
66 _mesa_unpack_float_32_uint_24_8_depth_stencil_row(mesa_format format,
71 _mesa_unpack_depth_stencil_row(mesa_format format, GLuint n,
Dtexcompress.h39 extern mesa_format
43 _mesa_compressed_format_to_glenum(struct gl_context *ctx, mesa_format mesaFormat);
47 mesa_format mesaFormat,
58 _mesa_get_compressed_fetch_func(mesa_format format);
62 _mesa_decompress_image(mesa_format format, GLuint width, GLuint height,
Dformats.c39 mesa_format Name;
83 _mesa_get_format_info(mesa_format format) in _mesa_get_format_info()
94 _mesa_get_format_name(mesa_format format) in _mesa_get_format_name()
110 _mesa_get_format_bytes(mesa_format format) in _mesa_get_format_bytes()
126 _mesa_get_format_bits(mesa_format format, GLenum pname) in _mesa_get_format_bits()
181 _mesa_get_format_max_bits(mesa_format format) in _mesa_get_format_max_bits()
199 _mesa_get_format_layout(mesa_format format) in _mesa_get_format_layout()
217 _mesa_get_format_datatype(mesa_format format) in _mesa_get_format_datatype()
315 _mesa_get_format_block_size(mesa_format format, GLuint *bw, GLuint *bh) in _mesa_get_format_block_size()
335 _mesa_get_format_block_size_3d(mesa_format format, in _mesa_get_format_block_size_3d()
[all …]
Dtexstore.h60 mesa_format dstFormat, \
75 mesa_format dstFormat);
80 mesa_format dstFormat,
90 GLenum baseInternalFormat, mesa_format dstFormat,
145 _mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat,
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.h36 extern mesa_format _radeon_texformat_rgba8888;
37 extern mesa_format _radeon_texformat_argb8888;
38 extern mesa_format _radeon_texformat_rgb565;
39 extern mesa_format _radeon_texformat_argb4444;
40 extern mesa_format _radeon_texformat_argb1555;
41 extern mesa_format _radeon_texformat_al88;
54 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx,
60 mesa_format radeonChooseTextureFormat(struct gl_context * ctx,
72 unsigned radeonIsFormatRenderable(mesa_format mesa_format);
Dradeon_blit.c42 unsigned r100_check_blit(mesa_format mesa_format, uint32_t dst_pitch) in r100_check_blit() argument
46 switch (mesa_format) { in r100_check_blit()
61 switch (mesa_format) { in r100_check_blit()
83 if (_mesa_get_format_bits(mesa_format, GL_DEPTH_BITS) > 0) in r100_check_blit()
113 mesa_format mesa_format, in emit_tx_setup() argument
127 txformat |= tx_table[mesa_format].format; in emit_tx_setup()
153 OUT_BATCH_REGVAL(RADEON_PP_TEX_PITCH_0, pitch * _mesa_get_format_bytes(mesa_format) - 32); in emit_tx_setup()
164 mesa_format mesa_format, in emit_cb_setup() argument
174 switch (mesa_format) { in emit_cb_setup()
336 mesa_format src_mesaformat, in r100_blit()
[all …]
Dradeon_texture.c216 static mesa_format radeonChoose8888TexFormat(radeonContextPtr rmesa, in radeonChoose8888TexFormat()
257 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx, in radeonChooseTextureFormat_mesa()
267 mesa_format radeonChooseTextureFormat(struct gl_context * ctx, in radeonChooseTextureFormat()
519 unsigned radeonIsFormatRenderable(mesa_format mesa_format) in radeonIsFormatRenderable() argument
521 if (mesa_format == _radeon_texformat_argb8888 || mesa_format == _radeon_texformat_rgb565 || in radeonIsFormatRenderable()
522 mesa_format == _radeon_texformat_argb1555 || mesa_format == _radeon_texformat_argb4444) in radeonIsFormatRenderable()
525 switch (mesa_format) in radeonIsFormatRenderable()
594 mesa_format _radeon_texformat_rgba8888 = MESA_FORMAT_NONE;
595 mesa_format _radeon_texformat_argb8888 = MESA_FORMAT_NONE;
596 mesa_format _radeon_texformat_rgb565 = MESA_FORMAT_NONE;
[all …]
Dradeon_blit.h33 unsigned r100_check_blit(mesa_format mesa_format, uint32_t dst_pitch);
38 mesa_format src_mesaformat,
46 mesa_format dst_mesaformat,
Dradeon_tile.h32 mesa_format format, unsigned width, unsigned height);
36 mesa_format format, unsigned width, unsigned height);
38 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height);
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.h36 extern mesa_format _radeon_texformat_rgba8888;
37 extern mesa_format _radeon_texformat_argb8888;
38 extern mesa_format _radeon_texformat_rgb565;
39 extern mesa_format _radeon_texformat_argb4444;
40 extern mesa_format _radeon_texformat_argb1555;
41 extern mesa_format _radeon_texformat_al88;
54 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx,
60 mesa_format radeonChooseTextureFormat(struct gl_context * ctx,
72 unsigned radeonIsFormatRenderable(mesa_format mesa_format);
Dradeon_texture.c216 static mesa_format radeonChoose8888TexFormat(radeonContextPtr rmesa, in radeonChoose8888TexFormat()
257 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx, in radeonChooseTextureFormat_mesa()
267 mesa_format radeonChooseTextureFormat(struct gl_context * ctx, in radeonChooseTextureFormat()
519 unsigned radeonIsFormatRenderable(mesa_format mesa_format) in radeonIsFormatRenderable() argument
521 if (mesa_format == _radeon_texformat_argb8888 || mesa_format == _radeon_texformat_rgb565 || in radeonIsFormatRenderable()
522 mesa_format == _radeon_texformat_argb1555 || mesa_format == _radeon_texformat_argb4444) in radeonIsFormatRenderable()
525 switch (mesa_format) in radeonIsFormatRenderable()
594 mesa_format _radeon_texformat_rgba8888 = MESA_FORMAT_NONE;
595 mesa_format _radeon_texformat_argb8888 = MESA_FORMAT_NONE;
596 mesa_format _radeon_texformat_rgb565 = MESA_FORMAT_NONE;
[all …]
Dr200_blit.h33 unsigned r200_check_blit(mesa_format mesa_format, uint32_t dst_pitch);
38 mesa_format src_mesaformat,
46 mesa_format dst_mesaformat,
Dr200_blit.c42 unsigned r200_check_blit(mesa_format mesa_format, uint32_t dst_pitch) in r200_check_blit() argument
46 switch (mesa_format) { in r200_check_blit()
64 switch (mesa_format) { in r200_check_blit()
89 if (_mesa_get_format_bits(mesa_format, GL_DEPTH_BITS) > 0) in r200_check_blit()
121 mesa_format src_mesa_format, in emit_tx_setup()
122 mesa_format dst_mesa_format, in emit_tx_setup()
313 mesa_format mesa_format, in emit_cb_setup() argument
322 switch (mesa_format) { in emit_cb_setup()
485 mesa_format src_mesaformat, in r200_blit()
493 mesa_format dst_mesaformat, in r200_blit()
Dradeon_tile.h32 mesa_format format, unsigned width, unsigned height);
36 mesa_format format, unsigned width, unsigned height);
38 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height);
Dradeon_common_context.h459 unsigned (*check_blit)(mesa_format mesa_format, uint32_t dst_pitch);
463 mesa_format src_mesaformat,
471 mesa_format dst_mesaformat,
480 unsigned (*is_format_renderable)(mesa_format mesa_format);
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_surface_formats.c32 brw_format_for_mesa_format(mesa_format mesa_format) in brw_format_for_mesa_format() argument
284 assert(mesa_format < MESA_FORMAT_COUNT); in brw_format_for_mesa_format()
285 return table[mesa_format]; in brw_format_for_mesa_format()
294 mesa_format format; in brw_init_surface_formats()
444 static const mesa_format rgbx_formats[] = { in brw_init_surface_formats()
483 mesa_format format = rb->Format; in brw_render_target_supported()
516 mesa_format mesa_format, in translate_tex_format() argument
521 mesa_format = _mesa_get_srgb_format_linear(mesa_format); in translate_tex_format()
523 switch( mesa_format ) { in translate_tex_format()
551 mesa_format = MESA_FORMAT_RGB_DXT1; in translate_tex_format()
[all …]
Dintel_mipmap_tree.h408 mesa_format format;
415 mesa_format etc_format;
703 mesa_format format,
715 mesa_format format,
739 mesa_format format,
744 mesa_format
745 intel_depth_format_for_depthstencil_format(mesa_format format);
747 mesa_format
748 intel_lower_compressed_format(struct brw_context *brw, mesa_format format);
Dintel_fbo.h163 static inline mesa_format
170 intel_create_renderbuffer(mesa_format format, unsigned num_samples);
173 intel_create_private_renderbuffer(mesa_format format, unsigned num_samples);
178 mesa_format format);
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h34 pack_rgba_i(mesa_format f, const uint8_t c[]) in pack_rgba_i()
57 pack_zs_i(mesa_format f, uint32_t z, uint8_t s) in pack_zs_i()
72 pack_rgba_f(mesa_format f, const float c[]) in pack_rgba_f()
82 pack_rgba_clamp_f(mesa_format f, const float c[]) in pack_rgba_clamp_f()
90 pack_zs_f(mesa_format f, float z, uint8_t s) in pack_zs_f()
96 pack_la_clamp_f(mesa_format f, float l, float a) in pack_la_clamp_f()
214 get_format_blocksx(mesa_format format, in get_format_blocksx()
224 get_format_blocksy(mesa_format format, in get_format_blocksy()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_mipmap_tree.h152 mesa_format format;
226 mesa_format format,
238 mesa_format format,
248 mesa_format format,
258 mesa_format format,
264 mesa_format format,
277 mesa_format format,
Dintel_fbo.h122 static inline mesa_format
129 intel_create_renderbuffer(mesa_format format);
132 intel_create_private_renderbuffer(mesa_format format);
137 mesa_format format);
/external/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp45 mesa_format f = (mesa_format) fi; in TEST()
76 mesa_format f = (mesa_format) fi; in TEST()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.h48 st_mesa_format_to_pipe_format(struct st_context *st, mesa_format mesaFormat);
50 extern mesa_format
68 extern mesa_format

123456