Go to file
Mike Klein cfa4f60270 simpler uniforms() api
By making uniforms() just append to the uniform vector, there's no more
need for two passes, no need for the blitter to ever even know how many
uniforms the effects use, and the effects now never need to deal with a
nullptr uniform buffer.  Much simpler all around.

While we're refactoring, convert the uniform buffer de jure to
std::vector<uint32_t>, which is what we'd been treating the old
std::vector<uint8_t> as by convention, and switch the program() offset
parameter type to size_t as a reminder that it's measured in bytes.

Cq-Include-Trybots: skia.primary:Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-SK_USE_SKVM_BLITTER
Change-Id: I81d2c92aae37a650104f384f815df78c8a186270
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252776
Reviewed-by: Mike Klein <mtklein@google.com>
2019-11-05 13:26:22 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Use QuadHelper and PatternHelper in more places 2019-11-04 20:32:36 +00:00
bin roll GN 2019-09-26 20:34:17 +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 Fully embrace skcms types in SkColorSpace API 2019-11-04 21:22:38 +00:00
docker Fix usage of depot_tools in containers. 2019-10-14 19:38:40 +00:00
docs/examples docs/fiddle: add "incomplete" fiddle. 2019-10-11 18:22:34 +00:00
example Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
experimental Reland "Minimal iOS app: Perform present subsequent to flush" 2019-10-14 18:32:37 +00:00
fuzz [fuzzing] Fix skdescriptor deserialize compile 2019-10-23 11:54:14 +00:00
gm simpler uniforms() api 2019-11-05 13:26:22 +00:00
gn add GM for exercising interesting paths in SkVMBlitter 2019-11-01 15:39:34 +00:00
include Fully embrace skcms types in SkColorSpace API 2019-11-04 21:22:38 +00:00
infra Roll recipe dependencies (trivial). 2019-11-04 21:35:13 +00:00
modules [skottie] Add support for gradient opacity stops 2019-11-04 20:01:16 +00:00
platform_tools android_gdbserver: Don't fail when trying to locate nonexistent files 2019-09-16 16:28:33 +00:00
resources indent loop so it stands out 2019-11-05 11:33:54 +00:00
samplecode SkColorMatrix cleanup 2019-11-04 15:20:15 +00:00
site [docs] Add skolo-builder to swarmingbots.md 2019-10-30 19:06:48 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src simpler uniforms() api 2019-11-05 13:26:22 +00:00
tests Some improvements to backend texture creation. 2019-11-04 20:37:41 +00:00
third_party Dawn: roll to ToT. 2019-10-30 14:29:26 +00:00
tools Fix memory leak in iOS viewer. 2019-11-04 20:35:21 +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 build: fix compilation on macOS with 10.14 SDK 2019-10-30 20:18:58 +00:00
BUILD.gn refactor/layering: SkMalloc.cpp 2019-10-31 15:49:03 +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 third_party/externals/angle2 e96039218e9d..6c7208f93d6e (8 commits) 2019-11-04 06:13:48 +00:00
go.mod Update Go deps 2019-10-24 05:26:54 +00:00
go.sum Blacklist bulkrect benchmarks on chorizo 2019-10-28 22:04:15 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07: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 remove SkPicture_none.cpp 2019-08-16 14:52:25 +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 Fully embrace skcms types in SkColorSpace API 2019-11-04 21:22:38 +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.