summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/gl/shaders.hpp
blob: 5278ea54dac8f90e432e1eb65f1cade0fd429683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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