0

So I'm trying to create separate dynamic modules for each of the major parts of my code. I've previously managed to implement GLX and X11 in the same class (by effectively butchering it). I was wondering what the best way to implement it is, considering I also want to implement Vulkan (though I'm not specifically asking about the Vulkan implementation now?)

What can go in the Window Module, and what can go in the Graphics Module? In Windows, seperating the Pixelformat, HDC, and HRC allow me to have the two seperate modules, so that any of the three graphics APIs I want to load work. This is simply not the case with X11.

closed as off-topic by G-Man, HalosGhost, Satō Katsura, techraf, Gilles Nov 15 '16 at 23:23

  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

locked by Community Nov 15 '16 at 23:23