glx/dri2: add dri2 prime support.
authorDave Airlie <airlied@redhat.com>
Fri, 12 Mar 2010 06:09:23 +0000 (16:09 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Aug 2012 00:02:10 +0000 (10:02 +1000)
commit6a3ac03f2b80c80655d66b31c0218754f70156de
tree56981157fcacd10d8933bd4f12773c17952a67e1
parent565a4e2a8625c79bde0eacf674a4f633151eeb0e
glx/dri2: add dri2 prime support.

This adds support for having libGL pick a different driver for prime support.

DRI_PRIME env var is set to the value retrieved from the server randr
provider calls, by the calling process. (generally DRI_PRIME=1 will be
the right answer).

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glx/dri2.c