DescriptionWe 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 #
Messages
Total messages: 4 (0 generated)
|