Go to file
John Stiles d4ab439f9f Pass in a position to Expression::clone overrides.
Previously, each Expression would clone itself at its existing position
and then the position would potentially be overwritten at the end. Now,
rewriting the position happens as part of the clone operation.

This seemed simpler than the previous two-step operation, and also opens
up the possibility of passing the updated position to the clone's
children (but I didn't experiment with that here.)

Change-Id: I07d0c0221fcab460d0db358d059ceecf8a0a7dc7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/539571
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-05-12 17:00:08 +00:00
bazel [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
bench Simplify CalcNumRadialSegmentsPerRadian signature 2022-05-11 17:44:05 +00:00
bin Revert "[infra] Remove old python scripts and urllib2 references" 2022-05-10 22:48:08 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Set dawn_vulkan_tools_dir in Dawn's GN overrides 2022-04-14 17:05:33 +00:00
client_utils/android Revert "Move SkCamera.h to client_utils/android" 2022-04-25 12:33:01 +00:00
demos.skia.org [canvaskit] Add in fillText to spreadsheet demo for comparison 2022-02-15 15:35:43 +00:00
dm Allow use of ASAN with msvc. 2022-05-05 19:04:23 +00:00
docker [infra] Avoid timeouts in CreateDockerImage_Skia_WASM_Release 2022-04-08 12:26:54 +00:00
docs/examples Reland "Add kR8_unorm_SkColorType" 2022-02-10 18:00:19 +00:00
example [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
experimental Update SkVideoEncode/Decoder for latest libavcodec 2022-05-11 12:57:30 +00:00
fuzz Run SkSL unit tests with optimizations disabled. 2022-05-11 14:38:07 +00:00
gm Make runtimefunctions slide much cooler. 2022-05-11 21:18:53 +00:00
gn Prevent comma operator constant-folding or constant-expression-usage. 2022-05-11 22:52:24 +00:00
include Run SkSL unit tests with optimizations disabled. 2022-05-11 14:38:07 +00:00
infra Disable EmptyBlocksES3 test on Pixel 2XL/3. 2022-05-11 19:46:59 +00:00
modules Revert "create ParticleDrawable for animated Skotties" 2022-05-11 23:35:08 +00:00
platform_tools Fix bug where SkQP test that are always to be excluded are not. 2022-04-29 20:26:54 +00:00
resources Revert "create ParticleDrawable for animated Skotties" 2022-05-11 23:35:08 +00:00
samplecode Move src/gpu/tessellate/ types into skgpu::tess namespace 2022-05-06 19:57:42 +00:00
site Update docs to reference python3 2022-05-09 15:07:22 +00:00
specs [infra] Port serve.py from Python2 to 3 2021-08-31 15:28:19 +00:00
src Pass in a position to Expression::clone overrides. 2022-05-12 17:00:08 +00:00
tests Prevent comma operator constant-folding or constant-expression-usage. 2022-05-11 22:52:24 +00:00
third_party Add new file to Dawn's bazel build 2022-05-11 16:24:10 +00:00
toolchain set up tools for building Skia on Mac semi hermetically 2022-05-04 16:56:46 +00:00
tools Revert "create ParticleDrawable for animated Skotties" 2022-05-11 23:35:08 +00:00
.bazelrc [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
.bazelversion [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
.gn Add support for ANGLE's Metal backend 2022-04-28 19:53:18 +00:00
.vpython [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
AUTHORS Add missing include for std::begin and std::end in SkParseColor.cpp 2022-04-26 17:39:59 +00:00
BUILD.bazel [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
BUILD.gn Revert "create ParticleDrawable for animated Skotties" 2022-05-11 23:35:08 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll vulkan-deps from 427a49d213e9 to 38483e7d6eef (9 revisions) 2022-05-12 07:17:17 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go_repositories.bzl [infra] Update dep of infra repo 2022-04-28 13:20:10 +00:00
go.mod [infra] Update dep of infra repo 2022-04-28 13:20:10 +00:00
go.sum [infra] Fix go.sum 2022-04-28 18:01:34 +00:00
LICENSE
OWNERS [infra] Add wildcard OWNERS 2021-08-30 19:19:34 +00:00
OWNERS.android Update OWNERS.android with more details 2022-03-16 18:13:33 +00:00
package-lock.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
package.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
PRESUBMIT.py Fix presubmits for Python 3 2022-05-06 18:48:47 +00:00
public.bzl Rename SkCustomMesh to SkMesh 2022-05-09 13:36:21 +00:00
README
README.chromium
RELEASE_NOTES.txt Reland "Reland "Add anisotropic option to SkSamplingOptions."" 2022-04-29 19:28:52 +00:00
requirements.txt add Mac hash for MarkupSafe requirements 2022-04-13 15:39:27 +00:00
whitespace.txt Push shaders.skia.org. 2022-01-19 21:46:16 +00:00
WORKSPACE.bazel Roll emsdk to 3.1.9 2022-04-29 22:31: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.