backend/driver.h: add comments about NVIDIA quirks

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-09-16 22:09:05 +01:00
parent b2ff4eb2c9
commit 1780f63914
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@
struct session; struct session;
struct backend_base; 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. /// A list of possible drivers.
/// The driver situation is a bit complicated. There are two drivers we care about: the /// 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 /// DDX, and the OpenGL driver. They are usually paired, but not always, since there is