diff options
author | Eric Anholt <[email protected]> | 2010-05-13 11:31:56 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-05-13 13:02:09 -0700 |
commit | c67d9d84f501f145f841c0b981caff6f4dfd936f (patch) | |
tree | 671f7799cac79205f98bf277437a3e488db45084 /src/glut | |
parent | 61aa9c86c20b1bc9957aa9fe9976703a93cc4d3c (diff) |
i965: Reduce a single GL_QUADS to GL_TRIANGLE_FAN.
This is similar to the GL_QUAD_STRIP -> TRIANGLE_STRIP optimization --
the GS usage to split the quads into tris is a huge bottleneck, so a
quick check improves glean blendFunc time massively (width * height of
the window of single-pixel GL_QUADS, many many times). This may also
end up helping with cairo performance, which sometimes ends up drawing
a single quad.
Diffstat (limited to 'src/glut')
0 files changed, 0 insertions, 0 deletions