From 1780f639148e920aa60611e16135a7101dc67ef5 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 16 Sep 2019 22:09:05 +0100 Subject: [PATCH] backend/driver.h: add comments about NVIDIA quirks Signed-off-by: Yuxuan Shui --- src/backend/driver.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/driver.h b/src/backend/driver.h index a575b1a7..29447e13 100644 --- a/src/backend/driver.h +++ b/src/backend/driver.h @@ -9,6 +9,10 @@ struct session; struct backend_base; +// A list of known driver quirks: +// * NVIDIA driver doesn't like seeing the same pixmap under different +// ids, so avoid naming the pixmap again when it didn't actually change. + /// A list of possible drivers. /// The driver situation is a bit complicated. There are two drivers we care about: the /// DDX, and the OpenGL driver. They are usually paired, but not always, since there is