Go to file
Greg Daniel d8d9cf10ef Enable using discardable msaa attachments in vulkan.
This CL enables in Vulkan a system similar to render to texture for GL
MSAA. This can have rendering artifacts if we break up the rendering to
an MSAA surface into two render passes since when we load for the second
render pass it fills all the samples with the resolved color from the
first render pass instead of just the covered samples. These artifacts
exists in the GL version as well. Locally we are seeing perf gains up to
2x factor which justifies the artifacts of using this technique.
Additionally, when we turn on reduce oplist splitting this will decrease
the times where this is even an issue.

This enables it for all devices, but most likely we will only see
improvements on tilers and will end up disabling this for desktops.

Also includes some minor fixes.


Bug: skia:10979
Change-Id: Ic7c3000e3ebed9f4a6351ab8f5637be9ee0194ff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344964
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2021-01-08 17:20:49 +00:00
animations
bazel bazel baby steps 2020-09-14 15:18:32 +00:00
bench Avoid uninitialized values in strokeIndirect SIMD queues 2020-12-28 17:01:19 +00:00
bin bin/try: automatically set 'git cl issue' when not found 2020-06-25 17:44:01 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Port to ANGLE's GN files 2020-09-11 15:22:34 +00:00
client_utils/android Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
demos.skia.org [canvaskit] Remove Sk from nearly all function/type names. 2020-10-07 21:01:32 +00:00
dm support generalized HLG 2021-01-07 19:32:03 +00:00
docker [canvaskit,pathkit] Update to emsdk 2.0 2020-08-20 14:55:50 +00:00
docs/examples Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
example Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
experimental Fix C API example, ensure the C API example is built in CI 2020-12-15 16:38:42 +00:00
fuzz [fuzzing] Add first pass SkParagraph fuzzing. 2020-12-30 19:24:17 +00:00
gm support generalized HLG 2021-01-07 19:32:03 +00:00
gn Fix fuzzer-discovered optimizer crash. 2021-01-08 13:03:02 +00:00
include Add a new implementation of reduceOpsTaskSplitting 2021-01-07 17:20:03 +00:00
infra [infra] Use Mac10.15.7 and xcode12.3 for all builds. 2021-01-08 13:33:55 +00:00
modules debug build for wasm gm tests 2021-01-08 16:46:49 +00:00
platform_tools Add SkSpan support to the Skia LLDB visualizer. 2020-12-22 18:10:12 +00:00
resources Remove use of do-while loops from particle examples 2020-12-30 21:30:40 +00:00
samplecode Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
site [canvaskit] Fix typo in docs example 2021-01-06 21:01:07 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Enable using discardable msaa attachments in vulkan. 2021-01-08 17:20:49 +00:00
tests Fix fuzzer-discovered optimizer crash. 2021-01-08 13:03:02 +00:00
third_party Roll skcms from 069b8f699b59 to 8247d3c2481b (1 revision) 2021-01-06 18:13:10 +00:00
tools [infra] Filter PathKit and CanvasKit tryjobs when cutting Chrome branch 2021-01-08 17:14:49 +00:00
.bazelignore bazel baby steps 2020-09-14 15:18:32 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore bazel baby steps 2020-09-14 15:18:32 +00:00
.gn
AUTHORS Fix issues with latest GN 2020-11-07 13:55:45 +00:00
BUILD.bazel bazel baby steps 2020-09-14 15:18:32 +00:00
BUILD.gn [fuzzing] Add first pass SkParagraph fuzzing. 2020-12-30 19:24:17 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll Chromium from ebb8289a1933 to f936dc21b927 (446 revisions) 2021-01-08 05:00:02 +00:00
go.mod Update go.skia.org/infra in go.mod/go.sum 2020-12-21 20:31:07 +00:00
go.sum Update go.skia.org/infra in go.mod/go.sum 2020-12-21 20:31:07 +00:00
LICENSE
OWNERS
PRESUBMIT.py Add presubmit check for git conflict markers 2020-12-16 17:51:16 +00:00
public.bzl [canvaskit] Remove custom_embedded_factory from G3 build 2020-12-23 12:59:36 +00:00
README
README.chromium
RELEASE_NOTES.txt Revert "Revert "Remove legacy SkImage::MakeFromYUVATextures."" 2020-12-24 03:37:08 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +00:00
WORKSPACE.bazel bazel baby steps 2020-09-14 15:18:32 +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.