blob: 8b7aee5a0b29419bae7af46143c562fc6486becf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// NOTE: DO NOT CHANGE THIS FILE. IT IS AUTOMATICALLY GENERATED.
#include <mbgl/programs/debug_program.hpp>
#include <mbgl/programs/gl/shader_source.hpp>
#include <mbgl/gl/program.hpp>
namespace mbgl {
namespace gfx {
template <>
std::unique_ptr<Program<DebugProgram>>
Context::createProgram<gl::Context>(const ProgramParameters& programParameters) {
return gl::Program<DebugProgram>::createProgram(
reinterpret_cast<gl::Context&>(*this), programParameters, "debug",
programs::gl::shaderSource() + 12450, programs::gl::shaderSource() + 12546);
}
} // namespace gfx
} // namespace mbgl
// Uncompressed source of debug.vertex.glsl:
/*
attribute vec2 a_pos;
uniform mat4 u_matrix;
void main() {
gl_Position = u_matrix * vec4(a_pos, 0, 1);
}
*/
// Uncompressed source of debug.fragment.glsl:
/*
uniform highp vec4 u_color;
void main() {
gl_FragColor = u_color;
}
*/
|