]> git.tdb.fi Git - libs/gl.git/commit
Pass Tag by value, not by reference
authorMikko Rasa <tdb@tdb.fi>
Fri, 9 Apr 2021 21:40:39 +0000 (00:40 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 10 Apr 2021 00:47:27 +0000 (03:47 +0300)
commit233dff2a6c552e08da832496aecd88ef4f8948f1
treedea1888c6fe2e4ae4cc4a9b91175509372bad67c
parentcbe2ec1f080b117faf9bf0ad2d92d5d4f2379584
Pass Tag by value, not by reference

Since the tag object is small, it can be passed in a register.

Keeping a deprecated version would make it hard to tell which version
is being called.
36 files changed:
source/animation/animatedobject.cpp
source/animation/animatedobject.h
source/effects/effect.cpp
source/effects/effect.h
source/effects/environmentmap.cpp
source/effects/environmentmap.h
source/effects/shadowmap.cpp
source/effects/shadowmap.h
source/materials/technique.cpp
source/materials/technique.h
source/render/instancearray.cpp
source/render/instancearray.h
source/render/instancescene.cpp
source/render/instancescene.h
source/render/object.cpp
source/render/object.h
source/render/objectinstance.cpp
source/render/objectinstance.h
source/render/occludedscene.cpp
source/render/occludedscene.h
source/render/orderedscene.cpp
source/render/orderedscene.h
source/render/pipeline.cpp
source/render/pipeline.h
source/render/renderable.h
source/render/renderer.cpp
source/render/renderer.h
source/render/simplescene.cpp
source/render/simplescene.h
source/render/slot.cpp
source/render/slot.h
source/render/tag.h
source/render/text.cpp
source/render/text.h
source/render/zsortedscene.cpp
source/render/zsortedscene.h