mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-02 04:48:26 +02:00
radeon/r200: fixup texturing aging calls
This commit is contained in:
parent
7c7ff659ce
commit
48e7b940eb
2 changed files with 4 additions and 6 deletions
|
|
@ -246,11 +246,10 @@ static void r200_get_lock(radeonContextPtr radeon)
|
|||
|
||||
if ( sarea->ctx_owner != rmesa->radeon.dri.hwContext ) {
|
||||
sarea->ctx_owner = rmesa->radeon.dri.hwContext;
|
||||
if (!radeon->radeonScreen->kernel_mm)
|
||||
radeon_bo_legacy_texture_age(radeon->radeonScreen->bom);
|
||||
}
|
||||
|
||||
for ( i = 0 ; i < rmesa->radeon.nr_heaps ; i++ ) {
|
||||
DRI_AGE_TEXTURES( rmesa->radeon.texture_heaps[ i ] );
|
||||
}
|
||||
}
|
||||
|
||||
static void r200_vtbl_emit_cs_header(struct radeon_cs *cs, radeonContextPtr rmesa)
|
||||
|
|
|
|||
|
|
@ -164,9 +164,8 @@ static void r100_get_lock(radeonContextPtr radeon)
|
|||
int i;
|
||||
sarea->ctx_owner = rmesa->radeon.dri.hwContext;
|
||||
|
||||
for (i = 0; i < rmesa->radeon.nr_heaps; i++) {
|
||||
DRI_AGE_TEXTURES(rmesa->radeon.texture_heaps[i]);
|
||||
}
|
||||
if (!radeon->radeonScreen->kernel_mm)
|
||||
radeon_bo_legacy_texture_age(radeon->radeonScreen->bom);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue