summaryrefslogtreecommitdiff
path: root/Events/XDC2014/XDC2014RitgerEGLNonMesa.mdwn
blob: 5c05242a0f4fc1ccc3a42e20e48f1649ebe86924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Andy Ritger - Enabling Alternative Window Systems with a non-Mesa Graphics Driver Implementation

Alternates to the X Window System, such as Wayland and Mir, have evolved
through novel use of the building blocks of the Mesa-, DRI-, and DRM-based
Linux graphics driver stack.

We have been working to support alternative window systems in the NVIDIA 
Linux Graphics Driver through:

 * Refactoring our driver stack to more closely align to the organization
  assumed by these alternative window systems (e.g., by working to plug
  into DRM-KMS).
 * Proposing new EGL extensions that alternative window system
  implementations can use to enumerate GPUs, correlate objects between
  EGL and DRM-KMS, and present frames through EGL + DRM-KMS.

In this talk, I will describe the work NVIDIA has been doing to prepare
to plug into DRM-KMS, present the EGL_EXT_device_* and EGL_EXT_output_*
family of extensions:

 * [EGL_EXT_device_base](http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_device_base.txt)
 * [EGL_EXT_device_drm](http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_device_drm.txt)
 * [EGL_EXT_output_base](http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_output_base.txt)
 * [EGL_EXT_output_drm](http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_device_drm.txt)

and suggest an EGLStream-based mechanism to present frames to an [EGLoutput](http://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_stream_consumer_egloutput.txt)


[[Slides|nvidia-and-compositors.pdf]]