https://github.com/antoniotejada/glparse
https://github.com/antoniotejada/glparse
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/antoniotejada/glparse
- Owner: antoniotejada
- Created: 2017-05-25T06:18:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T06:15:33.000Z (about 8 years ago)
- Last Synced: 2025-01-25T18:21:50.732Z (9 months ago)
- Language: C
- Size: 15.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Dei: deinline.py
Awesome Lists containing this project
README
# glparse
Scripts to
1. parse Android OpenGL ES trace files
1. generate C code
1. automatically refactor the code
1. generate an Android APKSee [pfc_final.pdf](pfc_final.pdf)
# Files
| Filename | Description |
| --------------- |------------|
| `activity/` | Activity template for Android NDK |
| `build.bat` | Invokes `build.py` |
| `build.py` | Invokes glparse.py, deinline.py, NDK build and ant build to generate an APK |
| `deinline.py` | Refactors a C file generated by `glparse.py` |
| `external/` | Khronos and protobuff files
| `generate_gltrace_from_inc.bat` | Invokes several scripts to generate a .gltrace file from an existing trace.inc file
| `glcap.bat` | Invokes `glcap.py`
| `glcap.py` | Invokes an installed APK and generates an OpenGL ES trace.
| `glparse.py` | Parses a .gltrace file and generates a trace.inc file
| `parse_perf.py` | Parse files in the `perf` directory to generate tables
| `parse_window.py` | Parse files in the `perf` directory to generate tables
| `perf/` | Performance result log files
| `profile.bat` | Invokes `cProfile` and RunSnakeRun to find bottlenecks on `glparse.py` and `deinline.py`
| `run_perf.py` | Runs generated APK on device under different command line parameters (resolutions, etc)
| `run_perf_old.bat` | Runs generated APK on device under different command line parameters (resolutions, etc)
| `tests/` | Tests for `build.py`, `glparse.py`, `deinline.py`
| `utils.py` | Library of helper utilities