Cуть программы - распределение работы опенгл подсистемы wine - на два процессора
описание работы
в основном потоке - где идут все вызовы opengl функций - все эти вызовы
собираются в буфер и , не дожидаясь завершения отработки их видеокартой ,
возвращает управление программе во втором потоке - получение накопленных
буферов от первого и вызовы реальных opengl функций
таким образом - та работа что совершается одним потоком - распределяется на два
тем самым достигается 3ной кадровый буфер
1ый сама программа выдает opengl команды на рисование и они складываются в
буфер
2ой второй поток команды из буфера выдает на реальную видеокарту
3ий то что показывает видеокарта
изначально идея патча родилась из за того что World of Warcraft под вайном
работал существенно медленнее (практически в 2 раза меньший фпс) чем на windows
в ходе поиска обнаружилось - что подсистема драйверов на windows (ati и nvidia)
начинают работать в 1 или 2 потока в зависимости от включение в них
- так называемой - оптимизации под конкретное приложение
ОЧЕНЬ маловероятно что amd и nvidia когда либо сделают такое и для программ
под линуксом
по этой причине и был сделан этот патч
Текущее состояние - WoW работает практически идеально
производительность в WoW можно точно замерять след методом -
после команды /script SetTaxiBenchmarkMode(1);
следующий полет на такси в конце выдаст статистику
Program essence - operation allocation opengl subsystems wine - on two processors
The operation description
In the main flow - where there are all calls opengl functions - all these calls
gather in the buffer and, without waiting working off completions by their video
card, returns control to the program. In the second flow - obtaining of stored
buffers from the first and calls real opengl functions
Thus - that operation that is made by one flow - arranged on two
Thereby it is reached 3 frame
1 frame the program produces opengl commands on drawing and they are added in
the buffer
2 the second flow of a command from the buffer produces on a real video card
3 that the video card shows that
Initially idea of a patch was born from for that that World of Warcraft under Wine
worked essentially more slowly (practically in 2 times smaller fps) than on windows
During search it was found out - that a subsystem of drivers on windows (ati and
nvidia) start to work in 1 or 2 flows depending on switching-on in them - so-called
- optimization under specific application
It is very improbable that amd and nvidia when or will make such and for programs
under linux
For this reason this patch also has been made
The current state - WoW works almost ideally
Productivity in WoW it is possible to measure precisely a trace a method -
after a command /script SetTaxiBenchmarkMode (1); the trace weeds by a taxi in
the end will produce statistics