X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fegl.html;h=eebb8c73b55b0cabef8c5488c51eb5360dc754ba;hb=11ee9a4d99fd68be4c09341225e7faeff70d1b9b;hp=4cc5b83d98a7f34b00ea409823e47516e74f1b73;hpb=b5da52ac581c0f0a6587a489198cd02247b6b931;p=mesa.git diff --git a/docs/egl.html b/docs/egl.html index 4cc5b83d98a..eebb8c73b55 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -18,7 +18,7 @@

The current version of EGL in Mesa implements EGL 1.4. More information about EGL can be found at - + http://www.khronos.org/egl/.

The Mesa's implementation of EGL uses a driver architecture. The main @@ -60,31 +60,35 @@ or more EGL drivers.

There are several options that control the build of EGL at configuration time

- +

Use EGL

@@ -132,8 +140,9 @@ mesa/demos repository.

There are several environment variables that control the behavior of EGL at runtime

- + +

EGL Drivers

- +

Packaging

@@ -246,10 +252,6 @@ is disabled by default.

src/egl/. The sources of the egl state tracker can be found at src/gallium/state_trackers/egl/.

-

The suggested way to learn to write a EGL driver is to see how other drivers -are written. egl_glx should be a good reference. It works in any -environment that has GLX support, and it is simpler than most drivers.

-

Lifetime of Display Resources

Contexts and surfaces are examples of display resources. They might live @@ -257,8 +259,8 @@ longer than the display that creates them.

In EGL, when a display is terminated through eglTerminate, all display resources should be destroyed. Similarly, when a thread is released -throught eglReleaseThread, all current display resources should be -released. Another way to destory or release resources is through functions +through eglReleaseThread, all current display resources should be +released. Another way to destroy or release resources is through functions such as eglDestroySurface or eglMakeCurrent.

When a resource that is current to some thread is destroyed, the resource