summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-02-19 14:12:55 -0800
committerRomain Guy <romainguy@google.com>2013-02-19 14:12:55 -0800
commitd17043dcb49d4f060349a8bd58abcddcf3bac9a2 (patch)
tree94f79c9f26a5f3120298e5327c40a16eefd88b62 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4bac6c1a54116ef212fa6cbe381e0a30c4e242e5 (diff)
Show Dalvik stack trace if an exception happens at draw time
External bug: http://code.google.com/p/android/issues/detail?id=49379 Drawing was previously wrapped in a try/finally block which was silently swallowing user code exceptions. For instance, if a View throws a NullPointerException in its onDraw() method, the previous implementation would silently crash in native code. This change extracts the section that builds display lists into a new method that does not contain any try/finally block. In addition, this change logs any exception thrown while drawing display lists. Change-Id: I0abffa4c9183d41aac8b0f8442813e56b957f08f
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions