meh / cancer

It's terminal.
GNU General Public License v3.0
130 stars 12 forks source link

Refactor platform handling #11

Open meh opened 7 years ago

meh commented 7 years ago

Platform stuff should be pickable at runtime and compile time with features.

The choice for window handling and surface creation and rendering and window handling should be separate, for example it should be able to have X11/GL as window/renderer, or X11/X11 for both, on macOS it should allow Cocoa/Quartz and Cocoa/GL.