OSDN Git Service

st/dri: add a way to force MSAA on with an environment variable
authorMarek Olšák <maraeo@gmail.com>
Mon, 10 Dec 2012 20:35:59 +0000 (21:35 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 12 Dec 2012 12:09:54 +0000 (13:09 +0100)
commit1d0bf69f831e138a05a282e59746f20141046fd6
treeb448e744c8520908b9fe463df21a6ae7fa3ea3e6
parentafa902a705b9de70902b6559a383a35f38152555
st/dri: add a way to force MSAA on with an environment variable

There are 2 ways. I prefer the former:
  GALLIUM_MSAA=n
  __GL_FSAA_MODE=n

Tested with ETQW, which doesn't support MSAA on Linux. This is
the only way to get MSAA there.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/dri/common/dri_screen.c