[core] cache binary shaders on Android

This commit is contained in:
Konstantin Käfer
2017-03-15 18:43:58 +01:00
parent d20327844c
commit 3c91b6b7de
29 changed files with 541 additions and 47 deletions

View File

@@ -0,0 +1,18 @@
// Protocol Version 1
package mapboxgl.binary_program;
option optimize_for = LITE_RUNTIME;
message binding {
required string name = 1;
required uint32 value = 2;
}
message binary_program {
required uint32 format = 1;
required bytes code = 2;
repeated binding attribute = 3;
repeated binding uniform = 4;
optional string identifier = 5;
}