[PATCH] Add a command line argument for disabling indirect GLX.
jcristau at debian.org
Tue Apr 22 10:16:32 PDT 2014
On Mon, Apr 21, 2014 at 17:13:41 -0700, Eric Anholt wrote:
> The attack surface for indirect GLX is huge, and it's of no use to
> most people (if you get an indirect GL context, you're better served
> by a immediate X error than actually trying to use an indirect GL
> context and finding out that it doesn't support doing anything you
> want, slowly). This flag gives you a chance to disable indirect GLX
> in environments where you just don't need it.
> I put in both the '+' and '-' arguments right now, so that it's easy
> to patch the value to change the default policy.
> glx/glxcmds.c | 10 ++++++++++
> include/opaque.h | 1 +
> os/utils.c | 8 ++++++++
> 3 files changed, 19 insertions(+)
Acked-by: Julien Cristau <jcristau at debian.org>
More information about the xorg-devel