glshim updated, added latest changes by ptitSeb

This commit is contained in:
lubomyr
2016-01-09 19:05:47 +02:00
parent b5b4898279
commit 7cdf3050a4
50 changed files with 12858 additions and 13457 deletions

3
project/jni/glshim/spec/template/base/wrap.c.j2 Normal file → Executable file
View File

@@ -3,12 +3,13 @@
{% include "base/headers.j2" %}
{% for func in functions %}
{% block definition scoped %}
{{ func.return }} {{ func.name }}({{ func.args|args }}) {
{{ func.return }} glshim_{{ func.name }}({{ func.args|args }}) {
{% block load scoped %}{% endblock %}
{% block call scoped %}
{% if not func.void %}return {% endif %}{% block prefix %}wrap{% endblock %}_{{ func.name }}({{ func.args|args(0) }});
{%- endblock %}
}
{{ func.return }} {{ func.name }}({{ func.args|args }}) __attribute__((alias("glshim_{{ func.name }}")));
{% endblock %}
{% endfor %}
{% endblock %}