/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_copy.c | 73 copy_supported = intelImage->base.Base.TexFormat == intel_rb_format(irb); 77 intelImage->base.Base.TexFormat == MESA_FORMAT_XRGB8888) { 83 intelImage->base.Base.TexFormat == MESA_FORMAT_ARGB8888) { 91 _mesa_get_format_name(intelImage->base.Base.TexFormat),
|
intel_tex_image.c | 96 intelImage->base.Base.TexFormat, 156 if (!check_pbo_format(format, type, intelImage->base.Base.TexFormat)) { 158 __FUNCTION__, _mesa_get_format_name(intelImage->base.Base.TexFormat), 255 image->TexFormat, 280 gl_format texFormat = MESA_FORMAT_NONE; 302 texFormat = MESA_FORMAT_XRGB8888; 306 texFormat = MESA_FORMAT_ARGB8888; 310 texFormat = MESA_FORMAT_RGB565; 316 internalFormat, texFormat, 0);
|
intel_tex_subimage.c | 120 texImage->TexFormat,
|
intel_tex_validate.c | 84 firstImage->base.Base.TexFormat,
|
/external/mesa3d/src/mesa/swrast/ |
s_texture.c | 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, 199 texelSize = _mesa_get_format_bytes(texImage->TexFormat); 200 stride = _mesa_format_row_stride(texImage->TexFormat, texImage->Width); 201 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); 216 GLuint sliceSize = _mesa_format_image_size(texImage->TexFormat, 223 GLuint sliceSize = _mesa_format_image_size(texImage->TexFormat,
|
s_texrender.c | 75 format = swImage->Base.TexFormat;
|
s_triangle.c | 139 ASSERT(texImg->TexFormat == MESA_FORMAT_RGB888); \ 197 ASSERT(texImg->TexFormat == MESA_FORMAT_RGB888); \ 554 info.format = texImg->TexFormat; \ 821 info.format = texImg->TexFormat; \ [all...] |
/external/mesa3d/src/mesa/main/ |
texgetimage.c | 105 _mesa_unpack_float_z_row(texImage->TexFormat, width, src, depthRow); 197 if ((texImage->TexFormat == MESA_FORMAT_YCBCR 199 (texImage->TexFormat == MESA_FORMAT_YCBCR_REV 229 const gl_format texFormat = 230 _mesa_get_srgb_format_linear(texImage->TexFormat); 231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); 258 _mesa_decompress_image(texFormat, width, height, 323 const gl_format texFormat = 324 _mesa_get_srgb_format_linear(texImage->TexFormat); 333 GLboolean tex_is_integer = _mesa_is_format_integer_color(texImage->TexFormat); [all...] |
texobj.c | 492 GLenum datatype = _mesa_get_format_datatype(baseImage->TexFormat); 615 if (img->TexFormat != baseImage->TexFormat) { 686 img->TexFormat != img0->TexFormat) 728 gl_format texFormat; 789 texFormat = ctx->Driver.ChooseTextureFormat(ctx, target, 810 GL_RGBA, texFormat); 840 GLuint sz = _mesa_format_image_size(img->TexFormat, img->Width, [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_mipmap_tree.c | 305 if (texImage->TexFormat != mt->mesaFormat) 337 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); 343 mt->mesaFormat == firstImage->TexFormat && 355 mt->mesaFormat == firstImage->TexFormat && 384 texImg->TexFormat, texObj->BaseLevel, 427 assert(mt->mesaFormat == image->base.Base.TexFormat); 450 const uint32_t srcrowstride = _mesa_format_row_stride(image->base.Base.TexFormat, image->base.Base.Width); 453 if (_mesa_is_format_compressed(image->base.Base.TexFormat)) { 455 _mesa_get_format_block_size(image->base.Base.TexFormat, &blockWidth, &blockHeight);
|
radeon_tex_copy.c | 66 if (_mesa_get_format_bits(timg->base.Base.TexFormat, GL_DEPTH_BITS) > 0) { 98 dst_mesaformat = timg->base.Base.TexFormat;
|
radeon_texture.c | 172 image->base.RowStride = lvl->rowstride / _mesa_get_format_bytes(image->base.Base.TexFormat); 225 GLuint texel_size = _mesa_get_format_bytes(texImage->TexFormat); 232 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); 248 *stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->Target); 264 *stride = _mesa_format_row_stride(texImage->TexFormat, width); 615 texImage->TexFormat = image->format; 718 texel_size = _mesa_get_format_bytes(image->base.Base.TexFormat); 830 texImage->TexFormat, firstLevel, lastLevel - firstLevel + 1,
|
radeon_texstate.c | 617 gl_format texFormat; 663 texFormat = MESA_FORMAT_RGB888; 667 texFormat = MESA_FORMAT_ARGB8888; 673 texFormat = MESA_FORMAT_RGB888; 678 texFormat = MESA_FORMAT_RGB565; 687 rb->cpp, texFormat); 989 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); 992 if (VALID_FORMAT(firstImage->TexFormat)) { 999 t->pp_txformat |= table[ firstImage->TexFormat ].format; 1000 t->pp_txfilter |= table[ firstImage->TexFormat ].filter [all...] |
radeon_fbo.c | 771 "%s(%p, rrb %p, texImage %p, texFormat %s) \n", 772 __func__, ctx, rrb, texImage, _mesa_get_format_name(texImage->TexFormat)); 774 rrb->cpp = _mesa_get_format_bytes(texImage->TexFormat); 776 rb->Format = texImage->TexFormat; 931 mesa_format = att->Texture->Image[att->CubeMapFace][att->TextureLevel]->TexFormat;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_state_tex.c | 40 switch (ti->TexFormat) {
|
nv04_context.c | 40 return ti->TexFormat == MESA_FORMAT_A8 || 41 ti->TexFormat == MESA_FORMAT_L8 ||
|
nv10_state_tex.c | 92 switch (ti->TexFormat) { 133 switch (ti->TexFormat) {
|
nv20_state_tex.c | 89 switch (ti->TexFormat) { 130 switch (ti->TexFormat) {
|
nouveau_texture.c | 36 #include "main/texformat.h" 335 (s->bo && s->format == ti->TexFormat && 472 if (ti->TexFormat == MESA_FORMAT_A8 || 473 ti->TexFormat == MESA_FORMAT_L8 || 474 ti->TexFormat == MESA_FORMAT_I8) 499 ti->TexFormat, ti->Width, ti->Height); 517 ti->TexFormat, 590 ret = _mesa_texstore(ctx, dims, ti->_BaseFormat, ti->TexFormat,
|
nouveau_fbo.c | 254 switch (ti->TexFormat) {
|
nv04_state_frag.c | 142 gl_format format = t->Image[0][t->BaseLevel]->TexFormat;
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_texstate.c | 160 format = translate_texture_format(firstImage->TexFormat); 255 if (firstImage->TexFormat->MesaFormat == MESA_FORMAT_YCBCR || 256 firstImage->TexFormat->MesaFormat == MESA_FORMAT_YCBCR_REV)
|
i915_texstate.c | 170 format = translate_texture_format(firstImage->TexFormat, 259 if (firstImage->TexFormat == MESA_FORMAT_YCBCR || 260 firstImage->TexFormat == MESA_FORMAT_YCBCR_REV)
|
/external/mesa3d/src/mesa/state_tracker/ |
st_gen_mipmap.c | 251 srcImage->TexFormat);
|
st_cb_texture.c | 378 fmt = st_mesa_format_to_pipe_format(stImage->base.TexFormat); 466 st_mesa_format_to_pipe_format(texImage->TexFormat); 503 gl_format texFormat; 509 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level, 516 texImage->InternalFormat, texFormat); 623 if (_mesa_format_matches_format_and_type(stImage->base.TexFormat, 820 texImage->TexFormat, 979 _mesa_get_format_base_format(texImage->TexFormat)); [all...] |