Add headless OSMesa backend

Allows creation and drawing to in-memory OpenGL contexts.

This backend does not provide input.

Related to #850.
This commit is contained in:
Jason Daly
2016-08-30 15:53:19 -07:00
committed by Camilla Berglund
parent a90ee65f7b
commit 368fa9475d
12 changed files with 766 additions and 0 deletions
+2
View File
@@ -172,6 +172,8 @@ typedef void (APIENTRY * PFN_vkVoidFunction)(void);
#include "wl_platform.h"
#elif defined(_GLFW_MIR)
#include "mir_platform.h"
#elif defined(_GLFW_OSMESA)
#include "osmesa_platform.h"
#else
#error "No supported window creation API selected"
#endif