389528d8d8
The attached Chromium bug got me looking at profiles of .skps that render very quickly, mostly with memset, and I noticed a few little microoptimizations to make. This prebakes a bit more of the blitter memset logic, trimming redundant calls to SkImageInfo::shiftPerPixel(). This also reduces the number of lookups of the various SkOpts::memsetNN function pointers from being once per row to once per rectangle being memset. Bug: chromium:903195 Change-Id: Ifdee266ecd28be6266ea640fec754399035f083e Reviewed-on: https://skia-review.googlesource.com/c/169681 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
dm | ||
docker | ||
docs | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
Doxyfile | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.