[Xorg] Detecting Composite from the driver

Kevin E Martin kem at freedesktop.org
Wed Aug 18 20:03:55 PDT 2004

On Wed, Aug 18, 2004 at 07:48:42PM -0700, Aaron Plattner wrote:
> When Composite is enabled, I'd like to avoid exposing any video overlay Xv
> adapters in ScreenInit.  Is there an interface for the driver to determine that
> Composite is going to be enabled?

Yes, there is a global variable, Bool noCompositeExtension, that is true
when the Composite extension is disabled and false when it is enabled.
There are similar variables for the Xinerama, Xevie, Render, Test and
Xkb extensions.

More information about the xorg mailing list