Go to file
Greg Daniel 749cbeb814 Remove workaround for not executing no op discard OpsTask.
This should fix the Vulkan validation warnings about have a render pass
with a 0 area bounds.

There are times in Skia (when not doing reduced op list splitting),
where we get a new offscreen surface, discard it, then get a second
offscreen before submitting any draws to the first yet. This causes us to
have an OpsTask for the first with a discard load but no ops. When we
get back to this first surface to add real ops it will have a load load.
Correctness wise we could drop the first OpsTask since it doesn't have
any affect (what the validation warning in this bug is referring to).

This original workaround was there to appease a different vulkan
validation warning about loading unitialized memory at the start of a
render pass. If we drop the discard then the validation would complain
the load (on the second OpsTask) was happening on unitialized memory.
However, with the workaround removed I no longer am getting such a
warning both with and without reducedOpListSplitting. So either we are
now avoiding this case via something else higher up or maybe this warning
was removed from the validation. Or I just can't get a good test case
for it. It does not repro running Skia gm or tests, or running chromes
test case for the 0 area render pass bounds.

Bug: chromium:1279794
Change-Id: I11ad5ce4e0000da74805a4cd9a0a9207d5adf60a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/484562
Auto-Submit: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2021-12-14 21:49:36 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bazel [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build. 2021-11-30 21:01:06 +00:00
bench Move ShaderUtils out of Ganesh. 2021-12-10 23:10:25 +00:00
bin [sk] Update asset download references to use SK 2021-09-17 16:55:53 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Add Abseil dependency for Dawn 2021-09-22 22:05:32 +00:00
client_utils/android Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
demos.skia.org [demos] Add WebGPU demo using origin trial 2021-10-08 16:35:34 +00:00
dm [graphite] Move Recorder and Recording to public include. 2021-12-02 16:49:12 +00:00
docker [infra] Update cmake docker image to be Debian 10 2021-07-23 11:21:31 +00:00
docs/examples Use angle brackets for system includes 2021-11-22 17:03:11 +00:00
example Remove SDL from DEPS (and SDL example that used it) 2021-05-27 21:37:57 +00:00
experimental [graphite] Clear depth/stencil attachments to 0 2021-12-13 21:55:48 +00:00
fuzz move SkRemoteGlyphCache.h to private 2021-12-10 20:20:56 +00:00
gm add bilerp atlas support flag 2021-12-10 20:33:57 +00:00
gn rename GrTextBlobCache to GrTextBlobRedrawCoordinator 2021-12-13 17:38:00 +00:00
include remove SK_EXPERIMENTAL_ADD_ATLAS_PADDING from Skia 2021-12-13 18:52:03 +00:00
infra Update SKP version 2021-12-12 08:20:26 +00:00
modules add sharpen effect support to skottie player 2021-12-14 19:44:26 +00:00
platform_tools Migrate compat v4 classes to androidx 2021-12-06 18:04:57 +00:00
resources add sharpen effect support to skottie player 2021-12-14 19:44:26 +00:00
samplecode Fix when a glyph has a path 2021-12-07 14:58:29 +00:00
site Add gdbserver instructions to site docs 2021-12-10 16:41:09 +00:00
specs [infra] Port serve.py from Python2 to 3 2021-08-31 15:28:19 +00:00
src Remove workaround for not executing no op discard OpsTask. 2021-12-14 21:49:36 +00:00
tests Introduce SkVM Op::duplicate to localize visualization code 2021-12-14 18:51:41 +00:00
third_party Update ImGui to v1.85. 2021-12-09 15:10:31 +00:00
toolchain [infra] Add initial Bazel rules and files 2021-11-09 12:32:25 +00:00
tools Show the stack trace in the Debugger slide. 2021-12-14 15:56:44 +00:00
.bazelrc [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build. 2021-11-30 21:01:06 +00:00
.bazelversion [infra] Add Bazel rules for codecs. 2021-11-11 20:10:01 +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 Add .vscode to the default gitignore list. 2021-10-13 15:23:02 +00:00
.gn Pre-emptive fix for upcoming ANGLE change. 2021-01-08 17:23:52 +00:00
.vpython [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
AUTHORS Reland "Enable non-standalone builds with dawn" 2021-11-15 20:52:41 +00:00
BUILD.bazel [bazel] Try adding cc_binary rules that use generated rules 2021-11-30 18:18:53 +00:00
BUILD.gn Create Debugger slide for Viewer. 2021-12-13 16:28:06 +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 ANGLE from a1b9eb68e417 to 42bd4fc29aea (14 revisions) 2021-12-14 05:31:55 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go_repositories.bzl [bazel] Add go/gazelle to WORKSPACE and use c++ extension. 2021-11-23 20:00:15 +00:00
go.mod [infra] Add job for pushing bazel apps 2021-12-02 14:23:55 +00:00
go.sum [infra] Add job for pushing bazel apps 2021-12-02 14:23:55 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS [infra] Add wildcard OWNERS 2021-08-30 19:19:34 +00:00
PRESUBMIT.py Remove AUTHORS check from PRESUBMIT.py 2021-09-30 14:12:18 +00:00
public.bzl [infra] Fix globs in public.bzl 2021-11-24 15:53:30 +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
RELEASE_NOTES.txt Remove canvas marker stack, marked matrices, etc... 2021-12-09 16:22:16 +00:00
whitespace.txt Test SkCQ 2021-07-24 21:07:28 +00:00
WORKSPACE.bazel [bazel] Add go/gazelle to WORKSPACE and use c++ extension. 2021-11-23 20:00:15 +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.