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

Issue 1166213003: content: Handle native GpuMemoryBuffer allocation failures properly. (Closed)

Created:
5 years, 6 months ago by reveman
Modified:
5 years, 6 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Handle native GpuMemoryBuffer allocation failures properly. This adds proper handling of cases where the GPU service returns an invalid handle. This can happen if the GPU process crashed while there was an allocation request in-flight or if the GPU service is simply misbehaving. BUG=486922 Committed: https://crrev.com/fd9f3d27e8569dcc58a18e94891b9443872d362d Cr-Commit-Position: refs/heads/master@{#333773}

Patch Set 1 #

Total comments: 2

Patch Set 2 : improve comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M content/browser/gpu/browser_gpu_memory_buffer_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 1 3 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
reveman
5 years, 6 months ago (2015-06-10 16:10:06 UTC) #2
Avi (use Gerrit)
https://codereview.chromium.org/1166213003/diff/1/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1166213003/diff/1/content/browser/gpu/browser_gpu_memory_buffer_manager.cc#newcode343 content/browser/gpu/browser_gpu_memory_buffer_manager.cc:343: // The factory should never return a shared memory ...
5 years, 6 months ago (2015-06-10 17:01:48 UTC) #3
reveman
ptal https://codereview.chromium.org/1166213003/diff/1/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1166213003/diff/1/content/browser/gpu/browser_gpu_memory_buffer_manager.cc#newcode343 content/browser/gpu/browser_gpu_memory_buffer_manager.cc:343: // The factory should never return a shared ...
5 years, 6 months ago (2015-06-10 18:32:09 UTC) #4
Avi (use Gerrit)
lgtm 👍
5 years, 6 months ago (2015-06-10 18:34:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166213003/20001
5 years, 6 months ago (2015-06-10 18:42:01 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 6 months ago (2015-06-10 19:24:58 UTC) #8
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 19:25:44 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fd9f3d27e8569dcc58a18e94891b9443872d362d
Cr-Commit-Position: refs/heads/master@{#333773}

Powered by Google App Engine
This is Rietveld 408576698