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

Issue 2188893002: gpu: Avoid creating two native pixmaps for the same buffer. (Closed)

Created:
4 years, 4 months ago by reveman
Modified:
4 years, 4 months ago
Reviewers:
piman
CC:
chromium-reviews, 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: Avoid creating two native pixmaps for the same buffer. For buffers allocated using CreateGpuMemoryBuffer, avoid creating a second native pixmap for the same buffer as that results in the associated GEM handle being closed twice. BUG=631268 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/770b48e9e2c1e9d47b0c2a02c767a370b0adb3da Cr-Commit-Position: refs/heads/master@{#408268}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -8 lines) Patch
M gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc View 1 chunk +23 lines, -8 lines 2 comments Download

Messages

Total messages: 13 (7 generated)
reveman
4 years, 4 months ago (2016-07-27 22:29:11 UTC) #3
piman
LGTM, with a possible follow-up. https://codereview.chromium.org/2188893002/diff/1/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc File gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc (right): https://codereview.chromium.org/2188893002/diff/1/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc#newcode100 gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc:100: } Should we add ...
4 years, 4 months ago (2016-07-27 22:42:14 UTC) #6
reveman
https://codereview.chromium.org/2188893002/diff/1/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc File gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc (right): https://codereview.chromium.org/2188893002/diff/1/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc#newcode100 gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc:100: } On 2016/07/27 at 22:42:14, piman - slow reviews ...
4 years, 4 months ago (2016-07-27 23:13:25 UTC) #7
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/2188893002/1
4 years, 4 months ago (2016-07-27 23:14:04 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-27 23:17:55 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 23:19:51 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/770b48e9e2c1e9d47b0c2a02c767a370b0adb3da
Cr-Commit-Position: refs/heads/master@{#408268}

Powered by Google App Engine
This is Rietveld 408576698