adb12e7700
Switches ViewCountPair to store a sk_sp<GrSurfaceProxy> instead of a GrSurfaceProxyView. It applies the origin from the view at initialization time and then no longer needs it. All ViewCountPairs have the same swizzle so that is stored once at the op level instead of per entry. Additionally, re-arranges the metadata of GrTextureOp to ensure that it packs into an 8byte aligned field. After first switching to GrSurfaceProxyView, the op went to 144 bytes, and each entry was 32 bytes. After Greg's GrSwizzle shrinkage, the op went to 136 bytes and each entry went to 24 bytes. This CL further reduces the top to 120 bytes and each entry is 16 bytes. Change-Id: I912864db8846affc32620f60cc7d1d17cf0654fd Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257919 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
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.