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

Issue 1056793007: [3/4][Ozone-Drm] Use numeric ID to map to callback (Closed)

Created:
5 years, 8 months ago by dnicoara
Modified:
5 years, 7 months ago
Reviewers:
spang
CC:
chromium-reviews, kalyank, piman+watch_chromium.org, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@move-all-hotplug
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Ozone-Drm] Use numeric ID to map to callback In order to allow sharing the DRM connection between browser and GPU process, we need to be able to recover from GPU crashes and gracefully handle page flipping events that were meant for the previous GPU process. BUG=445773 Committed: https://crrev.com/c7889fcaadb851ddf171333a3fa94c59f79e4d1c Cr-Commit-Position: refs/heads/master@{#327527}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Use std::vector #

Total comments: 1

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -37 lines) Patch
M ui/ozone/platform/drm/gpu/drm_device.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.cc View 1 2 7 chunks +127 lines, -37 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
dnicoara
5 years, 8 months ago (2015-04-27 14:21:43 UTC) #2
spang
https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc File ui/ozone/platform/drm/gpu/drm_device.cc (right): https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc#newcode94 ui/ozone/platform/drm/gpu/drm_device.cc:94: drm_event* event = reinterpret_cast<drm_event*>(&buffer[idx]); You can't cast a char* ...
5 years, 8 months ago (2015-04-27 17:23:39 UTC) #3
dnicoara
https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc File ui/ozone/platform/drm/gpu/drm_device.cc (right): https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc#newcode94 ui/ozone/platform/drm/gpu/drm_device.cc:94: drm_event* event = reinterpret_cast<drm_event*>(&buffer[idx]); On 2015/04/27 17:23:38, spang wrote: ...
5 years, 8 months ago (2015-04-27 20:22:22 UTC) #4
spang
https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc File ui/ozone/platform/drm/gpu/drm_device.cc (right): https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc#newcode153 ui/ozone/platform/drm/gpu/drm_device.cc:153: std::map<uint64_t, DrmDevice::PageFlipCallback> callback_map_; On 2015/04/27 20:22:22, dnicoara wrote: > ...
5 years, 8 months ago (2015-04-27 20:53:42 UTC) #5
dnicoara
https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc File ui/ozone/platform/drm/gpu/drm_device.cc (right): https://codereview.chromium.org/1056793007/diff/1/ui/ozone/platform/drm/gpu/drm_device.cc#newcode94 ui/ozone/platform/drm/gpu/drm_device.cc:94: drm_event* event = reinterpret_cast<drm_event*>(&buffer[idx]); On 2015/04/27 17:23:38, spang wrote: ...
5 years, 7 months ago (2015-04-28 14:42:49 UTC) #6
spang
lgtm
5 years, 7 months ago (2015-04-28 15:13:37 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793007/40001
5 years, 7 months ago (2015-04-29 17:47:52 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-04-29 18:15:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793007/40001
5 years, 7 months ago (2015-04-29 18:17:21 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-29 18:18:59 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 18:20:48 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c7889fcaadb851ddf171333a3fa94c59f79e4d1c
Cr-Commit-Position: refs/heads/master@{#327527}

Powered by Google App Engine
This is Rietveld 408576698