2025-08-25 12:36 CEST

spring: develop f5721bf9 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
tvo tvo develop 2008-05-12 22:18:06 develop 7ab614e4
Changeset * Applied speedups.patch + the -finline-functions hunk of hwCursor.patch of jK's patchset (mantis 0000928):

* speedups.patch
  - inlined all VertexArray::AddVertex()
  - (note: -O2 doesn't handle inlines! that's why the hwCursor.patch adds "-finline-functions" when optimize flag is set)
    speedup CMatrix44f by Note: 0000005x! (Translate(),Rotate[X|Y|Z](),Invert())
    this can be a huge speed improvement in late games (IIRC profiler had shown CMatrix44f in top10 of most time consuming functions)

Note: you will need to reconfigure to take advantage of the added compile flags.



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@5883 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Rendering/GL/VertexArray.cpp Diff ] File ]
mod - rts/Rendering/GL/VertexArray.h Diff ] File ]
mod - rts/System/Matrix44f.cpp Diff ] File ]
mod - rts/System/Matrix44f.h Diff ] File ]
mod - rts/build/scons/rts.py Diff ] File ]