Age | Commit message (Collapse) | Author |
|
That kills performance on at least windows when a the load goes up and
a lot of commands is sent to the driver.
|
|
The command queue could still loose a cmd because the command was
reused while still in (recursive) use, thus when deleting it after
command was done a newly added command could be mistakenly deleted and
not called.
Root cause was that wxeFifo::Strip "deleted" to many cmds.
Solve by differing deleted and executed, i.e. op= -1 cmd have been
executed and op = -2 cmd have been executed and deleted.
|
|
Commands could be executed twice, if the command was dispatched
from a callback and caused a recursive invocation of command loop.
Solution is to mark op as -1 before calling wxWidgets.
Also commands could be missed when idle processing was done inside
while executing a recursive callback, solved be always resetting peak
index after idle processing is done.
|
|
|
|
Avoid copying between command queues, cleaner, faster and
safer implementation.
|
|
|
|
|
|
Remove allocations
|
|
Avoids crashes.
|
|
Try to clean up the files a bit
|