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

Issue 2148983002: gpu: Take surface handle into account when importing buffers. (Closed)

Created:
4 years, 5 months ago by reveman
Modified:
4 years, 5 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, feature-media-reviews_chromium.org, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org, posciak+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: Take surface handle into account when importing buffers. This makes us use the appropriate DRM device when importing native GMBs on Ozone instead of always using the primary device. BUG=626807, 597932 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/15e3d9a4516ad22cc56c1ff162f32f3d03e8de9f Cr-Commit-Position: refs/heads/master@{#406322}

Patch Set 1 #

Patch Set 2 : fix gl_unittests #

Total comments: 4

Patch Set 3 : avoid crash in DrmDeviceManager::GetDrmDevice when passed invalid widget #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -29 lines) Patch
M cc/test/test_image_factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/test_image_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/image_factory.h View 2 chunks +3 lines, -1 line 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/texture_image_factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/texture_image_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_channel.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_channel.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M gpu/ipc/service/gpu_command_buffer_stub.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_memory_buffer_factory_io_surface.cc View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M gpu/ipc/service/gpu_memory_buffer_factory_surface_texture.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_memory_buffer_factory_surface_texture.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/gpu/vaapi_drm_picture.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device_manager.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread_proxy.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ui/ozone/public/surface_factory_ozone.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 45 (26 generated)
reveman
4 years, 5 months ago (2016-07-13 21:01:16 UTC) #4
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-13 21:14:50 UTC) #7
Pawel Osciak
media/gpu lgtm
4 years, 5 months ago (2016-07-14 04:42:36 UTC) #16
dnicoara
lgtm This fixes the allocation issues, but the screen is still black. There seems to ...
4 years, 5 months ago (2016-07-14 17:23:25 UTC) #17
reveman
+spang for ui/ozone/ +piman for gpu/ Ok, thanks for investigating. Sounds like we should at ...
4 years, 5 months ago (2016-07-14 18:10:13 UTC) #19
piman
https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc File gpu/ipc/service/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc#newcode1008 gpu/ipc/service/gpu_command_buffer_stub.cc:1008: handle, size, format, internalformat, surface_handle_); surface_handle_ will be null ...
4 years, 5 months ago (2016-07-14 18:32:44 UTC) #20
reveman
ptal https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc File gpu/ipc/service/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc#newcode1008 gpu/ipc/service/gpu_command_buffer_stub.cc:1008: handle, size, format, internalformat, surface_handle_); On 2016/07/14 at ...
4 years, 5 months ago (2016-07-14 20:00:59 UTC) #21
piman
lgtm https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc File gpu/ipc/service/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc#newcode1008 gpu/ipc/service/gpu_command_buffer_stub.cc:1008: handle, size, format, internalformat, surface_handle_); On 2016/07/14 20:00:59, ...
4 years, 5 months ago (2016-07-14 20:39:26 UTC) #22
reveman
https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc File gpu/ipc/service/gpu_command_buffer_stub.cc (right): https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc#newcode1008 gpu/ipc/service/gpu_command_buffer_stub.cc:1008: handle, size, format, internalformat, surface_handle_); On 2016/07/14 at 20:39:26, ...
4 years, 5 months ago (2016-07-14 21:23:40 UTC) #23
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-14 21:24:42 UTC) #26
piman
On Thu, Jul 14, 2016 at 2:23 PM, <reveman@chromium.org> wrote: > > > https://codereview.chromium.org/2148983002/diff/20001/gpu/ipc/service/gpu_command_buffer_stub.cc > ...
4 years, 5 months ago (2016-07-14 21:42:44 UTC) #27
chromium-reviews
On Thu, Jul 14, 2016 at 5:42 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
4 years, 5 months ago (2016-07-14 22:35:29 UTC) #28
reveman
+rjkroege for ui/ozone/public
4 years, 5 months ago (2016-07-18 23:59:00 UTC) #32
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-18 23:59:59 UTC) #35
rjkroege
lgtm
4 years, 5 months ago (2016-07-19 17:54:44 UTC) #38
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/2148983002/40001
4 years, 5 months ago (2016-07-19 18:13:39 UTC) #41
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 18:13:42 UTC) #42
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-19 18:21:46 UTC) #43
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 18:24:05 UTC) #45
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/15e3d9a4516ad22cc56c1ff162f32f3d03e8de9f
Cr-Commit-Position: refs/heads/master@{#406322}

Powered by Google App Engine
This is Rietveld 408576698