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

Issue 315913002: Check the texture allocation for offscreen render targets. (Closed)

Created:
6 years, 6 months ago by rosca
Modified:
6 years, 6 months ago
Reviewers:
danakj, Stephen White
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Use the factory to create SkGpuDevice objects. SkGpuDevice constructors are deprecated and the factory should be used instead when filters and blending require offscreen targets. Extra NULL check added: for many reasons, something can go wrong within GrGpuGL::onCreateTexture() and fail to create the backing store's texture. Instead of crashing, we can handle this gracefully and simply render the page without the blending applied. BUG=359947 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275553

Patch Set 1 #

Patch Set 2 : rebase & traces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -7 lines) Patch
M cc/output/gl_renderer.cc View 1 4 chunks +22 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rosca
Hi, could you please review this?
6 years, 6 months ago (2014-06-04 08:30:38 UTC) #1
Stephen White
LGTM, but please let the smaller subset https://codereview.chromium.org/319723002/ land first, so it can be merged ...
6 years, 6 months ago (2014-06-05 16:36:10 UTC) #2
sugoi1
On 2014/06/05 16:36:10, Stephen White wrote: > LGTM, but please let the smaller subset > ...
6 years, 6 months ago (2014-06-06 12:48:37 UTC) #3
rosca
On 2014/06/06 12:48:37, sugoi1 wrote: > On 2014/06/05 16:36:10, Stephen White wrote: > > LGTM, ...
6 years, 6 months ago (2014-06-06 12:51:58 UTC) #4
danakj
LGTM for the factory change but please update the description
6 years, 6 months ago (2014-06-06 14:17:46 UTC) #5
rosca
On 2014/06/06 14:17:46, danakj wrote: > LGTM for the factory change but please update the ...
6 years, 6 months ago (2014-06-06 16:43:58 UTC) #6
danakj
LGTM
6 years, 6 months ago (2014-06-06 17:31:43 UTC) #7
rosca
The CQ bit was checked by rosca@adobe.com
6 years, 6 months ago (2014-06-06 17:49:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rosca@adobe.com/315913002/20001
6 years, 6 months ago (2014-06-06 17:51:50 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-06-06 19:41:54 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 23:37:41 UTC) #11
Message was sent while issue was closed.
Change committed as 275553

Powered by Google App Engine
This is Rietveld 408576698