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

Issue 2963813002: gpu: Use a local int to generate the gmb id. (Closed)

Created:
3 years, 5 months ago by sadrul
Modified:
3 years, 5 months ago
Reviewers:
ericrk, reveman, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Use a local int to generate the gmb id. For gpu memory buffers, use a local int in BrowserGpuMemoryBufferManager to generate the id, instead of a global base::StaticAtomicSequenceNumber. BUG=none Review-Url: https://codereview.chromium.org/2963813002 Cr-Commit-Position: refs/heads/master@{#483591} Committed: https://chromium.googlesource.com/chromium/src/+/646ad10da49cdb8ed89c64462dde3e95142c36a8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -47 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 2 chunks +1 line, -5 lines 0 comments Download
M content/common/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D content/common/generic_shared_memory_id_generator.h View 1 chunk +0 lines, -19 lines 0 comments Download
D content/common/generic_shared_memory_id_generator.cc View 1 chunk +0 lines, -21 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
sadrul
3 years, 5 months ago (2017-06-28 17:23:23 UTC) #4
reveman
why not gfx::GenericSharedMemoryId anymore? Is this not going to cause memory-infra problems as that was ...
3 years, 5 months ago (2017-06-28 19:00:33 UTC) #7
sadrul
On 2017/06/28 19:00:33, reveman wrote: > why not gfx::GenericSharedMemoryId anymore? Is this not going to ...
3 years, 5 months ago (2017-06-28 19:36:19 UTC) #8
reveman
On 2017/06/28 at 19:36:19, sadrul wrote: > On 2017/06/28 19:00:33, reveman wrote: > > why ...
3 years, 5 months ago (2017-06-28 22:59:41 UTC) #9
sadrul
On 2017/06/28 22:59:41, reveman wrote: > On 2017/06/28 at 19:36:19, sadrul wrote: > > On ...
3 years, 5 months ago (2017-06-28 23:33:53 UTC) #10
reveman
It was added by https://chromium.googlesource.com/chromium/src/+/c9984ebe42daab4cd51fb928c32d7d1f4f14a9c7 and removing it lgtm unless we feel like having this ...
3 years, 5 months ago (2017-06-29 00:27:55 UTC) #12
sadrul
On 2017/06/29 00:27:55, reveman wrote: > It was added by > https://chromium.googlesource.com/chromium/src/+/c9984ebe42daab4cd51fb928c32d7d1f4f14a9c7 > and removing ...
3 years, 5 months ago (2017-06-29 02:34:36 UTC) #13
sadrul
+piman@ for owner review.
3 years, 5 months ago (2017-06-29 19:55:29 UTC) #15
piman
lgtm
3 years, 5 months ago (2017-06-29 20:23:24 UTC) #16
ericrk
LGTM as well - we were using this for both GMBs and other shared memory ...
3 years, 5 months ago (2017-06-29 22:17:07 UTC) #17
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/2963813002/1
3 years, 5 months ago (2017-06-30 00:40:43 UTC) #19
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 02:05:12 UTC) #22
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/646ad10da49cdb8ed89c64462dde...

Powered by Google App Engine
This is Rietveld 408576698