Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=9062          
     
           Summary: tnl - full vertex buffers may cause additional
                    primitives to be introduced
           Product: Mesa
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


the hypertorus hack of xscreensaver (recent version may be needed - 4.24 should
be new enough, I've used 5.0.1) shows some seemingly random triangles when
started with the right options (-solid -transparent should do). I've looked a
bit at it and it seems whenever a buffer wrap happens due to the buffer being
full (so _tnl_wrap_filled_vertex is called, not sure if it's correct if
_tnl_wrap_buffers gets called due to other reasons) an additional tri will be
introduced (actually I think one is just drawn twice). This happens with both
software mesa and r200, though with r200 only when tcl_mode is either 1 or 0.
hypertorus uses GL_TRIANGLE_STRIP for all its rendering. I initially thought
there might be a bug because of the excessive glMaterial calls between
glBegin/glEnd, but removing them completely (by replacing with enabling
GL_COLOR_MATERIAL) didn't change much, except there were far fewer additional
triangles, apparently because much less buffer wraps happen. Not sure, but
_tnl_copy_vertices looked a bit strange to me for GL_TRIANGLE_STRIP, as it may
copy 3 instead of only the last 2 vertices - apparently to avoid problems with
the vertex order, but I'll wonder if that's related to this bug.

(this was originally reported here:
https://bugs.freedesktop.org/show_bug.cgi?id=8250)          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to