summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-01-27 12:34:55 +1100
committerLeith Bade <leith@mapbox.com>2015-01-27 12:38:40 +1100
commitaaedd9c83b07d9ba13668a65647089e84a677064 (patch)
tree14e83ff67dcb99e4d448f7e82752a0fb00b0ae4f /include
parenta8f86d47f659b5f7df7c8699fbf33144e69e7f36 (diff)
downloadqtlocation-mapboxgl-aaedd9c83b07d9ba13668a65647089e84a677064.tar.gz
Remove program binary caching
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/platform/gl.hpp12
-rw-r--r--include/mbgl/platform/platform.hpp3
2 files changed, 0 insertions, 15 deletions
diff --git a/include/mbgl/platform/gl.hpp b/include/mbgl/platform/gl.hpp
index 140c985042..61701a4384 100644
--- a/include/mbgl/platform/gl.hpp
+++ b/include/mbgl/platform/gl.hpp
@@ -152,18 +152,6 @@ extern bool isPackedDepthStencilSupported;
extern bool isDepth24Supported;
#define GL_DEPTH_COMPONENT24 0x81A6
-// GL_ARB_get_program_binary / GL_OES_get_program_binary
-#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
-#define GL_PROGRAM_BINARY_LENGTH 0x8741
-#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
-#define GL_PROGRAM_BINARY_FORMATS 0x87FF
-typedef void (* PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
-typedef void (* PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
-typedef void (* PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
-extern PFNGLGETPROGRAMBINARYPROC GetProgramBinary;
-extern PFNGLPROGRAMBINARYPROC ProgramBinary;
-extern PFNGLPROGRAMPARAMETERIPROC ProgramParameteri;
-
// Debug group markers, useful for debugging on iOS
#if defined(DEBUG)
// static int indent = 0;
diff --git a/include/mbgl/platform/platform.hpp b/include/mbgl/platform/platform.hpp
index 02c612c833..b4aaccb8bd 100644
--- a/include/mbgl/platform/platform.hpp
+++ b/include/mbgl/platform/platform.hpp
@@ -20,9 +20,6 @@ std::string lowercase(const std::string &string);
// Returns the path to the default cache database on this system.
std::string defaultCacheDatabase();
-// Returns the path to the default shader cache on this system.
-std::string defaultShaderCache();
-
std::string applicationRoot();
// Shows an alpha image with the specified dimensions in a named window.