Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-21 Thread Emil Velikov
On 20/08/14 23:11, Chad Versace wrote: > On 08/18/2014 05:35 PM, Emil Velikov wrote: >> On 18/08/14 22:40, Chad Versace wrote: >>> On 08/13/2014 03:47 PM, Emil Velikov wrote: On 13/08/14 23:23, Chad Versace wrote: > On 07/22/2014 08:31 PM, Emil Velikov wrote: >> This will allow us to c

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-20 Thread Chad Versace
On 08/19/2014 11:15 AM, Emil Velikov wrote: > Actually with my rant aside [snip] I ranted too :) > we should be safe with just opening > opengl32 and returning the function pointer regardless of the API > requested. I haven't checked with the specifications but I would > assume that ES* would pro

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-20 Thread Chad Versace
On 08/18/2014 05:35 PM, Emil Velikov wrote: > On 18/08/14 22:40, Chad Versace wrote: >> On 08/13/2014 03:47 PM, Emil Velikov wrote: >>> On 13/08/14 23:23, Chad Versace wrote: On 07/22/2014 08:31 PM, Emil Velikov wrote: > This will allow us to correctly work around waffle design which >

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-19 Thread Emil Velikov
Actually with my rant aside we should be safe with just opening opengl32 and returning the function pointer regardless of the API requested. I haven't checked with the specifications but I would assume that ES* would provides symbols that are already in OGL 1.0. How does this sound ? -Emil On 19

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-18 Thread Emil Velikov
On 18/08/14 22:40, Chad Versace wrote: > On 08/13/2014 03:47 PM, Emil Velikov wrote: >> On 13/08/14 23:23, Chad Versace wrote: >>> On 07/22/2014 08:31 PM, Emil Velikov wrote: This will allow us to correctly work around waffle design which allows the a library to be dl_open'ed if we suppor

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-18 Thread Chad Versace
On 08/13/2014 03:47 PM, Emil Velikov wrote: > On 13/08/14 23:23, Chad Versace wrote: >> On 07/22/2014 08:31 PM, Emil Velikov wrote: >>> This will allow us to correctly work around waffle design which >>> allows the a library to be dl_open'ed if we support the corresponding >>> WAFFLE_CONTEXT (via w

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-13 Thread Emil Velikov
On 13/08/14 23:23, Chad Versace wrote: > On 07/22/2014 08:31 PM, Emil Velikov wrote: >> This will allow us to correctly work around waffle design which >> allows the a library to be dl_open'ed if we support the corresponding >> WAFFLE_CONTEXT (via waffle_display_supports_context_api). >> >> This is

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-13 Thread Chad Versace
On 07/22/2014 08:31 PM, Emil Velikov wrote: > This will allow us to correctly work around waffle design which > allows the a library to be dl_open'ed if we support the corresponding > WAFFLE_CONTEXT (via waffle_display_supports_context_api). > > This is required by WGL which (as implemented in thi

Re: [waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-08-04 Thread Chad Versace
On 07/22/2014 08:31 PM, Emil Velikov wrote: > This will allow us to correctly work around waffle design which > allows the a library to be dl_open'ed if we support the corresponding > WAFFLE_CONTEXT (via waffle_display_supports_context_api). > > This is required by WGL which (as implemented in thi

[waffle] [PATCH 13/18] api: make dl_can_open() dl_sym() display dependent

2014-07-22 Thread Emil Velikov
This will allow us to correctly work around waffle design which allows the a library to be dl_open'ed if we support the corresponding WAFFLE_CONTEXT (via waffle_display_supports_context_api). This is required by WGL which (as implemented in this patch) can support ES contexts via EXT_create_contex