Skip to content

platforms/drm: fix buffer age for secondary GPUs

Xaver Hugl requested to merge work/fix-multi-gpu into master

Before we have been calling eglQuerySurface with an invalid display and invalid surface on the secondary GPU and it failed silently. As that crashes now (output.current.gbmSurface is nullptr), simply only call it on the primary GPU / from the primary egl backend where it now can actually work, too.

CCBUG: 433107

Merge request reports

Loading