summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/gl/shaders.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/programs/gl/shaders.hpp')
-rw-r--r--src/mbgl/programs/gl/shaders.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mbgl/programs/gl/shaders.hpp b/src/mbgl/programs/gl/shaders.hpp
new file mode 100644
index 0000000000..5278ea54da
--- /dev/null
+++ b/src/mbgl/programs/gl/shaders.hpp
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <string>
+
+namespace mbgl {
+
+class ProgramParameters;
+
+namespace programs {
+namespace gl {
+
+std::string fragmentSource(const ProgramParameters&, const char* fragmentSource);
+std::string vertexSource(const ProgramParameters&, const char* vertexSource);
+std::string programIdentifier(const std::string& vertexSource, const std::string& fragmentSource);
+
+} // namespace gl
+} // namespace programs
+} // namespace mbgl