Re: [Mesa-dev] [PATCH mesa v2 1/2] egl/display: only detect the platform once

2017-06-16 Thread Eric Engestrom
On Friday, 2017-06-16 12:10:55 +0300, Grazvydas Ignotas wrote: > On Fri, Jun 16, 2017 at 1:53 AM, Eric Engestrom wrote: > > My refactor missed the fact that `native_platform` is static. > > Add the proper guard around the detection code, as it might not be > > necessary, and

Re: [Mesa-dev] [PATCH mesa v2 1/2] egl/display: only detect the platform once

2017-06-16 Thread Grazvydas Ignotas
On Fri, Jun 16, 2017 at 1:53 AM, Eric Engestrom wrote: > My refactor missed the fact that `native_platform` is static. > Add the proper guard around the detection code, as it might not be > necessary, and only print the debug message when a detection was > actually performed. >

[Mesa-dev] [PATCH mesa v2 1/2] egl/display: only detect the platform once

2017-06-15 Thread Eric Engestrom
My refactor missed the fact that `native_platform` is static. Add the proper guard around the detection code, as it might not be necessary, and only print the debug message when a detection was actually performed. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101252 Fixes: