Change the surface management in queue 73/52673/1
authorSangjin Lee <lsj119@samsung.com>
Wed, 25 Nov 2015 13:05:15 +0000 (22:05 +0900)
committerSangjin Lee <lsj119@samsung.com>
Wed, 25 Nov 2015 13:05:43 +0000 (22:05 +0900)
commitaf2f784536a891d2e9cd18c6d2f8f1d7f9d130b0
tree149197ddd6455c1fc249d6c64d56c1b924821abb
parentd578672be39eb6a37e0e60f383829a8f7fd83da2
Change the surface management in queue

In tbm_surface_queue_create(), just alloc dummy node.
When dequeue surface, alloc tbm_surface_h for memory usage.
Also when relese the surface, push front to the free_queue.

Change-Id: Ice2f144f88ed9bc0c5f9054c4e4bee9d8aac714a
src/tbm_surface_queue.c