Searched refs:firstImage (Results 1 – 16 of 16) sorted by relevance
142 struct gl_texture_image *firstImage; in i915_update_tex_unit() local164 firstImage = tObj->Image[0][tObj->BaseLevel]; in i915_update_tex_unit()170 format = translate_texture_format(firstImage->TexFormat, in i915_update_tex_unit()175 (((firstImage->Height - 1) << MS3_HEIGHT_SHIFT) | in i915_update_tex_unit()176 ((firstImage->Width - 1) << MS3_WIDTH_SHIFT) | format); in i915_update_tex_unit()193 ((firstImage->Depth - 1) << MS4_VOLUME_DEPTH_SHIFT)); in i915_update_tex_unit()259 if (firstImage->TexFormat == MESA_FORMAT_YCBCR || in i915_update_tex_unit()260 firstImage->TexFormat == MESA_FORMAT_YCBCR_REV) in i915_update_tex_unit()341 !is_power_of_two(firstImage->Height)) in i915_update_tex_unit()364 if (firstImage->_BaseFormat == GL_DEPTH_COMPONENT) { in i915_update_tex_unit()
124 struct gl_texture_image *firstImage; in i830_update_tex_unit() local146 firstImage = tObj->Image[0][tObj->BaseLevel]; in i830_update_tex_unit()160 format = translate_texture_format(firstImage->TexFormat); in i830_update_tex_unit()166 (((firstImage->Height - 1) << TM0S1_HEIGHT_SHIFT) | in i830_update_tex_unit()167 ((firstImage->Width - 1) << TM0S1_WIDTH_SHIFT) | format); 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()
44 struct intel_texture_image *firstImage; in intel_finalize_mipmap_tree() local58 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); in intel_finalize_mipmap_tree()69 (!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) || in intel_finalize_mipmap_tree()79 intel_miptree_get_dimensions_for_image(&firstImage->base.Base, in intel_finalize_mipmap_tree()84 firstImage->base.Base.TexFormat, in intel_finalize_mipmap_tree()
323 struct gl_texture_image *firstImage; in radeon_miptree_matches_texture() local331 firstImage = texObj->Image[0][texObj->BaseLevel]; in radeon_miptree_matches_texture()332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()337 fprintf(stderr, "format %d vs %d\n", mt->mesaFormat, firstImage->TexFormat); in radeon_miptree_matches_texture()339 fprintf(stderr, "width0 %d vs %d\n", mtBaseLevel->width, firstImage->Width); in radeon_miptree_matches_texture()340 fprintf(stderr, "height0 %d vs %d\n", mtBaseLevel->height, firstImage->Height); in radeon_miptree_matches_texture()341 fprintf(stderr, "depth0 %d vs %d\n", mtBaseLevel->depth, firstImage->Depth); in radeon_miptree_matches_texture()343 mt->mesaFormat == firstImage->TexFormat && in radeon_miptree_matches_texture()345 mtBaseLevel->width == firstImage->Width && in radeon_miptree_matches_texture()346 mtBaseLevel->height == firstImage->Height && in radeon_miptree_matches_texture()[all …]
1386 const struct gl_texture_image *firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state() local1394 log2Width = firstImage->WidthLog2; in setup_hardware_state()1395 log2Height = firstImage->HeightLog2; in setup_hardware_state()1396 log2Depth = firstImage->DepthLog2; in setup_hardware_state()1397 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); in setup_hardware_state()1402 log2Depth, texelBytes, firstImage->TexFormat); in setup_hardware_state()1405 if (VALID_FORMAT(firstImage->TexFormat)) { in setup_hardware_state()1413 t->pp_txformat |= table[ firstImage->TexFormat ].format; in setup_hardware_state()1414 t->pp_txfilter |= table[ firstImage->TexFormat ].filter; in setup_hardware_state()1481 t->pp_txsize = (((firstImage->Width - 1) << R200_PP_TX_WIDTHMASK_SHIFT) in setup_hardware_state()[all …]
978 const struct gl_texture_image *firstImage; in setup_hardware_state() local985 firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state()987 log2Width = firstImage->WidthLog2; in setup_hardware_state()988 log2Height = firstImage->HeightLog2; in setup_hardware_state()989 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); in setup_hardware_state()992 if (VALID_FORMAT(firstImage->TexFormat)) { in setup_hardware_state()999 t->pp_txformat |= table[ firstImage->TexFormat ].format; in setup_hardware_state()1000 t->pp_txfilter |= table[ firstImage->TexFormat ].filter; in setup_hardware_state()1037 t->pp_txsize = (((firstImage->Width - 1) << RADEON_TEX_USIZE_SHIFT) in setup_hardware_state()1038 | ((firstImage->Height - 1) << RADEON_TEX_VSIZE_SHIFT)); in setup_hardware_state()[all …]
301 struct gl_texture_image *firstImage = tObj->Image[0][tObj->BaseLevel]; in gen7_update_texture_surface() local315 intel_miptree_get_dimensions_for_image(firstImage, &width, &height, &depth); in gen7_update_texture_surface()328 firstImage->InternalFormat, in gen7_update_texture_surface()377 (firstImage->_BaseFormat == GL_DEPTH_COMPONENT || in gen7_update_texture_surface()378 firstImage->_BaseFormat == GL_DEPTH_STENCIL); in gen7_update_texture_surface()
89 struct gl_texture_image *firstImage = texObj->Image[0][texObj->BaseLevel]; in upload_default_color() local92 if (firstImage->_BaseFormat == GL_DEPTH_COMPONENT) { in upload_default_color()
776 struct gl_texture_image *firstImage = tObj->Image[0][tObj->BaseLevel]; in brw_update_texture_surface() local786 intel_miptree_get_dimensions_for_image(firstImage, &width, &height, &depth); in brw_update_texture_surface()795 firstImage->InternalFormat, in brw_update_texture_surface()
1180 struct st_texture_image *firstImage; in st_finalize_texture() local1198 firstImage = st_texture_image(stObj->base.Image[0][stObj->base.BaseLevel]); in st_finalize_texture()1199 assert(firstImage); in st_finalize_texture()1206 if (firstImage->pt && in st_finalize_texture()1207 firstImage->pt != stObj->pt && in st_finalize_texture()1208 (!stObj->pt || firstImage->pt->last_level >= stObj->pt->last_level)) { in st_finalize_texture()1209 pipe_resource_reference(&stObj->pt, firstImage->pt); in st_finalize_texture()1214 firstImageFormat = st_mesa_format_to_pipe_format(firstImage->base.TexFormat); in st_finalize_texture()1220 firstImage->base.Width2, in st_finalize_texture()1221 firstImage->base.Height2, in st_finalize_texture()[all …]
219 const struct st_texture_image *firstImage = in update_single_texture() local221 const gl_format texFormat = firstImage->base.TexFormat; in update_single_texture()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...