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

Issue 11840002: Explicitly free shared memory buffers on GL client destruction. (Closed)

Created:
7 years, 11 months ago by no sievers
Modified:
7 years, 9 months ago
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

Explicitly free shared memory buffers on destruction. Without this change transfer buffers can leak until the ContextGroup is destroyed. BUG=169141 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177054

Patch Set 1 #

Patch Set 2 : updated tests #

Patch Set 3 : add null-check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -9 lines) Patch
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 7 chunks +22 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
no sievers
ptal
7 years, 11 months ago (2013-01-10 23:30:18 UTC) #1
greggman
lgtm
7 years, 11 months ago (2013-01-11 02:22:00 UTC) #2
benm (inactive)
Thanks Daniel! LGTM from the point of view that we aren't leaking any more in ...
7 years, 11 months ago (2013-01-11 10:24:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/11840002/1
7 years, 11 months ago (2013-01-11 17:53:33 UTC) #4
no sievers
Looks like these 4 gpu unit tests fail with an unexpected call to DestroyTransferBuffer(): BeginEndQueryEXT ...
7 years, 11 months ago (2013-01-11 18:34:17 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) gpu_unittests
7 years, 11 months ago (2013-01-11 18:42:41 UTC) #6
no sievers
Gregg, I updated the tests that allocate a transfer buffer to expect the extra call ...
7 years, 11 months ago (2013-01-11 23:22:41 UTC) #7
greggman
On 2013/01/11 23:22:41, Daniel Sievers wrote: > Gregg, I updated the tests that allocate a ...
7 years, 11 months ago (2013-01-12 01:44:31 UTC) #8
no sievers
On 2013/01/12 01:44:31, greggman wrote: > On 2013/01/11 23:22:41, Daniel Sievers wrote: > > Gregg, ...
7 years, 11 months ago (2013-01-12 01:49:09 UTC) #9
no sievers
On 2013/01/12 01:49:09, Daniel Sievers wrote: > On 2013/01/12 01:44:31, greggman wrote: > > On ...
7 years, 11 months ago (2013-01-12 01:53:37 UTC) #10
greggman
On 2013/01/12 01:53:37, Daniel Sievers wrote: > On 2013/01/12 01:49:09, Daniel Sievers wrote: > > ...
7 years, 11 months ago (2013-01-12 06:48:38 UTC) #11
no sievers
On 2013/01/12 06:48:38, greggman wrote: > On 2013/01/12 01:53:37, Daniel Sievers wrote: > > On ...
7 years, 11 months ago (2013-01-14 18:41:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/11840002/15001
7 years, 11 months ago (2013-01-15 18:20:45 UTC) #13
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
7 years, 11 months ago (2013-01-15 18:20:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/11840002/15001
7 years, 11 months ago (2013-01-15 23:37:15 UTC) #15
commit-bot: I haz the power
Change committed as 177054
7 years, 11 months ago (2013-01-16 02:09:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/11840002/36001
7 years, 9 months ago (2013-03-07 18:45:21 UTC) #17
no sievers
I *think* https://chromiumcodereview.appspot.com/12087126 might render this patch unnecessary.
7 years, 9 months ago (2013-03-07 22:56:08 UTC) #18
benm (inactive)
7 years, 9 months ago (2013-03-09 01:44:38 UTC) #19
On 2013/03/07 22:56:08, Daniel Sievers wrote:
> I *think* https://chromiumcodereview.appspot.com/12087126 might render this
> patch unnecessary.

I don't think so, the test team were still hitting the leak with r182680.

Powered by Google App Engine
This is Rietveld 408576698