skia2/experimental
Greg Daniel 5b19ebe0c5 Revert "Avoid crash when surface CoW allocation fails"
This reverts commit 2e228bb72c.

Reason for revert: breaks android roll

Original change's description:
> Avoid crash when surface CoW allocation fails
>
> On low memory machines a common cause of crashes is when a draw
> operation requires a large layer (or many large layers) because an
> implementation of SkSurface_Base::onCopyOnWrite does not actually have
> the resources available to do the copy when required by a draw. Allow
> this method to fail and percolate up the call chain so that the draw
> simply does not happen instead of crashing.
>
> Bug: chromium:1116362
> Change-Id: I2873589f996ded9c9fd6d27b19155ca18d5b5326
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463956
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Reviewed-by: Herb Derby <herb@google.com>
> Commit-Queue: Ben Wagner <bungeman@google.com>

Bug: chromium:1116362
Change-Id: I5ab590b6fc14bcb6712c00dda75d1e7cdc931447
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/464077
Auto-Submit: Greg Daniel <egdaniel@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2021-10-28 01:51:09 +00:00
..
bazel_test [infra] Add initial platforms and constraint values 2021-10-26 18:27:13 +00:00
c-api-example Fix C API example, ensure the C API example is built in CI 2020-12-15 16:38:42 +00:00
docs
documentation Update references to master branch 2021-05-21 15:18:16 +00:00
ffmpeg Remove ableist language 2021-06-16 21:37:21 +00:00
graphite Revert "Avoid crash when surface CoW allocation fails" 2021-10-28 01:51:09 +00:00
lowp-basic Rewrite #includes to satisfy presubmit. 2021-10-01 18:31:26 +00:00
minimal_ios_mtl_skia_app roll gn to latest 2021-01-15 15:34:00 +00:00
pvg add pvg experiment 2018-11-02 15:35:21 +00:00
skottiekit [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
skrive Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
sktext Fixing Android build 2021-10-22 17:49:02 +00:00
sorttoy Rename experimental app to 'sorttoy' 2021-07-01 19:11:26 +00:00
tools Add sleep option to web_to_(skp|mskp) shell scripts. 2020-06-19 19:06:29 +00:00
tskit [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
wasm-skp-debugger [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
webgpu-bazel [experimental] Add WebGPU demo (built with Bazel) 2021-10-12 18:34:55 +00:00
xform Reland "Simplify SkRasterClip now that it's only intersect/diff" 2021-08-31 18:16:31 +00:00
xps_to_png