skia2/src
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
..
android SkAnimatedImage: Always respect exif orientation 2020-12-21 16:39:12 +00:00
c fix typo 2020-10-29 16:19:43 +00:00
codec SkAnimatedImage: Always respect exif orientation 2020-12-21 16:39:12 +00:00
core support generalized HLG 2021-01-07 19:32:03 +00:00
effects Bitmap.asImage() 2020-12-23 15:54:57 +00:00
fonts Make SkFontMgr::onMakeFromStreamArgs pure virtual. 2020-06-28 01:16:34 +00:00
gpu Enable using discardable msaa attachments in vulkan. 2021-01-08 17:20:49 +00:00
image Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
images Bitmap.asImage() 2020-12-23 15:54:57 +00:00
lazy Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
opts support generalized HLG 2021-01-07 19:32:03 +00:00
pathops move SkTPin to include/private 2020-10-16 19:45:11 +00:00
pdf Plumb sampling to drawSpecial, drawDevice 2021-01-04 17:07:20 +00:00
ports Use sampling instead of (deprecated) filter-quality 2021-01-04 16:52:26 +00:00
sfnt Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
shaders Always lerp when post-rotating tile in pictureshader 2021-01-08 02:24:22 +00:00
sksl Fix fuzzer-discovered optimizer crash. 2021-01-08 13:03:02 +00:00
svg Take sampling params on device apis 2020-12-18 14:02:32 +00:00
utils Accept a callback used in MultiPictureDocument::endPage 2021-01-06 16:52:50 +00:00
xml Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
xps Plumb sampling to drawSpecial, drawDevice 2021-01-04 17:07:20 +00:00