Skip to content
forked from NVIDIA/egl-x11

The X11/XCB external platform library

License

Notifications You must be signed in to change notification settings

sndirsch/egl-x11

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVIDIA XLib and XCB EGL Platform Library

Overview

This is an EGL platform library for the NVIDIA driver to support XWayland via xlib (using EGL_KHR_platform_x11) or xcb (using EGL_EXT_platform_xcb).

Building and Installing

This library depends on:

  • libxcb, libxcb-present, and libxcb-dri3, version 1.17.0
  • libgbm, version 21.3.0
  • libdrm, version 2.4.99
  • libx11 (only if building the xlib library)
  • EGL headers

In addition, this library depends on a (still somewhat experimental) interface in the NVIDIA driver, which is supported only in 560 or later series drivers.

For full functionality, it also needs the explicit sync protocol added to version 1.4 of the Present and DRI3 extensions, which is available in XWayland 24.1 and later. Without explicit sync support, you may get reduced performance and out-of-order frames.

To build and install, use Meson:

meson builddir
ninja -C builddir
ninja -C builddir install

About

The X11/XCB external platform library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.5%
  • Meson 1.5%