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

Issue 7301010: Fixed improper destruction of transfer buffers that are still in use. (Closed)

Created:
9 years, 5 months ago by jbates
Modified:
9 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, apatrick_chromium, Vangelis Kokkevis, Zhenyao Mo
Visibility:
Public.

Description

We were synchronously destroying the RendererGlContext transfer buffers while commands may still be pending in the command buffer that use them. This generated spurious kOutOfBounds errors. kOutOfBounds errors cause us to kill the associated GpuChannel. That leads to lots of bad behavior, such as failing to reload certain WebGL demos. This change simply lets the command buffer destroy the shared memory in its destructor instead of destroying them explicitly. The GPU-side resources are cleaned up when the command buffer is destroyed. BUG=88115 TEST=Open NVIDIA Command Buffer Object WebGL demo; Refresh; Verify successful refresh. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91747

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -21 lines) Patch
M content/renderer/gpu/renderer_gl_context.cc View 4 chunks +18 lines, -20 lines 0 comments Download
M gpu/command_buffer/common/constants.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
jbates
9 years, 5 months ago (2011-07-01 23:03:50 UTC) #1
greggman
lgtm but I'd really like Al to check it out.
9 years, 5 months ago (2011-07-01 23:51:55 UTC) #2
jbates
+kbr
9 years, 5 months ago (2011-07-07 17:07:11 UTC) #3
apatrick_chromium
9 years, 5 months ago (2011-07-07 18:02:40 UTC) #4
LGTM. Sorry I missed this.

Powered by Google App Engine
This is Rietveld 408576698