Load program binary extension on Linux

This commit is contained in:
Leith Bade
2014-11-23 10:18:13 +11:00
parent ff640132de
commit 6df4e4a52c
11 changed files with 250 additions and 47 deletions

View File

@@ -0,0 +1,12 @@
#include <mbgl/platform/platform.hpp>
namespace mbgl {
namespace platform {
// Returns the path to the default shader cache on this system.
std::string defaultShaderCache() {
return "/tmp/mbgl-shader-cache-";
}
}
}