0469dd6d55
This patch provides a framework for tracing GLES 1.0 and 2.0 functions. It is missing a lot of features, but here are the things it accomplishes: - Stop building the glesv2dbg library, and build the glestrace library instead. - Replace the hooks for glesv2dbg with the ones for glestrace. - Add the basics for the trace library. Currently, this traces all GL functions, but not all required data is sent for all the functions. As a result, it will not be possible to reconstruct the entire GL state on the host side. The files gltrace.pb.* and gltrace_api.* are both generated using the tools/genapi.py script. Change-Id: Id60a468f7278657f008bc6ea1df01f9bdfecfdd3
16 lines
578 B
Makefile
16 lines
578 B
Makefile
## NOTE
|
|
## This file is used for development purposes only. It is not used by the build system.
|
|
|
|
# generate protocol buffer files
|
|
genproto: gltrace.proto
|
|
aprotoc --cpp_out=src --java_out=java gltrace.proto
|
|
mv src/gltrace.pb.cc src/gltrace.pb.cpp
|
|
|
|
# NOTE: $OUT should be defined in the shell by doing a "lunch <config>"
|
|
# push updated files to device
|
|
push:
|
|
adb push $(OUT)/system/lib/libGLESv2.so /system/lib/
|
|
adb push $(OUT)/system/lib/libGLESv1_CM.so /system/lib/
|
|
adb push $(OUT)/system/lib/libGLES_trace.so /system/lib/
|
|
adb push $(OUT)/system/lib/libEGL.so /system/lib/
|