- Added texture packing to D3DFB so that textures that are temporally related
can share the same hardware texture. This greatly reduces the number of DrawPrimitive calls that need to be made when drawing text (or any 2D graphics in general), so now hardware text is much faster than software text all around. (As an example, one scenario went from 315 fps to over 1635 fps for hardware, compared to 540 fps for software.) SVN r687 (trunk)
This commit is contained in:
parent
9839cbfc82
commit
ca0b61d066
10 changed files with 678 additions and 107 deletions
|
|
@ -190,7 +190,7 @@ void FRemapTable::UpdateNative()
|
|||
}
|
||||
}
|
||||
|
||||
FNativeTexture *FRemapTable::GetNative()
|
||||
FNativePalette *FRemapTable::GetNative()
|
||||
{
|
||||
if (Native == NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue