summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxext.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2006-10-07 01:04:49 +0000
committerRoland Scheidegger <[email protected]>2006-10-07 01:04:49 +0000
commitfa65447d8c3aa4c5e418c567a648dccacfbde0da (patch)
treeca517504477fb16388ec36e73560f26b61a2fbf5 /src/glx/x11/glxext.c
parent524bf7bbcf75bc4887dbc0f2f87ed79a8c44ab20 (diff)
do not import arrays for generic arb attribs if the array is not enabled (same as for generic attribs for nv vp is already done). Since the requested stride is 16, otherwise the code would end up doing lots of unnecessary import work (in doom3, trans_4_GLfloat_4f_raw caused by that was by far the single most time-consuming function in the r200 driver, not importing the disabled arrays caused the cpu time spent in the driver to drop from 45% to 30%, though real-world gain was pretty minimal as it's not really cpu bound here in the first place).
Diffstat (limited to 'src/glx/x11/glxext.c')
0 files changed, 0 insertions, 0 deletions