commit | b5dd6190dfd30c533d8445f087fc4a404e1fe89d | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Wed Apr 06 15:41:01 2016 -0700 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Wed Apr 06 15:44:52 2016 -0700 |
tree | de2e07cdfc2407e3b94a0bc6863d72c29dea642c | |
parent | d887fcdcecd0e8f749e7e4e8d2230c5fec268671 [diff] |
[RenderScript] Guard rsDebug calls with a runtime check http://b/27886613 Put a runtime check around rsDebug calls to prevent excessive logging, while simultaneously ensuring that overeager compiler optimizations don't optimize away writes to kernel inputs. Change-Id: I5af22c8c60a73615bf61ee61d78d19236d88fe00