Skip to content
Commit fb91919f authored by Philipp Zabel's avatar Philipp Zabel Committed by Daniel Stone
Browse files

gl-renderer: track damage on dummy renderbuffers



Create dummy renderbuffers to track surface buffer damage on
demand. The renderbuffer representing the surface buffer that
is currently rendered to is inferred using buffer age.
This aligns damage tracking with the Pixman renderer and will
simplify adding FBO rendering support.

The previous/total_damage regions and the buffer/border_damage
arrays are now unused except for validation.
They can be removed next.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 38181e17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment