OSDN Git Service

Handle fbconfigs and glx visuals separately.
authorKristian Høgsberg <krh@redhat.com>
Tue, 16 Oct 2007 20:07:47 +0000 (16:07 -0400)
committerKristian Høgsberg <krh@redhat.com>
Tue, 16 Oct 2007 20:07:52 +0000 (16:07 -0400)
commit6c533ea2d1953152f7d95d6c984e0d287edb46c2
tree50ab58561c8ee4e1de2aef1572e90bf7d2d7f42e
parent791ad0e77f48cd17f7c893bfbf63f21e62caee40
Handle fbconfigs and glx visuals separately.

The old implementation fetches fbconfigs or glx visuals once and assumes the list
describes both fbconfigs and glx visuals.  This patch splits it up and fetches
visuals and fbconfigs in two steps and keep the two lists separate.  A server
could have no glx visuals or no glx fbconfigs and the old code wouldn't know the
difference.
src/glx/x11/glxclient.h
src/glx/x11/glxcmds.c
src/glx/x11/glxext.c