| Mathias Agopian | b519abb | 2009-04-23 18:05:44 -0700 | [diff] [blame] | 1 | #! /bin/sh | 
|  | 2 | # | 
|  | 3 | # Copyright (C) 2008 Google Inc. | 
|  | 4 | # | 
|  | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | 6 | # you may not use this file except in compliance with the License. | 
|  | 7 | # You may obtain a copy of the License at | 
|  | 8 | # | 
|  | 9 | #      http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 10 | # | 
|  | 11 | # Unless required by applicable law or agreed to in writing, software | 
|  | 12 | # distributed under the License is distributed on an "AS IS" BASIS, | 
|  | 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 14 | # See the License for the specific language governing permissions and | 
|  | 15 | # limitations under the License. | 
|  | 16 |  | 
| Mathias Agopian | 618fa10 | 2009-10-14 02:06:37 -0700 | [diff] [blame] | 17 | ./glapigen ../../include/GLES/gl.h      > ../GLES_CM/gl_api.in | 
|  | 18 | ./glapigen ../../include/GLES/glext.h   > ../GLES_CM/glext_api.in | 
|  | 19 | ./glapigen ../../include/GLES2/gl2.h    > ../GLES2/gl2_api.in | 
|  | 20 | ./glapigen ../../include/GLES2/gl2ext.h > ../GLES2/gl2ext_api.in | 
| Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 21 |  | 
| Mathias Agopian | 618fa10 | 2009-10-14 02:06:37 -0700 | [diff] [blame] | 22 | ./glentrygen ../../include/GLES/gl.h      > /tmp/gl_entries.in | 
|  | 23 | ./glentrygen ../../include/GLES/glext.h   > /tmp/glext_entries.in | 
|  | 24 | ./glentrygen ../../include/GLES2/gl2.h    > /tmp/gl2_entries.in | 
|  | 25 | ./glentrygen ../../include/GLES2/gl2ext.h > /tmp/gl2ext_entries.in | 
| Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 26 |  | 
| Mathias Agopian | 618fa10 | 2009-10-14 02:06:37 -0700 | [diff] [blame] | 27 | cat /tmp/gl_entries.in \ | 
|  | 28 | /tmp/glext_entries.in \ | 
|  | 29 | /tmp/gl2_entries.in \ | 
|  | 30 | /tmp/gl2ext_entries.in \ | 
|  | 31 | | sort -t, -k2 \ | 
|  | 32 | | awk -F, '!_[$2]++' \ | 
|  | 33 | > ../entries.in | 
| Jack Palevich | a2dd6cf | 2010-10-26 15:21:24 -0700 | [diff] [blame] | 34 |  | 
|  | 35 | ./gltracegen ../entries.in >../trace.in | 
|  | 36 |  | 
|  | 37 | cat ../../include/GLES/gl.h \ | 
|  | 38 | ../../include/GLES/glext.h \ | 
|  | 39 | ../../include/GLES2/gl2.h \ | 
|  | 40 | ../../include/GLES2/gl2ext.h \ | 
|  | 41 | | ./glenumsgen \ | 
|  | 42 | | sort \ | 
|  | 43 | > ../enums.in | 
|  | 44 |  |