glamor_make_current is always called before any calls to GL.
Apply some dirty-tracking to whenever we call
that we can avoid a decent amount of redundant GL work on each
Gamescope previously was waking up an empty Xwayland server with an XQueryPointer and I noticed a significant amount of churn doing redundant GL work.
This has been addressed on the Gamescope side as well, but avoiding any useless GL context switches and flushes when glamor is doing nothing is still beneficial for CPU and power usage on portable devices.