summaryrefslogtreecommitdiffstats
path: root/include/c99_compat.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-03-14 11:44:21 +0000
committerJosé Fonseca <jfonseca@vmware.com>2013-03-14 11:59:53 +0000
commit6a3d77e13dbae17000e35ce16023532200e68d09 (patch)
treea67505a6e5ff5e2fbc59abbe5ac3f870015915fe /include/c99_compat.h
parentce3aa0e775d1d527a44abe855dd40c43aeaad6e0 (diff)
downloadexternal_mesa3d-6a3d77e13dbae17000e35ce16023532200e68d09.zip
external_mesa3d-6a3d77e13dbae17000e35ce16023532200e68d09.tar.gz
external_mesa3d-6a3d77e13dbae17000e35ce16023532200e68d09.tar.bz2
softpipe: Shrink context size.
- each softpipe_tex_tile_cache 50*64*64*4*4 = 3,276,800 bytes - each softpipe_context has 3*32 softpipe_tex_tile_cache, i.e, each softpipe context is 314,572,800 bytes, i.e, 300MB That is, in a 32bits process (around 3GB virtual memory max), we can only fit 10 contexts. This change is a short-term hack to shrink the context size. Longer term we'll need to change how the texture cache works. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'include/c99_compat.h')
0 files changed, 0 insertions, 0 deletions