pepper: Accumulate output damage and automatically schedule repaint.
authorTaekyun Kim <tkq.kim@samsung.com>
Tue, 23 Jun 2015 05:35:58 +0000 (14:35 +0900)
committerTaekyun Kim <tkq.kim@samsung.com>
Tue, 7 Jul 2015 06:56:51 +0000 (15:56 +0900)
commita25d1be9f9b6c2a4a9373cf6a2c747d507206a18
tree5292b0827bc2ea053e1ca1161af42d5f4a45118e
parentbfb6265307570ffe16f99308a79972ae8e54b216
pepper: Accumulate output damage and automatically schedule repaint.

Damage is maintained per output and is passed to the repaint function.
Damage region is in output local coordinate space so an output backend should
be careful not to translate it to global compositor space.

No damage, we have nothing to repaint. So, we can safely schedule repaint
whenever damage is generated. Essentially, we don't have to expose repaint
scheduling APIs.

Change-Id: Iebff5fec5f93d764a8ea8894b7f84c8ded9c59c3
pepper/src/compositor.c
pepper/src/output.c
pepper/src/pepper-internal.h
pepper/src/pepper.h
pepper/src/surface.c
x11/src/x11-common.c