extinit: document why no*Extension fields need to be exported.
Usually no*Extension fields shouldn't be needed by drivers, but there are a few exceptions: some drivers need to know whether composite or Xinerama are active. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
37b7ea8f8a
commit
7c70a9f3cf
|
@ -53,10 +53,12 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "extnsionst.h"
|
#include "extnsionst.h"
|
||||||
|
|
||||||
|
/* required by: libglx */
|
||||||
#ifdef COMPOSITE
|
#ifdef COMPOSITE
|
||||||
extern _X_EXPORT Bool noCompositeExtension;
|
extern _X_EXPORT Bool noCompositeExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* required by: several video drivers (eg. vmware and sis) */
|
||||||
#ifdef XINERAMA
|
#ifdef XINERAMA
|
||||||
extern _X_EXPORT Bool noPanoramiXExtension;
|
extern _X_EXPORT Bool noPanoramiXExtension;
|
||||||
#endif /* XINERAMA */
|
#endif /* XINERAMA */
|
||||||
|
|
Loading…
Reference in New Issue