Add new parameter "auto_align".
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 13 Jun 2014 05:45:06 +0000 (14:45 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 13 Jun 2014 05:45:06 +0000 (14:45 +0900)
commit9ddc8f021909f68ec0e4ca58e6ebd75217e52b7a
treeca37418f7490dd8866b64676838ec16e09eb789b
parenta2bd6cebf4e68e2465d36592a2c974c57f2e7a3c
Add new parameter "auto_align".

it is "1" by default.
in that case, if the stride is not matched with screen size,
the code will allocate hep to align them.

but if it is 0,
the library doesn't do anything.
just pass the allocated rendering buffer.
Then it should be managed by requestor.

Change-Id: I2be0c42f4cc8db24889d2d8ff15d8acc701c5cf8
CMakeLists.txt
include/livebox.h
packaging/liblivebox.spec
src/livebox.c
src/virtual_window.c