aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2016-01-12 10:44:02 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-12 10:44:02 -0800
commit368342ccb5b88568974f66d1a36bbec667efcc4e (patch)
tree89e8d22eed8f067ad48c4dc5052f89df7b422ed4 /src/gpu/gl/GrGLCaps.cpp
parent05dcb4c7a9fe350af495e4cc53f8ad0cc9b79052 (diff)
Refactor resize filter to go faster
Part of this CL improves the speed by using dynamic arrays more effectively. Part uses SIMD and more concise float expressions for speed. Some unused code was deleted. The latter changes are guarded by: SK_SUPPORT_LEGACY_BITMAP_FILTER until this lands and the corresponding layout changes in chrome can be relanded. With the legacy flag defined, no Skia or Chrome test results change. Without the flag defined in Skia, only 0.01% - 0.02% of the pixels change, and then by (1,1,1) in 8888. codereview.chromium.org/1583533002 adds the guard to Chrome. R=reed@google.com BUG=skia:2261 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563183003 Review URL: https://codereview.chromium.org/1563183003
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
0 files changed, 0 insertions, 0 deletions