summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2010-07-27 14:46:34 -0400
committerDaniel Sandler <dsandler@google.com>2010-08-20 09:42:49 -0400
commit27e1a79bf7622f43803ca7e4635b1ac90b44b9bd (patch)
tree1555fc784fa18ed0116845777bfeef63564b54d3 /graphics/java/android/renderscript/ProgramRaster.java
parentd664df2d957266b2f30b66526a1eb16f6542d744 (diff)
On-device screenshot support.
This comes in the form of a command, `screenshot`, which will read /dev/graphics/fb0 (in a manner very similar to adb's framebuffer_service) and write to the specified PNG file. Additionally, dumpstate now accepts a -p flag (mnemonic: "picture" or "png") that, when specified, will cause a screenshot to be captured in the same directory as the bugreport. Future work: invoke `dumpstate -p` when the bugreport keychord is pressed, giving users a convenient way to attach screenshots to bug reports (or simply take screenshots at all without developer tools). Bug: 2216571 (and probably plenty of others) Change-Id: I36afbc55a0308a7bc01112ef39c4c62777efb203
Diffstat (limited to 'graphics/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions