Go to file
Michael Ludwig adb12e7700 Reduce GrTextureOp size
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>
2019-12-04 21:51:50 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Fix some GCC warnings. 2019-12-03 16:21:40 +00:00
bin [infra] Fix bin/try 2019-11-15 19:44:04 +00:00
build/fuchsia Notes on how to build SKQP for Fuchsia. 2019-12-04 15:14:14 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm Remove SkSize& SkSize::operator=(const SkISize&) 2019-12-04 17:36:06 +00:00
docker Fix usage of depot_tools in containers. 2019-10-14 19:38:40 +00:00
docs/examples Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental experimental/skottie_ios: fix some objc errors 2019-12-04 20:35:19 +00:00
fuzz Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
gm Fix for 420/422 chroma subsampling of odd dimension images when 2019-12-04 16:32:40 +00:00
gn flip on a bunch of GCC warnings 2019-12-04 21:40:21 +00:00
include Reduce GrTextureOp size 2019-12-04 21:51:50 +00:00
infra Roll recipe dependencies (trivial). 2019-12-04 18:25:46 +00:00
modules Remove SkSize& SkSize::operator=(const SkISize&) 2019-12-04 17:36:06 +00:00
platform_tools [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
resources Particles: SkImageBinding to allow sampling an image from script 2019-12-03 15:22:20 +00:00
samplecode some cleanups for halfplanes 2019-12-04 18:27:17 +00:00
site Documentation: Cq-Include-Trybots 2019-11-22 14:36:13 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Reduce GrTextureOp size 2019-12-04 21:51:50 +00:00
tests work around GCC 8 mips release bug? 2019-12-04 21:14:13 +00:00
third_party Roll skia/third_party/skcms 68d3f3a95f1b..ef3043bd8110 (1 commits) 2019-11-25 14:52:45 +00:00
tools Remove SkSize& SkSize::operator=(const SkISize&) 2019-12-04 17:36:06 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Issue- >Skia tiled bitmap rendering is too slow when tildmodeX is not same as tileModeY. 2019-11-14 20:52:18 +00:00
BUILD.gn Reland "Replace CGFontCreate with CTFontManagerCreate." 2019-11-27 19:42:13 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll ../src bd8110e59b6b..d02b0cb4d389 (540 commits) 2019-12-04 04:48:46 +00:00
go.mod [infra] Auto-submit the CL to update supported branch configs 2019-12-04 12:44:46 +00:00
go.sum [infra] Auto-submit the CL to update supported branch configs 2019-12-04 12:44:46 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Use urllib_request instead of urllib2 in PRESUBMIT. 2019-10-22 20:30:56 +00:00
public.bzl Copy SkottieUtils' classes into skresources 2019-11-26 14:25:44 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Remove SkSize& SkSize::operator=(const SkISize&) 2019-12-04 17:36:06 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.