diff options
author | Zack Rusin <[email protected]> | 2013-09-19 13:38:12 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-09-25 19:42:22 -0400 |
commit | d83ef680e2c6d11c446aae16a65445f12984fb85 (patch) | |
tree | 8fab38e9c4749db5cfcec33ce5af496712c7740f /src/mesa/swrast_setup/ss_triangle.c | |
parent | 60c448faea54a56047202204c486b8d399429909 (diff) |
draw/clip: don't emit so many empty triangles
Compress empty triangles (don't emit more than one in a row) and
never emit empty triangles if we already generated a triangle
covering a non-null area. We can't skip all null-triangles
because c_primitives expects ones that were generated from vertices
exactly at the clipping-plane, to be emitted.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/swrast_setup/ss_triangle.c')
0 files changed, 0 insertions, 0 deletions