diff options
author | Mathias Agopian <mathias@google.com> | 2012-01-28 14:20:59 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-01-28 20:41:35 -0800 |
commit | 780018ded1caf8f3673c25c858656792f2a45dc4 (patch) | |
tree | 58d2dcccc7e4a23704da417beea7bc2a934a7b93 /opengl/libs/GLES_trace/tools | |
parent | 815af1ff595a6c028f28c16139a9e64ad98507a3 (diff) | |
download | frameworks_base-780018ded1caf8f3673c25c858656792f2a45dc4.zip frameworks_base-780018ded1caf8f3673c25c858656792f2a45dc4.tar.gz frameworks_base-780018ded1caf8f3673c25c858656792f2a45dc4.tar.bz2 |
update GLES headers and add support for corresponding new extensions.
Change-Id: I554d9659113b4721b748ee5c1a3b1ca82b11d75e
Diffstat (limited to 'opengl/libs/GLES_trace/tools')
-rwxr-xr-x | opengl/libs/GLES_trace/tools/genapi.py | 4 | ||||
-rw-r--r-- | opengl/libs/GLES_trace/tools/testgenapi.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/opengl/libs/GLES_trace/tools/genapi.py b/opengl/libs/GLES_trace/tools/genapi.py index 9b7a1cf..557e407 100755 --- a/opengl/libs/GLES_trace/tools/genapi.py +++ b/opengl/libs/GLES_trace/tools/genapi.py @@ -26,11 +26,11 @@ # module. The only reason to use pyratemp is that it is extremly # simple to install: # $ wget http://www.simple-is-better.org/template/pyratemp-current/pyratemp.py -# Put the file in the GLES2_trace/tools folder, or update PYTHONPATH +# Put the file in the GLES_trace/tools folder, or update PYTHONPATH # to point to wherever it was downloaded. # # USAGE -# $ cd GLES2_trace - run the program from GLES2_trace folder +# $ cd GLES_trace - run the program from GLES2_trace folder # $ ./tools/genapi.py - generates a .cpp and .h file # $ mv *.cpp *.h src/ - move the generated files into the src folder diff --git a/opengl/libs/GLES_trace/tools/testgenapi.py b/opengl/libs/GLES_trace/tools/testgenapi.py index 58a12a8..fe14954 100644 --- a/opengl/libs/GLES_trace/tools/testgenapi.py +++ b/opengl/libs/GLES_trace/tools/testgenapi.py @@ -15,7 +15,7 @@ # limitations under the License. # # USAGE -# $ cd GLES2_trace/tools +# $ cd GLES_trace/tools # $ python testgenapi.py import unittest @@ -45,9 +45,9 @@ class TestApiCall(unittest.TestCase): glext_apis = getApis('../../GLES_CM/glext_api.in', 'GL1Ext') self.assertEqual(len(gl2_apis), 142) - self.assertEqual(len(gl2ext_apis), 60) + self.assertEqual(len(gl2ext_apis), 121) self.assertEqual(len(gl_apis), 145) - self.assertEqual(len(glext_apis), 126) + self.assertEqual(len(glext_apis), 140) def test_parseArgs(self): args = parseArgs("void") |