glshim update

This commit is contained in:
lubomyr
2015-09-13 21:17:37 +03:00
parent f932c71f42
commit b0893e16bf
105 changed files with 2033 additions and 11571 deletions

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

@@ -1,6 +1,17 @@
{% extends "base/header.j2" %}
{% block content %}
typedef struct {
int format;
void *func;
void *args;
} packed_call_t;
typedef struct {
int func;
void *args;
} indexed_call_t;
enum FORMAT {
{% for f in formats %}
FORMAT_{{ f.types }},
@@ -19,7 +30,6 @@ typedef struct {
typedef struct {
int format;
FUNC_{{ f.types }} func;
int refs;
{% if f.args %}
ARGS_{{ f.types }} args;
{% endif %}