An open API service indexing awesome lists of open source software.

https://github.com/antoniotejada/glparse


https://github.com/antoniotejada/glparse

Last synced: 7 months ago
JSON representation

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 APK

See [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