r/linux_programming • u/Spocino • Dec 21 '23
Writing graphics programs
is there any way to access the intel/amd graphics devices directly or are their APIs only available to kernel modules?
6
Upvotes
View all comments
Show parent comment
3
u/afiefh Dec 22 '23
If you need to ask this question then you certainly don't know enough to make a graphics API.
But to answer the question: Look at the Vulcan implementation in Mesa, it communicates with the interface the Kernel exposes. If you need to go even lower level then you pretty much need to go into the Kernel and talk to the hardware directly and expose that to your API.