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

Issue 2171713004: gpu: Keep original GMB alive to workaround problem with importing of UDL/EVDI buffers. (Closed)

Created:
4 years, 5 months ago by reveman
Modified:
4 years, 5 months ago
Reviewers:
hshi1, piman
CC:
chromium-reviews, marcheu, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Keep original GMB alive to workaround problem with importing of UDL/EVDI buffers. Destroying the original buffer invalidates kernel state such that importing from the FD doesn't work as expected. By keeping the original buffer alive we avoid this issue for scanout buffers used by the browser process. BUG=628334 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/1ff18bae4738ee3d62c2310d9e03211054be0582 Cr-Commit-Position: refs/heads/master@{#406973}

Patch Set 1 #

Total comments: 1

Patch Set 2 : use std::unordered_map #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
M gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h View 1 3 chunks +14 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
hshi1
lgtm but this appears to be the right thing to do and not really a ...
4 years, 5 months ago (2016-07-21 20:59:30 UTC) #5
reveman
+piman
4 years, 5 months ago (2016-07-21 21:08:26 UTC) #7
reveman
On 2016/07/21 at 20:59:30, hshi wrote: > lgtm but this appears to be the right ...
4 years, 5 months ago (2016-07-21 21:11:48 UTC) #8
piman
lgtm https://codereview.chromium.org/2171713004/diff/1/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h File gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h (right): https://codereview.chromium.org/2171713004/diff/1/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h#newcode8 gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h:8: #include "base/containers/hash_tables.h" nit: this is deprecated. Can you ...
4 years, 5 months ago (2016-07-21 21:15:25 UTC) #9
marcheu1
On 2016/07/21 21:11:48, reveman wrote: > On 2016/07/21 at 20:59:30, hshi wrote: > > lgtm ...
4 years, 5 months ago (2016-07-21 21:16:38 UTC) #10
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/2171713004/20001
4 years, 5 months ago (2016-07-21 21:53:52 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-21 22:43:19 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 22:46:11 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1ff18bae4738ee3d62c2310d9e03211054be0582
Cr-Commit-Position: refs/heads/master@{#406973}

Powered by Google App Engine
This is Rietveld 408576698