diff options
author | Adrian Roos <roosa@google.com> | 2019-10-03 17:30:14 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2019-10-18 18:22:30 +0200 |
commit | 2ca5d8601c09ecb9466d286a7d8e2f5eb520510b (patch) | |
tree | d11ba4c47995d69e69a0d67d38bc556b4e014b07 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | cd45b2ab20987665ec9324ac81a8e16a995a5da9 (diff) |
ProtoLog: Cache the result of ProtoLogImpl.isEnabled(ProtoLogGroup)
We introduce a generated class ProtoLog$Cache, which contains a field
for each ProtoLogGroup to cache whether it is enabled or not.
This both makes lookup faster, and reduces code size.
Test: make droid
Change-Id: I581c87849c875918b182eff85996b6d19a6755ec
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions