Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1079)

Issue 2677633004: Handle shader construction failures gracefully (Closed)

Created:
3 years, 10 months ago by f(malita)
Modified:
3 years, 10 months ago
Reviewers:
reed1
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, Stephen Chennney, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, Rik, blink-reviews, kinuko+watch, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle shader construction failures gracefully If we cannot instantiate a shader (due to e.g. a non-invertible local matrix), the expectation is to not draw anything. We're currently filling with black. This unblocks https://skia-review.googlesource.com/c/7885/, which prevents creation of shaders with non-invertible matrices. R=reed@google.com Review-Url: https://codereview.chromium.org/2677633004 Cr-Commit-Position: refs/heads/master@{#448018} Committed: https://chromium.googlesource.com/chromium/src/+/e1e7aedf7841db60e01c5bd8574559a7bdd7f041

Patch Set 1 #

Patch Set 2 : use transparent color #

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -14 lines) Patch
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Image.cpp View 1 2 2 chunks +20 lines, -14 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
f(malita)
3 years, 10 months ago (2017-02-03 14:47:53 UTC) #5
f(malita)
3 years, 10 months ago (2017-02-03 15:18:40 UTC) #11
reed1
so, its ok to fill with something (if there is a funny compositOp like src) ...
3 years, 10 months ago (2017-02-03 15:23:55 UTC) #13
f(malita)
On 2017/02/03 15:23:55, reed1 wrote: > so, its ok to fill with something (if there ...
3 years, 10 months ago (2017-02-03 15:38:43 UTC) #14
reed1
lgtm
3 years, 10 months ago (2017-02-03 16:10:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2677633004/40001
3 years, 10 months ago (2017-02-03 16:49:09 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 17:39:49 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e1e7aedf7841db60e01c5bd85745...

Powered by Google App Engine
This is Rietveld 408576698