Commits on Source (20)
-
Rémi Denis-Courmont authored
No functional changes.
cb4f1288 -
Rémi Denis-Courmont authored
This introduces a proper ReleaseDisplay() function to release platform-specific resources. No functional changes.
0b2820e9 -
Rémi Denis-Courmont authored
This introduces an internal CreateSurface() to allocate the EGL surface in whatever platform-specific mean.
51b7447e -
Rémi Denis-Courmont authored
If creating the EGL display fails, we really should not map a window for naught.
81b73415 -
Rémi Denis-Courmont authored8d8f1954
-
Rémi Denis-Courmont authoredca8350f7
-
Rémi Denis-Courmont authored
This gathers all the Xlib-specific display creation code into a dedicated function. This also creates (but does not map) the intermediate window as that operation also requires the geometry data.
5cab577f -
Rémi Denis-Courmont authored1c0824a4
-
Rémi Denis-Courmont authored
Also create the intermediate window only if the EGL display was created successfully.
07925aa6 -
Rémi Denis-Courmont authored62d85090
-
Rémi Denis-Courmont authored
This actually requests that the EGL display be reference-counted if the EGL implementation supports it.
a9040edd -
Rémi Denis-Courmont authored
This applied the attribute to surface objects, but this is an attribute for display objects. This reverts commit 64f2e3b4.
bb655ccf -
Rémi Denis-Courmont authorede9e9e0b2
-
Rémi Denis-Courmont authored32ffe633
-
Rémi Denis-Courmont authored23488f7a
-
Rémi Denis-Courmont authored0bf6bf52
-
Rémi Denis-Courmont authored343bad05
-
Rémi Denis-Courmont authored
Only release the window if it was actually referenced.
aded95ed -
Rémi Denis-Courmont authored
Client extensions and function pointers are independent of the display and will never change during run-time, so cache them once and for all.
5d330a5f -
Rémi Denis-Courmont authored
The code implicitly assumes that EGL version is 1.4 or later, which is required for client extensions. Rather than crash, fail safe in the unlikely event that the EGL client run-time is older.
8ff0e626