I'm trying to get into some practice with Mesa GL and I know it works for the X desktop. Will it work the same with Gnome or KDE? Are those based off of X?

Yes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.