Go to file
Brian Osman 1a22b7ffbc Fix a couple potential bugs when adding sampler info to a program key
Calling add32 can re-allocate the key storage, so it isn't safe to call
add32n and then keep writing into the returned pointer if an extra
sampler key is encountered.

Also fix the GP sampler key code to actually set the last bit, not the
16th bit.

Change-Id: I9c83435a164ab0391e2e6a9e1a9bdf6839490a15
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/229278
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-07-23 14:03:09 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench The current version... 2019-07-23 13:31:39 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
build_overrides Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
dm Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples Reland "hide drawlooper from paint" 2019-07-22 20:03:36 +00:00
example ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
experimental sk_app, Sample: Unify InputState enum. 2019-07-16 14:51:03 +00:00
fuzz Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
gm Reland "hide drawlooper from paint" 2019-07-22 20:03:36 +00:00
gn ccpr: Add an MSAA atlas mode 2019-07-19 20:52:17 +00:00
include Remove sample count from GrSurfaceDesc. 2019-07-23 13:42:29 +00:00
infra Roll recipe dependencies (trivial). 2019-07-23 00:59:57 +00:00
modules The current version... 2019-07-23 13:31:39 +00:00
platform_tools tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
resources move hoist analysis back into Builder 2019-07-22 19:34:06 +00:00
samplecode The current version... 2019-07-23 13:31:39 +00:00
site documentation/build, BUILDCONFIG: Visual Studio Build Tools 2019 2019-07-12 14:17:16 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Fix a couple potential bugs when adding sampler info to a program key 2019-07-23 14:03:09 +00:00
tests Remove sample count from GrSurfaceDesc. 2019-07-23 13:42:29 +00:00
third_party Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
tools Remove sample count from GrSurfaceDesc. 2019-07-23 13:42:29 +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 Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +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 9ec3f51d11d9..02407743bd72 (12 commits) 2019-07-23 05:42:37 +00:00
go.mod Update Go deps 2019-07-23 05:35:07 +00:00
go.sum Update Go deps 2019-07-23 05:35:07 +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 Reland "[infra] Make most builds idempotent" 2019-07-19 12:11:27 +00:00
public.bzl First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +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
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.