Re: [waffle] [PATCH 5/7] surfaceless_egl: Implement new platform

2016-10-29 Thread Emil Velikov
On 29 October 2016 at 18:59, Chad Versace wrote: > On Wed 19 Oct 2016, Emil Velikov wrote: >> On 18 October 2016 at 18:33, Chad Versace wrote: >> > Now waffle_init() supports WAFFLE_PLATFORM_SURFACELESS_EGL. >> > >> > Cc: Gurchetan Singh >> > Cc: Haixia Shi >> > --- >> > include/waffle/waffle.

Re: [waffle] [PATCH 7/7] tests/gl_basic_test: Support platform surfaceless_egl

2016-10-29 Thread Chad Versace
On Wed 19 Oct 2016, Emil Velikov wrote: > On 18 October 2016 at 18:33, Chad Versace wrote: > > Run with `bin/gl_basic_test --platform=surfaceless_egl`. > > > > All the tests fail! The rgba pixels returned by glReadPixels are > > black (0x0, 0x0, 0x0, 0xff), but the test expects magenta (0xff, 0x0,

Re: [waffle] [PATCH 5/7] surfaceless_egl: Implement new platform

2016-10-29 Thread Chad Versace
On Wed 19 Oct 2016, Emil Velikov wrote: > On 18 October 2016 at 18:33, Chad Versace wrote: > > Now waffle_init() supports WAFFLE_PLATFORM_SURFACELESS_EGL. > > > > Cc: Gurchetan Singh > > Cc: Haixia Shi > > --- > > include/waffle/waffle.h | 1 + > > man/waffle_init.3.xml

Re: [waffle] [PATCH 4/7] cmake: Add option waffle_has_surfaceless_egl

2016-10-29 Thread Chad Versace
On Wed 19 Oct 2016, Emil Velikov wrote: > On 18 October 2016 at 18:33, Chad Versace wrote: > > This patch contains just the CMake changes for the new surfaceless_egl > > platform. Code will come in the following patches. > > > > Cc: Gurchetan Singh > > Cc: Haixia Shi > > --- > > Options.cmake

Re: [waffle] [PATCH 3/7] egl: Allow pbuffers to back wegl_surface

2016-10-29 Thread Chad Versace
On Wed 19 Oct 2016, Emil Velikov wrote: > On 18 October 2016 at 18:33, Chad Versace wrote: > > Add function wegl_pbuffer_init(), which initializes a struct > > wegl_surface with eglCreatePbufferSurface(). > > > > Not yet used, but will be used later by the new surfaceless platform. > > > > Cc: Gur