From 3c91b6b7de487993e75de552ba44249740644e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 15 Mar 2017 18:43:58 +0100 Subject: [core] cache binary shaders on Android --- proto/binary_program.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 proto/binary_program.proto (limited to 'proto') diff --git a/proto/binary_program.proto b/proto/binary_program.proto new file mode 100644 index 0000000000..9d06a209c3 --- /dev/null +++ b/proto/binary_program.proto @@ -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; +} -- cgit v1.2.1