Re: [Mesa-dev] [PATCH 2/2] mesa: dri: Add shared glapi to LIBADD on Android

2016-05-22 Thread Nicolas Boichat
On Thu, Apr 28, 2016 at 10:41 PM, Emil Velikov wrote: > On 28 April 2016 at 11:41, Nicolas Boichat wrote: >> /system/vendor/lib/dri/*_dri.so actually depend on libglapi: without >> this, loading the so file fails with: >> cannot locate symbol "__emutls_v._glapi_tls_Context" >> >> On non-Android (

Re: [Mesa-dev] [PATCH 2/2] mesa: dri: Add shared glapi to LIBADD on Android

2016-04-28 Thread Emil Velikov
On 28 April 2016 at 11:41, Nicolas Boichat wrote: > /system/vendor/lib/dri/*_dri.so actually depend on libglapi: without > this, loading the so file fails with: > cannot locate symbol "__emutls_v._glapi_tls_Context" > > On non-Android (non-bionic) platform, EGL uses the following > workflow, which

[Mesa-dev] [PATCH 2/2] mesa: dri: Add shared glapi to LIBADD on Android

2016-04-28 Thread Nicolas Boichat
/system/vendor/lib/dri/*_dri.so actually depend on libglapi: without this, loading the so file fails with: cannot locate symbol "__emutls_v._glapi_tls_Context" On non-Android (non-bionic) platform, EGL uses the following workflow, which works fine: dlopen("libglapi.so", RTLD_LAZY | RTLD_GLOBAL);