Re: [Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v3.1)

2017-07-18 Thread Tomasz Figa
esh ; Kenneth Graunke > ; Kondapally, Kalyan ; > Rainer Hochecker ; ML mesa-dev > ; Nicolai Hähnle ; > Varad Gautam > Subject: Re: [Mesa-dev] [EGL android: accquire fence implementation] i965: > Queue the buffer with a sync fence for Android OS (v3.1) > > Hi Zhongmin, >

Re: [Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v3.1)

2017-07-18 Thread Wu, Zhongmin
android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v3.1) Hi Zhongmin, Thanks for the patch. Please see my comments inline. On Wed, Jul 19, 2017 at 12:22 PM, Zhongmin Wu wrote: > Before we queued the buffer with a invalid fence (-1), it will m

Re: [Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v3.1)

2017-07-18 Thread Tomasz Figa
Hi Zhongmin, Thanks for the patch. Please see my comments inline. On Wed, Jul 19, 2017 at 12:22 PM, Zhongmin Wu wrote: > Before we queued the buffer with a invalid fence (-1), it will > make some benchmarks failed to test such as flatland. > > Now we get the out fence during the flushing buffer

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v3.1)

2017-07-18 Thread Zhongmin Wu
Before we queued the buffer with a invalid fence (-1), it will make some benchmarks failed to test such as flatland. Now we get the out fence during the flushing buffer and then pass it to SurfaceFlinger in eglSwapbuffer function. v2: a) Also implement the fence in cancelBuffer. b) The last s