Go to file
John Stiles f6e31bf1dc Add const modifier to initialPreLocal identity matrix.
This makes expressions with `initialPreLocal` eligible for constant
folding. In practice, this doesn't do much today because matrix constant
folding doesn't support no-op-arithmetic elimination, but in a followup,
we could easily simplify `initialPreLocal * foo` --> `foo` when it's the
identity matrix.

Change-Id: I4c6faf2aa550b6b9776dd8a5da9ea5ec06cd8330
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/540316
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-05-13 15:30:30 +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 Update Skia milestone to 104 2022-05-13 14:21:17 +00:00
infra Disable EmptyBlocksES3 test on Pixel 2XL/3. 2022-05-11 19:46:59 +00:00
modules [skottie] Fix Sphere effect lighting for transparency 2022-05-12 18:45:11 +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 [skottie] Fix Sphere effect lighting for transparency 2022-05-12 18:45:11 +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 Add const modifier to initialPreLocal identity matrix. 2022-05-13 15:30:30 +00:00
tests Prevent comma operator constant-folding or constant-expression-usage. 2022-05-11 22:52:24 +00:00
third_party Manual roll Dawn DEPS with updated bazel build 2022-05-12 18:27:19 +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 edbeecb39d80 to 0ff867fa3164 (1 revision) 2022-05-13 08:34:45 +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 Consolidate tessellation tolerance tracking into helper class 2022-05-13 15:23:25 +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.