X Windows - stereoboy/Study GitHub Wiki
Contents
X Windows
X Window examples
$ sudo apt-get install x11-apps
$ apt-get source x11-apps
$ tree x11-apps-xxxx -d -L 1
x11-apps-7.7+6ubuntu1/
├── bitmap
├── debian
├── ico
├── oclock
├── rendercheck
├── transset
├── x11perf //<- test suites for xwindow drawing operations
├── xbiff
├── xcalc
├── xclipboard
├── xclock
├── xconsole
├── xcursorgen
├── xditview
├── xedit
├── xeyes
├── xgc
├── xload
├── xlogo
├── xmag
├── xman
├── xmore
├── xwd
└── xwud
X Window examples using xcb
3D Graphics
Check GLX
$ sudo apt-get install mesa-utils
$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
...
Check EGL
$ sudo apt-get install mesa-utils-extra
$ eglinfo
EGL client extensions string:
EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration
EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses
EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11
EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_MESA_platform_gbm
EGL_MESA_platform_surfaceless
GBM platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL extensions string:
EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_KHR_cl_event2
...