View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#486
Originally Posted by DavyP View Post
If you would repeat the experiment multiple times, you will notice
that the 2% below is even below the error margin. So I am very
doubtful there is any improvement at all :-)

And about the memcpy: I am pretty sure you will bump into
synchronization issues between two event loops (one of phoneme
and one of the Qt4 frontend). The phoneME backend calls a
method in the Qt4 frontend to say it is time to paint the buffer. The
Qt4 front-end will emit an asynchronous signal. By the time this
signal is processed the original buffer has changed, resulting in
flickering and painting of intermediate frames if you use the
original buffer.

But feel free to experiment, you never know ... :-)

Davy
actually your libcvm.so build is set-up to use double-buffering

so... no flickering

EDIT:
But anyway I will add some synchronization, just in case, it could lower the results a bit, but will make sure there will be no flicker under any conditions

EDIT2:
with DavyP's benchmarks:

JBenchmark, landscape only (seems does not like portrait) - 5845

JBenchmark2:
landscape - 978
portrait - 906

Last edited by freemangordon; 2012-03-29 at 20:03.
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post: