Home
last modified time | relevance | path

Searched refs:firstImage (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c142 struct gl_texture_image *firstImage; in i915_update_tex_unit() local
164 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()
Di830_texstate.c124 struct gl_texture_image *firstImage; in i830_update_tex_unit() local
146 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()
Dintel_tex_validate.c44 struct intel_texture_image *firstImage; in intel_finalize_mipmap_tree() local
58 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()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c323 struct gl_texture_image *firstImage; in radeon_miptree_matches_texture() local
331 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 …]
Dr200_texstate.c1386 const struct gl_texture_image *firstImage = t->base.Image[0][t->minLod]; in setup_hardware_state() local
1394 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 …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c323 struct gl_texture_image *firstImage; in radeon_miptree_matches_texture() local
331 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 …]
Dradeon_texstate.c978 const struct gl_texture_image *firstImage; in setup_hardware_state() local
985 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 …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c44 struct intel_texture_image *firstImage; in intel_finalize_mipmap_tree() local
58 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()
Dgen7_wm_surface_state.c301 struct gl_texture_image *firstImage = tObj->Image[0][tObj->BaseLevel]; in gen7_update_texture_surface() local
315 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()
Dbrw_wm_sampler_state.c89 struct gl_texture_image *firstImage = texObj->Image[0][texObj->BaseLevel]; in upload_default_color() local
92 if (firstImage->_BaseFormat == GL_DEPTH_COMPONENT) { in upload_default_color()
Dbrw_wm_surface_state.c776 struct gl_texture_image *firstImage = tObj->Image[0][tObj->BaseLevel]; in brw_update_texture_surface() local
786 intel_miptree_get_dimensions_for_image(firstImage, &width, &height, &depth); in brw_update_texture_surface()
795 firstImage->InternalFormat, in brw_update_texture_surface()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_validate.c44 struct intel_texture_image *firstImage; in intel_finalize_mipmap_tree() local
58 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c1180 struct st_texture_image *firstImage; in st_finalize_texture() local
1198 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 …]
Dst_atom_texture.c219 const struct st_texture_image *firstImage = in update_single_texture() local
221 const gl_format texFormat = firstImage->base.TexFormat; in update_single_texture()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...