summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2012-01-03 14:39:31 -0800
committerSiva Velusamy <vsiva@google.com>2012-01-04 12:50:13 -0800
commit157fea642cb4c10e44a61f932c68f7c3a2610a81 (patch)
tree58badbc40683dde6329be8f8560259afc6180e66 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent193b45970e512e99b4557fe4bbb30b2dca30320f (diff)
gltrace: add user settings to control data captured.
Currently users do not have control over the amount of data captured during tracing. This patch adds 3 settings that users can enable/disable at runtime: - capture framebuffer on eglSwap() calls - capture framebuffer on glDraw*() calls - capture texture data passed to glTexImage*() calls Disabling these options when not needed signficantly decreases the size of the trace file, and reduces performance overhead for the running application. These settings are stored in the per process GLTraceState. A separate thread listens for commands from the host, and updates the state based on the user commands. Change-Id: Ic4518b94e8bcbc5330ac7138153721caa98b365d
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions