http://bugs.freedesktop.org/show_bug.cgi?id=9379





--- Comment #15 from Andrew Péteri <whysogr...@gmail.com>  2009-04-19 09:39:57 
PST ---
Created an attachment (id=24949)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=24949)
span locking patch

The previous patch left three calls to the software rasterizer without locking
(these are called when both hardware accelerated and software rendered
primitives are drawn), this one wraps them correctly.

Texture projection is still commented out, because not too many OpenGL
applications have an option to disable it (if I remember correctly,
armagetronad recently had this setting removed), and rendering these kind of
primitives in software hits the frame rate quite hard. Since only the first and
second texture coordinate components are left in place, leaving it this way
(=unhandled) can cause rendering artifacts (some texcoord transformation magic
could solve this, but it could only occur at the vertex level, and the texture
would still be linearly interpolated pixel-wise).

The attached patch applies to git commit
dc1153ce83041a397b1d1815db4133ce8c53eaa1 and mesa_7.4-0ubuntu3 source package
from the ubuntu jaunty repository, but was tested only with the latter; to
test, start a free flight in gl-117, leave the camera in first person mode and
fly your plane into the Sun :)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to