-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eric Anholt wrote: | On Fri, 2008-06-13 at 13:18 +0300, Timo Jyrinki wrote: |> 2008/6/12 Eric Anholt <[EMAIL PROTECTED]>: |>> I'm really having a hard time caring until someone comes up with |>> something other than a microbenchmark that has issues with teximage |>> performance. |> I'm not sure if it's about teximage performance, but try (whoever |> interested) rotating a cube in compiz when playing windowed (not |> fullscreen) textured video in eg. mplayer or totem. At least currently |> it seems windowed, textured video is unusably slow together with |> compiz, which means I'm forcing the 965G overlay feature into use to |> have usable video playback performance. | | If compiz is doing TexImage for texture from pixmap, that also means
I what Timo is suggesting is that this path uses TexImage2D (hopefully TexSubImage2D) to upload the frames of video as they are decoded. | that it's reading the data out of the framebuffer. The reading data out | should be the slow part. sysprof would confirm for you. Which would be total insanity. Any application that is going to use copy-to-texture should use CopyTexSubImage2D. Notice that I said CopyTex*Sub*Image2D, not CopyTexImage2D. Any other usage is not the performance path on any driver. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIUrrqX1gOwKyEAw8RAvFQAKCgd0rOERCtkuC6RRKxfQSGl5uXxQCdEjPn KY7TO8XwAyWq1mBTldeZJl8= =nKDY -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel