[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Double hires mode color artifacts
vladitx <vladitx@nucleusys.com> wrote:
> On Sep 9, 5:01 pm, Dirk Thierbach <dthierb...@usenet.arcornews.de>
> wrote:
>> Care to share the C code, so I can test on my box?
> Sure, I'll email it to you.
Thanks.
> The actual load without "SDL_Flip()" is in fact 8% of one core,
> because I forgot to normalize the number because of the two cores, but
> it's very low anyway.
You have to be careful here too, because SDL uses threads, so I guess
those threads would distribute themselves over all cores.
> I do have nVidia video and driver, so some acceleration is present,
> but maybe there's something along the path from SDL to Xlib to X to
> nvidia driver to hardware.
Yes, there is. Depending on your version of SDL, the flags you feed
it, and the X extensions available, SDL will try to use graphics
hardware acceleration.
> I don't have much experience there and SDL was just the easiest
> video wrapper I decided to start with, so there should be room for
> improvement.
Sure, I chose SDL for the same reason. I just wanted to point out that
one has to be careful when trying to use such a setup to measure
performance -- the numbers might not mean what you think.
- Dirk