summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-12-02 08:20:08 -0700
committerBrian Paul <brianp@vmware.com>2010-12-02 10:09:03 -0700
commit4b08f35487fa439fd9ca4d653d3a146c3dc09c1c (patch)
tree35fed9d63a68b7ec4c065245d07acc3cfe848796 /src/gallium/drivers/softpipe
parent23390e2f5cf1050f98c70c8603e374191e7d84e7 (diff)
mesa: raise max texture sizes to 16K
This allows 16K x 16K 2D textures, for example, but we don't want to allow that for 3D textures. The new gl_constants::MaxTextureMBytes field is used to prevent allocating too large of texture image. This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3. Drivers can override this limit. The default is currently 1GB. Apps should use the proxy texture mechanism to determine the actual max texture size.
Diffstat (limited to 'src/gallium/drivers/softpipe')
0 files changed, 0 insertions, 0 deletions