Home
last modified time | relevance | path

Searched refs:TexFormat (Results 1 – 25 of 63) sorted by relevance

123

/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderImageSizeTests.cpp400 GLenum TexFormat();
403 GLenum TexFormat<vec4>() in TexFormat() function
409 GLenum TexFormat<ivec4>() in TexFormat() function
415 GLenum TexFormat<uvec4>() in TexFormat() function
1029 …glTexImage3D(target[i], 0, TexInternalFormat<T>(), 2, 2, 7, 0, TexFormat<T>(), TexType<T>(), NULL); in Run()
1030 …glTexImage3D(target[i], 1, TexInternalFormat<T>(), 1, 1, 7, 0, TexFormat<T>(), TexType<T>(), NULL); in Run()
1035 …glTexImage3D(target[i], 0, TexInternalFormat<T>(), 4, 4, 2, 0, TexFormat<T>(), TexType<T>(), NULL); in Run()
1036 …glTexImage3D(target[i], 1, TexInternalFormat<T>(), 2, 2, 1, 0, TexFormat<T>(), TexType<T>(), NULL); in Run()
1037 …glTexImage3D(target[i], 2, TexInternalFormat<T>(), 1, 1, 1, 0, TexFormat<T>(), TexType<T>(), NULL); in Run()
1042 …glTexImage3D(target[i], 0, TexInternalFormat<T>(), 2, 2, 12, 0, TexFormat<T>(), TexType<T>(), NULL… in Run()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_image.c120 intelImage->base.Base.TexFormat, in intel_miptree_create_for_teximage()
144 _mesa_get_format_base_format(tex_image->TexFormat)) in intel_texsubimage_blorp()
147 return brw_blorp_upload_miptree(brw, intel_image->mt, tex_image->TexFormat, in intel_texsubimage_blorp()
225 copy_type = intel_miptree_get_memcpy_type(texImage->TexFormat, format, type, in intel_texsubimage_tiled_memcpy()
284 format, type, texImage->TexFormat, image->mt->surf.tiling, in intel_texsubimage_tiled_memcpy()
363 __func__, _mesa_get_format_name(texImage->TexFormat), in intelTexImage()
393 __func__, _mesa_get_format_name(texImage->TexFormat), in intelTexSubImage()
693 intel_texobj->_Format = texImage->TexFormat; in intel_image_target_tex_storage()
710 _mesa_get_format_base_format(tex_image->TexFormat)) in intel_gettexsubimage_blorp()
714 tex_image->TexFormat, SWIZZLE_XYZW, in intel_gettexsubimage_blorp()
[all …]
Dintel_tex_validate.c150 _mesa_get_format_name(firstImage->base.Base.TexFormat), in intel_finalize_mipmap_tree()
155 firstImage->base.Base.TexFormat, in intel_finalize_mipmap_tree()
191 intelObj->_Format = firstImage->base.Base.TexFormat, in intel_finalize_mipmap_tree()
Dintel_tex.c150 first_image->TexFormat, in intel_alloc_texture_storage()
180 intel_texobj->_Format = first_image->TexFormat; in intel_alloc_texture_storage()
301 intel_lower_compressed_format(brw, texObj->Image[0][0]->TexFormat)); in intel_texture_view()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c282 if (!st_compressed_format_fallback(st, texImage->TexFormat)) in compressed_tex_fallback_allocate()
291 unsigned data_size = _mesa_format_image_size(texImage->TexFormat, in compressed_tex_fallback_allocate()
327 if (st_compressed_format_fallback(st, texImage->TexFormat)) { in st_MapTextureImage()
339 _mesa_get_format_block_size(texImage->TexFormat, &blk_w, &blk_h); in st_MapTextureImage()
343 _mesa_format_row_stride(texImage->TexFormat, texImage->Width2); in st_MapTextureImage()
344 unsigned block_size = _mesa_get_format_bytes(texImage->TexFormat); in st_MapTextureImage()
375 if (st_compressed_format_fallback(st, texImage->TexFormat)) { in st_UnmapTextureImage()
385 if (texImage->TexFormat == MESA_FORMAT_ETC1_RGB8) { in st_UnmapTextureImage()
391 } else if (_mesa_is_format_etc2(texImage->TexFormat)) { in st_UnmapTextureImage()
397 texImage->TexFormat, in st_UnmapTextureImage()
[all …]
Dst_cb_copyimage.c552 bool dst_is_compressed = dst_image && _mesa_is_format_compressed(dst_image->TexFormat); in fallback_copy_image()
553 bool src_is_compressed = src_image && _mesa_is_format_compressed(src_image->TexFormat); in fallback_copy_image()
557 _mesa_get_format_block_size(dst_image->TexFormat, &dst_blk_w, &dst_blk_h); in fallback_copy_image()
559 _mesa_get_format_block_size(src_image->TexFormat, &src_blk_w, &src_blk_h); in fallback_copy_image()
577 line_bytes = _mesa_format_row_stride(src_image->TexFormat, src_w); in fallback_copy_image()
579 line_bytes = _mesa_format_row_stride(dst_image->TexFormat, dst_w); in fallback_copy_image()
680 if ((src_image && st_compressed_format_fallback(st, src_image->TexFormat)) || in st_CopyImageSubData()
681 (dst_image && st_compressed_format_fallback(st, dst_image->TexFormat))) { in st_CopyImageSubData()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c100 bytesPerSlice = _mesa_format_image_size(texImage->TexFormat, texImage->Width, in _swrast_alloc_texture_image_buffer()
109 swImg->RowStride = _mesa_format_row_stride(texImage->TexFormat, in _swrast_alloc_texture_image_buffer()
233 texelSize = _mesa_get_format_bytes(texImage->TexFormat); in _swrast_map_teximage()
234 stride = _mesa_format_row_stride(texImage->TexFormat, texImage->Width); in _swrast_map_teximage()
235 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); in _swrast_map_teximage()
Ds_texfetch.c76 GLuint texelBytes = _mesa_get_format_bytes(swImage->Base.TexFormat); in fetch_compressed()
77 _mesa_get_format_block_size(swImage->Base.TexFormat, &bw, &bh); in fetch_compressed()
313 mesa_format format = texImage->Base.TexFormat; in set_fetch_functions()
Ds_texrender.c43 format = swImage->Base.TexFormat; in update_wrapper()
/external/mesa3d/src/mesa/main/
Dtexgetimage.c106 _mesa_unpack_float_z_row(texImage->TexFormat, width, src, depthRow); in get_tex_depth()
153 _mesa_unpack_uint_24_8_depth_stencil_row(texImage->TexFormat, in get_tex_depth_stencil()
157 _mesa_unpack_float_32_uint_24_8_depth_stencil_row(texImage->TexFormat, in get_tex_depth_stencil()
208 _mesa_unpack_ubyte_stencil_row(texImage->TexFormat, in get_tex_stencil()
254 if ((texImage->TexFormat == MESA_FORMAT_YCBCR in get_tex_ycbcr()
256 (texImage->TexFormat == MESA_FORMAT_YCBCR_REV in get_tex_ycbcr()
323 _mesa_get_srgb_format_linear(texImage->TexFormat); in get_tex_rgba_compressed()
440 _mesa_get_srgb_format_linear(texImage->TexFormat); in get_tex_rgba_uncompressed()
577 const GLenum dataType = _mesa_get_format_datatype(texImage->TexFormat); in get_tex_rgba()
594 if (_mesa_is_format_compressed(texImage->TexFormat)) { in get_tex_rgba()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c175 format = translate_texture_format(firstImage->TexFormat, in i915_update_tex_unit()
263 if (firstImage->TexFormat == MESA_FORMAT_YCBCR || in i915_update_tex_unit()
264 firstImage->TexFormat == MESA_FORMAT_YCBCR_REV) in i915_update_tex_unit()
363 (_mesa_get_srgb_format_linear(firstImage->TexFormat) != in i915_update_tex_unit()
364 firstImage->TexFormat)) { in i915_update_tex_unit()
Dintel_tex_validate.c97 _mesa_get_format_name(firstImage->base.Base.TexFormat), in intel_finalize_mipmap_tree()
102 firstImage->base.Base.TexFormat, in intel_finalize_mipmap_tree()
Dintel_tex_subimage.c85 intel_miptree_create(intel, GL_TEXTURE_2D, texImage->TexFormat, in intel_blit_texsubimage()
97 texImage->TexFormat, in intel_blit_texsubimage()
Di830_texstate.c158 format = translate_texture_format(firstImage->TexFormat); in i830_update_tex_unit()
255 if (firstImage->TexFormat->MesaFormat == MESA_FORMAT_YCBCR || in i830_update_tex_unit()
256 firstImage->TexFormat->MesaFormat == MESA_FORMAT_YCBCR_REV) in i830_update_tex_unit()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c268 (s->bo && s->format == ti->TexFormat && in teximage_fits()
408 if (ti->TexFormat == MESA_FORMAT_A_UNORM8 || in get_teximage_placement()
409 ti->TexFormat == MESA_FORMAT_L_UNORM8 || in get_teximage_placement()
410 ti->TexFormat == MESA_FORMAT_I_UNORM8) in get_teximage_placement()
427 _mesa_compute_compressed_pixelstore(dims, ti->TexFormat, in nouveau_compressed_copy()
460 ti->TexFormat, ti->Width, ti->Height); in nouveau_teximage()
488 ti->TexFormat, in nouveau_teximage()
540 _mesa_is_format_compressed(ti->TexFormat)); in nouveau_teximage_alloc()
579 ti->TexFormat, in nouveau_texsubimage()
Dnv10_state_tex.c93 switch (ti->TexFormat) { in get_tex_format_pot()
134 switch (ti->TexFormat) { in get_tex_format_rect()
Dnouveau_fbo.c305 color->Renderbuffer->TexImage->TexFormat); in nouveau_check_framebuffer_complete()
312 depth->Renderbuffer->TexImage->TexFormat); in nouveau_check_framebuffer_complete()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c82 if (_mesa_is_format_compressed(baseImage->TexFormat)) { in fallback_required()
85 _mesa_get_format_name(baseImage->TexFormat)); in fallback_required()
89 if (_mesa_is_format_srgb(baseImage->TexFormat) && in fallback_required()
230 const bool srgb = _mesa_is_format_srgb(baseImage->TexFormat); in _mesa_meta_GenerateMipmap()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c156 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image()
163 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); in radeon_map_texture_image()
179 …*stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->… in radeon_map_texture_image()
195 *stride = _mesa_format_row_stride(texImage->TexFormat, width); in radeon_map_texture_image()
557 texImage->TexFormat = image->format; in radeon_image_target_texture_2d()
688 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c296 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image()
328 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture()
334 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
346 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
375 texImg->TexFormat, texObj->BaseLevel, in radeon_try_alloc_miptree()
418 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree()
Dradeon_tex_copy.c66 if (_mesa_get_format_bits(timg->base.Base.TexFormat, GL_DEPTH_BITS) > 0) { in do_copy_texsubimage()
98 dst_mesaformat = timg->base.Base.TexFormat; in do_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c156 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); in radeon_map_texture_image()
163 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); in radeon_map_texture_image()
179 …*stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->… in radeon_map_texture_image()
195 *stride = _mesa_format_row_stride(texImage->TexFormat, width); in radeon_map_texture_image()
557 texImage->TexFormat = image->format; in radeon_image_target_texture_2d()
688 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1, in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c296 if (texImage->TexFormat != mt->mesaFormat) in radeon_miptree_matches_image()
328 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture()
334 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
346 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()
375 texImg->TexFormat, texObj->BaseLevel, in radeon_try_alloc_miptree()
418 assert(mt->mesaFormat == image->base.Base.TexFormat); in migrate_image_to_miptree()
Dradeon_tex_copy.c66 if (_mesa_get_format_bits(timg->base.Base.TexFormat, GL_DEPTH_BITS) > 0) { in do_copy_texsubimage()
98 dst_mesaformat = timg->base.Base.TexFormat; in do_copy_texsubimage()
/external/angle/src/tests/gl_tests/
DTextureUploadFormatTest.cpp23 struct TexFormat final struct
29 TexFormat() = delete;
211 const auto fnTestData = [&](const TexFormat &format, const void *const data, const GLColor &err, in TEST_P()
301 const auto fnTest = [&](const TexFormat &format, const GLColor &err) { in TEST_P()

123