Re: [Mesa-dev] [PATCH v2] EGL/android: Enhance pbuffer implementation

2016-12-06 Thread Tomasz Figa
On Tue, Dec 6, 2016 at 5:49 PM, Liu Zhiquan wrote: > Some dri drivers will pass multiple bits in buffer_mask parameter > to droid_image_get_buffer(), more than the actual supported buffer > type combination. For such case, will go through all the bits, and > will not return

[Mesa-dev] [PATCH v2] EGL/android: Enhance pbuffer implementation

2016-12-06 Thread Liu Zhiquan
Some dri drivers will pass multiple bits in buffer_mask parameter to droid_image_get_buffer(), more than the actual supported buffer type combination. For such case, will go through all the bits, and will not return error when unsupported buffer is requested, only return error when the allocation