Home
last modified time | relevance | path

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

1234567

/third_party/mesa3d/src/mesa/main/
Dformats.h244 typedef enum pipe_format mesa_format; typedef
634 _mesa_get_format_name(mesa_format format);
637 _mesa_get_format_bytes(mesa_format format);
640 _mesa_get_format_bits(mesa_format format, GLenum pname);
643 _mesa_get_format_max_bits(mesa_format format);
646 _mesa_get_format_layout(mesa_format format);
649 _mesa_get_format_datatype(mesa_format format);
655 _mesa_get_format_block_size(mesa_format format,
659 _mesa_get_format_block_size_3d(mesa_format format, unsigned int *bw,
666 _mesa_get_format_swizzle(mesa_format format, uint8_t swizzle_out[4]);
[all …]
Dformat_unpack.h36 _mesa_unpack_rgba_row(mesa_format format, uint32_t n, in _mesa_unpack_rgba_row()
43 _mesa_unpack_ubyte_rgba_row(mesa_format format, uint32_t n,
47 _mesa_unpack_uint_rgba_row(mesa_format format, uint32_t n, in _mesa_unpack_uint_rgba_row()
54 _mesa_unpack_float_z_row(mesa_format format, uint32_t n, in _mesa_unpack_float_z_row()
62 _mesa_unpack_uint_z_row(mesa_format format, uint32_t n, in _mesa_unpack_uint_z_row()
69 _mesa_unpack_ubyte_stencil_row(mesa_format format, uint32_t n, in _mesa_unpack_ubyte_stencil_row()
76 _mesa_unpack_uint_24_8_depth_stencil_row(mesa_format format, uint32_t n,
80 _mesa_unpack_float_32_uint_24_8_depth_stencil_row(mesa_format format,
Dformats.c40 mesa_format Name;
84 _mesa_get_format_info(mesa_format format) in _mesa_get_format_info()
102 _mesa_get_format_name(mesa_format format) in _mesa_get_format_name()
120 _mesa_get_format_bytes(mesa_format format) in _mesa_get_format_bytes()
141 _mesa_get_format_bits(mesa_format format, GLenum pname) in _mesa_get_format_bits()
196 _mesa_get_format_max_bits(mesa_format format) in _mesa_get_format_max_bits()
214 _mesa_get_format_layout(mesa_format format) in _mesa_get_format_layout()
232 _mesa_get_format_datatype(mesa_format format) in _mesa_get_format_datatype()
339 _mesa_get_format_block_size(mesa_format format, in _mesa_get_format_block_size()
360 _mesa_get_format_block_size_3d(mesa_format format, in _mesa_get_format_block_size_3d()
[all …]
Dformat_pack.h38 _mesa_pack_float_rgba_row(mesa_format format, uint32_t n, in _mesa_pack_float_rgba_row()
45 _mesa_pack_ubyte_rgba_row(mesa_format format, uint32_t n, in _mesa_pack_ubyte_rgba_row()
53 _mesa_pack_uint_rgba_row(mesa_format format, uint32_t n, in _mesa_pack_uint_rgba_row()
60 _mesa_pack_float_z_row(mesa_format format, uint32_t n, in _mesa_pack_float_z_row()
67 _mesa_pack_uint_z_row(mesa_format format, uint32_t n, in _mesa_pack_uint_z_row()
74 _mesa_pack_ubyte_stencil_row(mesa_format format, uint32_t n, in _mesa_pack_ubyte_stencil_row()
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,
Dtexstore.h64 UNUSED mesa_format dstFormat, \
79 UNUSED mesa_format dstFormat, \
93 mesa_format dstFormat);
98 mesa_format dstFormat,
108 GLenum baseInternalFormat, mesa_format dstFormat,
163 _mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat,
/third_party/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;
53 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx,
59 mesa_format radeonChooseTextureFormat(struct gl_context * ctx,
71 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
45 switch (mesa_format) { in r100_check_blit()
74 if (_mesa_get_format_bits(mesa_format, GL_DEPTH_BITS) > 0) in r100_check_blit()
104 mesa_format mesa_format, in emit_tx_setup() argument
118 txformat |= tx_table[mesa_format].format; in emit_tx_setup()
144 OUT_BATCH_REGVAL(RADEON_PP_TEX_PITCH_0, pitch * _mesa_get_format_bytes(mesa_format) - 32); in emit_tx_setup()
155 mesa_format mesa_format, in emit_cb_setup() argument
165 switch (mesa_format) { in emit_cb_setup()
327 mesa_format src_mesaformat, in r100_blit()
335 mesa_format dst_mesaformat, in r100_blit()
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_texture.c215 static mesa_format radeonChoose8888TexFormat(radeonContextPtr rmesa, in radeonChoose8888TexFormat()
256 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx, in radeonChooseTextureFormat_mesa()
266 mesa_format radeonChooseTextureFormat(struct gl_context * ctx, in radeonChooseTextureFormat()
518 unsigned radeonIsFormatRenderable(mesa_format mesa_format) in radeonIsFormatRenderable() argument
520 if (mesa_format == _radeon_texformat_argb8888 || mesa_format == _radeon_texformat_rgb565 || in radeonIsFormatRenderable()
521 mesa_format == _radeon_texformat_argb1555 || mesa_format == _radeon_texformat_argb4444) in radeonIsFormatRenderable()
524 switch (mesa_format) in radeonIsFormatRenderable()
593 mesa_format _radeon_texformat_rgba8888 = MESA_FORMAT_NONE;
594 mesa_format _radeon_texformat_argb8888 = MESA_FORMAT_NONE;
595 mesa_format _radeon_texformat_rgb565 = MESA_FORMAT_NONE;
[all …]
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);
/third_party/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;
53 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx,
59 mesa_format radeonChooseTextureFormat(struct gl_context * ctx,
71 unsigned radeonIsFormatRenderable(mesa_format mesa_format);
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,
Dradeon_texture.c215 static mesa_format radeonChoose8888TexFormat(radeonContextPtr rmesa, in radeonChoose8888TexFormat()
256 mesa_format radeonChooseTextureFormat_mesa(struct gl_context * ctx, in radeonChooseTextureFormat_mesa()
266 mesa_format radeonChooseTextureFormat(struct gl_context * ctx, in radeonChooseTextureFormat()
518 unsigned radeonIsFormatRenderable(mesa_format mesa_format) in radeonIsFormatRenderable() argument
520 if (mesa_format == _radeon_texformat_argb8888 || mesa_format == _radeon_texformat_rgb565 || in radeonIsFormatRenderable()
521 mesa_format == _radeon_texformat_argb1555 || mesa_format == _radeon_texformat_argb4444) in radeonIsFormatRenderable()
524 switch (mesa_format) in radeonIsFormatRenderable()
593 mesa_format _radeon_texformat_rgba8888 = MESA_FORMAT_NONE;
594 mesa_format _radeon_texformat_argb8888 = MESA_FORMAT_NONE;
595 mesa_format _radeon_texformat_rgb565 = MESA_FORMAT_NONE;
[all …]
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);
Dr200_blit.c42 unsigned r200_check_blit(mesa_format mesa_format, uint32_t dst_pitch) in r200_check_blit() argument
45 switch (mesa_format) { in r200_check_blit()
77 if (_mesa_get_format_bits(mesa_format, GL_DEPTH_BITS) > 0) in r200_check_blit()
109 mesa_format src_mesa_format,
110 mesa_format dst_mesa_format,
303 mesa_format mesa_format, argument
312 switch (mesa_format) {
475 mesa_format src_mesaformat,
483 mesa_format dst_mesaformat,
/third_party/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c894 mesa_format mesa_format; member
899 .mesa_format = MESA_FORMAT_B5G6R5_UNORM,
904 .mesa_format = MESA_FORMAT_B5G5R5A1_UNORM,
909 .mesa_format = MESA_FORMAT_B8G8R8X8_UNORM,
914 .mesa_format = MESA_FORMAT_RGBA_FLOAT16,
919 .mesa_format = MESA_FORMAT_RGBX_FLOAT16,
924 .mesa_format = MESA_FORMAT_B10G10R10A2_UNORM,
929 .mesa_format = MESA_FORMAT_B10G10R10X2_UNORM,
934 .mesa_format = MESA_FORMAT_R10G10B10A2_UNORM,
939 .mesa_format = MESA_FORMAT_R10G10B10X2_UNORM,
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_surface_formats.c32 brw_isl_format_for_mesa_format(mesa_format mesa_format) in brw_isl_format_for_mesa_format() argument
202 assert(mesa_format < MESA_FORMAT_COUNT); in brw_isl_format_for_mesa_format()
203 return table[mesa_format]; in brw_isl_format_for_mesa_format()
210 mesa_format format; in brw_screen_init_surface_formats()
364 static const mesa_format rgbx_formats[] = { in brw_screen_init_surface_formats()
421 mesa_format format = rb->Format; in brw_render_target_supported()
454 mesa_format mesa_format, in translate_tex_format() argument
459 mesa_format = _mesa_get_srgb_format_linear(mesa_format); in translate_tex_format()
461 switch( mesa_format ) { in translate_tex_format()
497 brw_isl_format_for_mesa_format(mesa_format); in translate_tex_format()
[all …]
Dbrw_mipmap_tree.h221 mesa_format format;
376 mesa_format format,
388 mesa_format format,
401 mesa_format format,
420 mesa_format format,
425 mesa_format
426 brw_depth_format_for_depthstencil_format(mesa_format format);
428 mesa_format
429 brw_lower_compressed_format(struct brw_context *brw, mesa_format format);
712 brw_miptree_get_memcpy_type(mesa_format tiledFormat, GLenum format, GLenum type,
Dbrw_fbo.h181 static inline mesa_format
189 mesa_format format, unsigned num_samples);
193 mesa_format format, unsigned num_samples);
198 mesa_format format);
/third_party/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()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_mipmap_tree.h146 mesa_format format;
199 mesa_format format,
211 mesa_format format,
221 mesa_format format,
231 mesa_format format,
237 mesa_format format,
250 mesa_format format,
Dintel_fbo.h118 static inline mesa_format
125 intel_create_renderbuffer(mesa_format format);
128 intel_create_private_renderbuffer(mesa_format format);
133 mesa_format format);
/third_party/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp47 mesa_format f = (mesa_format) fi; in TEST()
74 mesa_format f = (mesa_format) fi; in TEST()
152 static mesa_format fffat_wrap(GLenum format, GLenum type) in fffat_wrap()
157 return (mesa_format)f; in fffat_wrap()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_format.h47 st_mesa_format_to_pipe_format(const struct st_context *st, mesa_format mesaFormat);
49 extern mesa_format
73 extern mesa_format

1234567