On May 21, 08 11:35:43 -0700, Ian Romanick wrote:
> | We haven't touched the texsubimage path, having not found it in a
> | profile yet.  It'll probably be doing map/write/unmap, which (as noted
> | elsewhere in the thread) is pretty much the worst thing you can do.  If
> | you have a relevant application where texsubimage is showing up in the
> | profile, I'd enjoy playing with it.
> 
> Anything that uses shadow maps (or any other render-to-texture type
> effect) without framebuffer objects will hit this path.  Since iD only
> uses stencil volume shadows, it's not surprising that you haven't hit it
> yet.  And I don't think glTexSubImage is the problem, I think
> glCopyTexSubImage is the problem.

Also all video texture paths use TexSubimage, e.g. the OpenGL paths of
both major video players. Also, I'm pretty sure some games do that.

Games also used to use this path for mirror and distortion effects,
though nowadays FBOs are probably used in most cases.

Matthias

-- 
Matthias Hopf <[EMAIL PROTECTED]>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          [EMAIL PROTECTED]
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to