Re: [Mesa-dev] unlock android graphic buffer spend too much time

2018-04-23 Thread Tapani Pälli
Hi; On 23.04.2018 13:13, Zong, Wei wrote: Hi Dear Mesa experts, I'm reading android graphic buffer by calling “*GraphicBuffer::lock” *with parameter "GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_NEVER", I copied the buffer into a CPU allocated memory only cost less than 1 millisecond

[Mesa-dev] unlock android graphic buffer spend too much time

2018-04-23 Thread Zong, Wei
Hi Dear Mesa experts, I'm reading android graphic buffer by calling “GraphicBuffer::lock” with parameter "GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_NEVER", I copied the buffer into a CPU allocated memory only cost less than 1 millisecond. the resolution of this graphic buffer is 12