Comment 7 for bug 1520537

MichaƂ Sawicz (saviq) wrote :

After learning some gdb tricks I believe indeed the "Mir/Mesa" detection isn't working anymore:

> Source directories searched: /tmp/oxide-qt-1.12.5/qt/core/api/internal:$cdir:$cwd
> Function "ui::(anonymous namespace)::IsRunningOnMesaMir" not defined.
> Breakpoint 1 (ui::(anonymous namespace)::IsRunningOnMesaMir) pending.
> Continuing.
>
> [...]
>
> Breakpoint 1, ui::(anonymous namespace)::GetPlatformAttribOverrides (native_display=139731660709456)
> at ../../../../shared/port/ozone/surface_factory_ozone_oxide.cc:148
> 148 if (!PBufferSurfacesSupported(native_display)) {
> 146 std::map<EGLint, EGLint> overrides;
> 148 if (!PBufferSurfacesSupported(native_display)) {
> ui::SurfaceFactoryOzoneOxide::GetEGLSurfaceProperties (this=<optimized out>, desired_list=0x7fffe28ce9f0)
> at ../../../../shared/port/ozone/surface_factory_ozone_oxide.cc:195
> 195 if (attribute_overrides.size() == 0) {

https://bazaar.launchpad.net/~oxide-developers/oxide/oxide.trunk/view/head:/shared/port/ozone/surface_factory_ozone_oxide.cc#L195

It returns at this point, which IIUC means EGL_SURFACE_TYPE isn't set to EGL_WINDOW_BIT (which it should.

> 194 GetPlatformAttribOverrides(GetNativeDisplay());
> 226 }
> Continuing.
>
> [...]

Program received signal SIGABRT, Aborted.