summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author John Dias <joaodias@google.com> 2019-06-11 18:16:08 -0700
committer John Dias <joaodias@google.com> 2019-06-11 18:21:04 -0700
commitd0b44a52f815fb20cb470aca8ac17da498797c1e (patch)
treeccd04d76b1184ae12aecef60efad105c8f5ff0d5 /opengl/libagl/array.cpp
parentbd670b8d26fa2cc8505e1d6073a17210e719b82d (diff)
sf: optimize luma sampling code
Removing some math from the luma-sampling code reduces its running time by about half (~.5ms -> ~.25ms at 1.1MHz on a little core in some experiments). Bug: 127973145 Bug: 134922154 Test: trace and compare sampleArea times when scrolling in news app Change-Id: Ie53d9595bea6685cf45f53972b42daa5e32fcc8e
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions