[GEM-dev] gemcvs pix_texture: not using client storage??

ben at ekran.org ben at ekran.org
Mon Jan 12 19:48:25 CET 2004


Ah! thats the difference between pix_snap and pix_snap2tex.

And Damn its fast, even on this old geforce2.

I still don't understand pix_texture "mode 0" though, since I also can't
get live video to texture on OSX without it. (geforce cards perhaps?)

Thanks for the compliment.

B.

> ben at ekran.org wrote:
>> Hey Jamie,
>
>> For a tech question, does pix_snap copy the buffer into main memory
>> and then back to the card, or is all the copying done on the gfx card
>> memory? I ask because I imagine putting it all on the gfx card would
>> be very very nice performance wise. (on windows I can run the feedback
>> patch at 128x128 at 30fps on linux I can do 512x512 at 60fps, same patch,
>> same machine, go figure. ;)
>
> well [pix_snap] really copies the buffer from the gfx-card to the
> main-memory and back-again.
> this is fine if you want to do some image-processing.
>
> if you don't need it, you can use [pix_snap2tex] which keeps the snapped
>  buffer on the gfx-card.
> (and indeed: you don't need the "mode 0"-message to make your patch work
>  then)
>
>
> btw: very beautiful
>
>
> mfg.asd.r
> IOhannes
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/gem-dev






More information about the GEM-dev mailing list