diff options
author | sugoi <sugoi@chromium.org> | 2014-10-09 11:35:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-09 11:35:09 -0700 |
commit | 12b1831ea49f3d88e93b7d2793d94852d03813e8 (patch) | |
tree | 8b94e6d1d1e09eb4ac5f582ac1769871dbcbcd88 /samplecode/SampleCode.h | |
parent | 8db6f23d9074da6dc8a3fa4114d13c835ff5e19c (diff) |
Attempt at fixing color cube bench
The original bench was hitting the cache since it was using the same color filter for all loops. By creating a new color filter within the loop, at least this part of it is solved. I'm not 100% sure this is the right way, but at least the numbers are a bit more reasonable and are affected by the output resolution.
BUG=skia:
Review URL: https://codereview.chromium.org/648483002
Diffstat (limited to 'samplecode/SampleCode.h')
0 files changed, 0 insertions, 0 deletions