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

Issue 2705733003: ozone: Don't assume AddFB succeeds when importing buffers. (Closed)

Created:
3 years, 10 months ago by Daniele Castagna
Modified:
3 years, 10 months ago
Reviewers:
dnicoara, reveman, spang
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Don't assume AddFB succeeds when importing buffers. For buffers bigger than a certain threshold adding an FB can fail. The current code fails to create an image and to import the buffer in these cases. After this CL a buffer import will succeed even if an FB can't be added. BUG=b/33247171 Review-Url: https://codereview.chromium.org/2705733003 Cr-Commit-Position: refs/heads/master@{#451772} Committed: https://chromium.googlesource.com/chromium/src/+/50300662aaabfdd6a5a7d458b8cc344ecd41ab1b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -15 lines) Patch
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer_base.cc View 1 chunk +3 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (13 generated)
Daniele Castagna
Alright, this is a tentative CL to follow up to crrev.com/2685833002 and crrev.com/2699693003 The difference ...
3 years, 10 months ago (2017-02-18 00:02:54 UTC) #4
reveman
I think this is a good short term fix that is not scary to merge ...
3 years, 10 months ago (2017-02-18 00:04:54 UTC) #5
dnicoara
lgtm ... I agree, restricting this to just the buffer import case is fine since ...
3 years, 10 months ago (2017-02-21 15:32:01 UTC) #13
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/2705733003/1
3 years, 10 months ago (2017-02-21 15:46:20 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 16:14:26 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/50300662aaabfdd6a5a7d458b8cc...

Powered by Google App Engine
This is Rietveld 408576698