]> git.tdb.fi Git - libs/gl.git/commit
Rewrite ResourceManager internals for more scalability
authorMikko Rasa <tdb@tdb.fi>
Tue, 30 Sep 2014 17:05:45 +0000 (20:05 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 30 Sep 2014 17:05:45 +0000 (20:05 +0300)
commitd184ad8a88156a5b0cfe926e5aa66fd574556560
treef49746c0b19da80a1cff35cac6cd60f848b78146
parent946266e823c07025f115b5e4f5523b496dcb393e
Rewrite ResourceManager internals for more scalability

Since loading small resources can often take less than one frame,
especially with vsync enabled, the thread can now handle more than one
resource at once.  The code is also somewhat better structured for using
more than one thread in the future.
source/resourcemanager.cpp
source/resourcemanager.h