Add basic shader minification (#13500)

* add basic shader minification (same GL JS does)

* don't remove line break at shader end
This commit is contained in:
Vladimir Agafonkin
2018-12-04 16:09:43 +02:00
committed by GitHub
parent aefcb1176a
commit c89daf6bf1
28 changed files with 957 additions and 1616 deletions

View File

@@ -7,8 +7,8 @@ namespace mbgl {
namespace shaders {
const char* line_pattern::name = "line_pattern";
const char* line_pattern::vertexSource = source() + 53433;
const char* line_pattern::fragmentSource = source() + 58509;
const char* line_pattern::vertexSource = source() + 37697;
const char* line_pattern::fragmentSource = source() + 41018;
// Uncompressed source of line_pattern.vertex.glsl:
/*