summaryrefslogtreecommitdiff
path: root/libs/battery/MultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2021-10-26 18:20:53 +0200
committer Robin Lee <rgl@google.com> 2021-10-26 18:32:34 +0200
commit2e98ade425332bca2dfe8a072393330232fb1e99 (patch)
tree53cda613ada3ec469cf6d83f00ba02369b03e36b /libs/battery/MultiStateCounterTest.cpp
parent026680a77dbd34fd6a9db7d83d3381ab2aae30cc (diff)
Clean up KawaseBlurFilter
The clamp() calls aren't necessary with the current design and since x/y are treated the same any duplicated code around stepX/stepY can also be deleted. This makes the shader a little simpler and reduces the number of intermediate const variables that are passed in twice for x and y. The reason for doing this is to prepare to use this code as a base for other implementations of blur. Bug: 185365391 Test: atest BlurTests Change-Id: I6c75d89dd10d568651f6a6183d25b170ab8526ad
Diffstat (limited to 'libs/battery/MultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions