summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/ff_fragment_shader.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-12-04 09:45:38 -0700
committerBrian Paul <[email protected]>2013-12-04 09:46:07 -0700
commitb6468b45975f2d59a4a918fbbaa0b02d32d6d7d1 (patch)
treedb517f5a10f38e22167cf77a2b673fbf9586892d /src/mesa/main/ff_fragment_shader.cpp
parent06359e368bbe74fd9f7cb15b1801034c58513b36 (diff)
mesa: begin reducing memory used by display lists
This is a first step in reducing memory used by display lists on 64-bit systems. On 64-bit systems, the gl_dlist_node union type is 8 bytes because of the 'data' and 'next' fields. This causes every display list node/token to occupy 8 bytes instead of 4 as originally designed. This basically doubles the memory used by some display lists on 64-bit systems. The fix is to remove the 64-bit 'data' and 'next' pointer fields from the union and instead store them as a pair of 32-bit values. Easily done with a few helper functions. The next patch will take care of the 'next' field. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/ff_fragment_shader.cpp')
0 files changed, 0 insertions, 0 deletions