Home
last modified time | relevance | path

Searched refs:texFormat (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dtexparam.c994 gl_format texFormat; in get_tex_level_parameter_image() local
1006 texFormat = img->TexFormat; in get_tex_level_parameter_image()
1019 if (_mesa_is_format_compressed(texFormat)) { in get_tex_level_parameter_image()
1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); in get_tex_level_parameter_image()
1050 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1057 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1060 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1062 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1073 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1079 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
[all …]
Dtexstorage.c133 gl_format texFormat; in setup_texstorage() local
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in setup_texstorage()
161 0, internalFormat, texFormat); in setup_texstorage()
Dtexgetimage.c229 const gl_format texFormat = in get_tex_rgba_compressed() local
231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed()
258 _mesa_decompress_image(texFormat, width, height, in get_tex_rgba_compressed()
323 const gl_format texFormat = in get_tex_rgba_uncompressed() local
388 _mesa_unpack_uint_rgba_row(texFormat, width, src, rgba_uint); in get_tex_rgba_uncompressed()
401 _mesa_unpack_rgba_row(texFormat, width, src, rgba); in get_tex_rgba_uncompressed()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dtexparam.c994 gl_format texFormat; in get_tex_level_parameter_image() local
1006 texFormat = img->TexFormat; in get_tex_level_parameter_image()
1019 if (_mesa_is_format_compressed(texFormat)) { in get_tex_level_parameter_image()
1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); in get_tex_level_parameter_image()
1050 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1057 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1060 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1062 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1073 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1079 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
[all …]
Dtexstorage.c133 gl_format texFormat; in setup_texstorage() local
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in setup_texstorage()
161 0, internalFormat, texFormat); in setup_texstorage()
Dtexgetimage.c229 const gl_format texFormat = in get_tex_rgba_compressed() local
231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed()
258 _mesa_decompress_image(texFormat, width, height, in get_tex_rgba_compressed()
323 const gl_format texFormat = in get_tex_rgba_uncompressed() local
388 _mesa_unpack_uint_rgba_row(texFormat, width, src, rgba_uint); in get_tex_rgba_uncompressed()
401 _mesa_unpack_rgba_row(texFormat, width, src, rgba); in get_tex_rgba_uncompressed()
Dteximage.c2998 gl_format texFormat = MESA_FORMAT_NONE; in teximage() local
3006 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level, in teximage()
3008 if (!legal_texture_size(ctx, texFormat, width, height, depth)) { in teximage()
3022 border, internalFormat, texFormat); in teximage()
3062 gl_format texFormat; in teximage() local
3066 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level, in teximage()
3070 if (legal_texture_size(ctx, texFormat, width, height, depth)) { in teximage()
3073 border, internalFormat, texFormat); in teximage()
3345 get_copy_tex_image_source(struct gl_context *ctx, gl_format texFormat) in get_copy_tex_image_source() argument
3347 if (_mesa_get_format_bits(texFormat, GL_DEPTH_BITS) > 0) { in get_copy_tex_image_source()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_eglimage.c108 gl_format texFormat; in st_bind_surface() local
125 texFormat = st_pipe_format_to_mesa_format(ps->format); in st_bind_surface()
129 texFormat); in st_bind_surface()
Dst_atom_texture.c221 const gl_format texFormat = firstImage->base.TexFormat; in update_single_texture() local
223 st_mesa_format_to_pipe_format(texFormat); in update_single_texture()
226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) { in update_single_texture()
231 _mesa_get_srgb_format_linear(texFormat); in update_single_texture()
Dst_cb_drawpixels.c463 enum pipe_format texFormat) in alloc_texture() argument
467 pt = st_texture_create(st, st->internal_target, texFormat, 0, in alloc_texture()
1428 enum pipe_format srcFormat, texFormat; in st_CopyPixels() local
1504 texFormat = srcFormat; in st_CopyPixels()
1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT, in st_CopyPixels()
1512 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels()
1516 texFormat = st_choose_format(screen, GL_RGBA, in st_CopyPixels()
1519 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels()
1552 pt = alloc_texture(st, width, height, texFormat); in st_CopyPixels()
1564 if (srcFormat == texFormat) { in st_CopyPixels()
Dst_cb_fbo.c512 gl_format texFormat; in st_validate_attachment() local
526 texFormat = _mesa_get_attachment_teximage_const(att)->TexFormat; in st_validate_attachment()
532 _mesa_get_format_color_encoding(texFormat) == GL_SRGB) { in st_validate_attachment()
533 const gl_format linearFormat = _mesa_get_srgb_format_linear(texFormat); in st_validate_attachment()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c108 gl_format texFormat; in st_bind_surface() local
125 texFormat = st_pipe_format_to_mesa_format(ps->format); in st_bind_surface()
129 texFormat); in st_bind_surface()
Dst_atom_texture.c221 const gl_format texFormat = firstImage->base.TexFormat; in update_single_texture() local
223 st_mesa_format_to_pipe_format(texFormat); in update_single_texture()
226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) { in update_single_texture()
231 _mesa_get_srgb_format_linear(texFormat); in update_single_texture()
Dst_cb_drawpixels.c463 enum pipe_format texFormat) in alloc_texture() argument
467 pt = st_texture_create(st, st->internal_target, texFormat, 0, in alloc_texture()
1428 enum pipe_format srcFormat, texFormat; in st_CopyPixels() local
1504 texFormat = srcFormat; in st_CopyPixels()
1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT, in st_CopyPixels()
1512 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels()
1516 texFormat = st_choose_format(screen, GL_RGBA, in st_CopyPixels()
1519 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels()
1552 pt = alloc_texture(st, width, height, texFormat); in st_CopyPixels()
1564 if (srcFormat == texFormat) { in st_CopyPixels()
Dst_cb_fbo.c512 gl_format texFormat; in st_validate_attachment() local
526 texFormat = _mesa_get_attachment_teximage_const(att)->TexFormat; in st_validate_attachment()
532 _mesa_get_format_color_encoding(texFormat) == GL_SRGB) { in st_validate_attachment()
533 const gl_format linearFormat = _mesa_get_srgb_format_linear(texFormat); in st_validate_attachment()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_tex_image.c280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2()
306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2()
310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2()
316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c617 gl_format texFormat; in radeonSetTexBuffer2() local
663 texFormat = MESA_FORMAT_RGB888; in radeonSetTexBuffer2()
667 texFormat = MESA_FORMAT_ARGB8888; in radeonSetTexBuffer2()
673 texFormat = MESA_FORMAT_RGB888; in radeonSetTexBuffer2()
678 texFormat = MESA_FORMAT_RGB565; in radeonSetTexBuffer2()
687 rb->cpp, texFormat); in radeonSetTexBuffer2()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c617 gl_format texFormat; in radeonSetTexBuffer2() local
663 texFormat = MESA_FORMAT_RGB888; in radeonSetTexBuffer2()
667 texFormat = MESA_FORMAT_ARGB8888; in radeonSetTexBuffer2()
673 texFormat = MESA_FORMAT_RGB888; in radeonSetTexBuffer2()
678 texFormat = MESA_FORMAT_RGB565; in radeonSetTexBuffer2()
687 rb->cpp, texFormat); in radeonSetTexBuffer2()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/swrast/
Dswrast.c74 gl_format texFormat; in swrastSetTexBuffer2() local
90 texFormat = MESA_FORMAT_XRGB8888; in swrastSetTexBuffer2()
92 texFormat = MESA_FORMAT_ARGB8888; in swrastSetTexBuffer2()
95 w, h, 1, 0, internalFormat, texFormat); in swrastSetTexBuffer2()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c74 gl_format texFormat; in swrastSetTexBuffer2() local
90 texFormat = MESA_FORMAT_XRGB8888; in swrastSetTexBuffer2()
92 texFormat = MESA_FORMAT_ARGB8888; in swrastSetTexBuffer2()
95 w, h, 1, 0, internalFormat, texFormat); in swrastSetTexBuffer2()

12