Skip to content

clutter/cogl: Query pending_swaps instead of counting them

Cogl was already counting them internally with the pending_frame_infos queue. This allows us to remove the pending_swaps counter.

This doesn't resolve any bugs but it does allow us to remove the redundant counting logic which has proven unreliable in the past (1, 2).

Edited by Daniel van Vugt

Merge request reports