Re: XvShmPutImage is slow.

2003-06-08 Thread Mark Vojkovich
On Mon, 9 Jun 2003, etienne deleflie wrote: > >>> What do you get for: > >>> > >>>x11perf -repeat 1 -shmput500 > >>> > >>> If run in depth 24, the fps is roughly the bandwidth, in MB/sec > >>>to the framebuffer. > >>> > >>> > >>> > >>I get > >> > >>x11perf - X11 performance program, version

Re: XvShmPutImage is slow.

2003-06-08 Thread etienne deleflie
Mark Vojkovich wrote: On Sun, 8 Jun 2003, etienne deleflie wrote: Mark Vojkovich wrote: On Sun, 8 Jun 2003, etienne deleflie wrote: Hello, I'm attacking the bottle necks in my app and I've just noticed that XvShmPutImage is one of my bottlenecks. It takes 4 msecs to d

Re: XvShmPutImage is slow.

2003-06-08 Thread Mark Vojkovich
On Sun, 8 Jun 2003, etienne deleflie wrote: > Mark Vojkovich wrote: > > >On Sun, 8 Jun 2003, etienne deleflie wrote: > > > > > > > >>Hello, > >> > >>I'm attacking the bottle necks in my app and I've just noticed > >>that XvShmPutImage is one of my bottlenecks. It takes 4 msecs to draw

Re: XvShmPutImage is slow.

2003-06-07 Thread etienne deleflie
Mark Vojkovich wrote: On Sun, 8 Jun 2003, etienne deleflie wrote: Hello, I'm attacking the bottle necks in my app and I've just noticed that XvShmPutImage is one of my bottlenecks. It takes 4 msecs to draw 1 512 x 256 sized frame. What do you get for: x11perf -repeat 1 -shmp

Re: XvShmPutImage is slow.

2003-06-07 Thread Mark Vojkovich
On Sun, 8 Jun 2003, etienne deleflie wrote: > Hello, > > I'm attacking the bottle necks in my app and I've just noticed > that XvShmPutImage is one of my bottlenecks. It takes 4 msecs to draw 1 > 512 x 256 sized frame. What do you get for: x11perf -repeat 1 -shmput500 If run in

XvShmPutImage is slow (code attached)

2003-06-07 Thread etienne deleflie
woops, i forgot to attach the code. here it is attached. To re-capitulate: XvShmPutImage seems to be slow, can anyone see why that might be so, am I initiating Xv and its buffers correctly? (p4 2ghz, 512 MB ram, 32Mb nvideo gforce go, calling XvShmPutImage on a 512x256 YUV422 image takes ar

XvShmPutImage is slow.

2003-06-07 Thread etienne deleflie
Hello, I'm attacking the bottle necks in my app and I've just noticed that XvShmPutImage is one of my bottlenecks. It takes 4 msecs to draw 1 512 x 256 sized frame. I suspect that I am doing something wrong, but I cant find what. Maybe it is how I initialise the shared memory. I've at