[platforms/x11] Add support for GLX_NV_robustness_video_memory_purge
ClosedPublic

Authored by graesslin on Jun 22 2017, 3:35 PM.

Details

Summary

Based on earlier phab-request D2079. Adds the nvidia memory purge
extension to the robust context creation.

BUG: 344326
FIXED-IN: 5.10.3

Test Plan

Only compile tested as I don't have an NVIDIA card.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Jun 22 2017, 3:35 PM
Restricted Application added a project: KWin. · View Herald TranscriptJun 22 2017, 3:35 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
elvisangelaccio accepted this revision.Jun 26 2017, 1:22 PM
elvisangelaccio added a subscriber: elvisangelaccio.

Tested, works fine. I get the "Desktop effects were restarted due to a graphic reset" notification every time I switch from any tty back to tty1.

This revision is now accepted and ready to land.Jun 26 2017, 1:22 PM
This revision was automatically updated to reflect the committed changes.