First Revert my changes to VertexLoader.cpp, i don't own the games that get error so i revert the changes until i can test it myself.

Second:
A experiment. implemented parallelization in texture decoding using openmp. is most a experiment to test the performance in different os/plataforms. in my system (windows x64 amd 1055t) give a speedup in large textures, but i tested in in intel dual core and gives a slowdown. o i limited the use for large textures and cpus with more than 3 cores.
please test an let me know if it improves or degrades the speed.
please for linux and osx user. to enable this you will have to enable your compiler support for openmp to test this code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7284 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Rodolfo Osvaldo Bogado
2011-03-04 22:48:54 +00:00
parent 756c40163d
commit c569b33829
4 changed files with 401 additions and 246 deletions

View File

@ -278,9 +278,9 @@ namespace this_thread
inline void yield()
{
#ifdef _WIN32
Sleep(1);
Sleep(0);
#else
usleep(1000 * 1);
sleep(0);
#endif
}