summaryrefslogtreecommitdiffstats
path: root/src/glw/GLwMDrawAP.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-05-13 11:31:56 -0700
committerEric Anholt <[email protected]>2010-05-13 13:02:09 -0700
commitc67d9d84f501f145f841c0b981caff6f4dfd936f (patch)
tree671f7799cac79205f98bf277437a3e488db45084 /src/glw/GLwMDrawAP.h
parent61aa9c86c20b1bc9957aa9fe9976703a93cc4d3c (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/glw/GLwMDrawAP.h')
0 files changed, 0 insertions, 0 deletions