Use system semaphore to synchronize with client about rendering buffer access

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement a remote texture cache to store buffer to texture mappings

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Open-webOS-DCO-1.0-Signed-off-by: Florian Haenel <florian.hanel@palm.com>
Hold the last rendered buffer back and don't release it if we don't have anything in queue

Signed-off-by: Simon Busch <morphis@gravedo.de>
Remove debug messages from rendering code

Signed-off-by: Simon Busch <morphis@gravedo.de>
Cancel all incoming buffers when window or it's parent are not visible

Signed-off-by: Simon Busch <morphis@gravedo.de>