[Ozone-Drm] Use numeric ID to map to callback
commitc7889fcaadb851ddf171333a3fa94c59f79e4d1c
authordnicoara <dnicoara@chromium.org>
Wed, 29 Apr 2015 18:18:53 +0000 (29 11:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Apr 2015 18:20:19 +0000 (29 18:20 +0000)
treee08c664eb70ff3127e3562b28369c1ec6d76b6e5
parentb6f3ec3a0951c65c8c39f261c58a9ca03bcd80a0
[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

Review URL: https://codereview.chromium.org/1056793007

Cr-Commit-Position: refs/heads/master@{#327527}
ui/ozone/platform/drm/gpu/drm_device.cc
ui/ozone/platform/drm/gpu/drm_device.h