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

Issue 2404513002: exo: Implement zcr_linux_explicit_synchronization_v1

Created:
4 years, 2 months ago by fooishbar
Modified:
4 years, 1 month ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Add zcr_linux_explicit_synchronization_v1 Add support for the explicit-fencing protocol, and plumb GpuFence integration through using the libsync primitive type and the BindTexImage fence ID. R=reveman@chromium.org BUG=653908

Patch Set 1 #

Total comments: 32

Patch Set 2 : rebase, address review comments #

Total comments: 21

Patch Set 3 : fix fence-fd ownership, remove stray display-name change #

Patch Set 4 : rebase, review comments #

Patch Set 5 : remove stray aura/env include #

Total comments: 7

Patch Set 6 : rebased, small fixes, tested on samus #

Patch Set 7 : rebase, fix unit tests #

Patch Set 8 : rebase, pull in cl 2443823002 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -25 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/exo/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/buffer.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M components/exo/buffer.cc View 1 2 3 4 5 12 chunks +35 lines, -11 lines 0 comments Download
M components/exo/buffer_unittest.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M components/exo/display.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -2 lines 0 comments Download
M components/exo/display.cc View 1 2 3 4 5 6 7 2 chunks +21 lines, -3 lines 0 comments Download
M components/exo/display_unittest.cc View 1 2 3 4 5 6 7 2 chunks +43 lines, -1 line 0 comments Download
M components/exo/surface.h View 1 2 3 4 5 6 7 4 chunks +13 lines, -0 lines 0 comments Download
M components/exo/surface.cc View 1 2 3 4 5 6 7 4 chunks +10 lines, -2 lines 0 comments Download
M components/exo/wayland/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 4 5 6 7 5 chunks +115 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (1 generated)
fooishbar
4 years, 2 months ago (2016-10-07 19:33:50 UTC) #1
reveman
Do you think we can include a SurfaceTest.SetAcquireFence unit test? Doesn't have to be very ...
4 years, 2 months ago (2016-10-09 19:03:17 UTC) #2
fooishbar
https://codereview.chromium.org/2404513002/diff/1/components/exo/buffer.cc File components/exo/buffer.cc (right): https://codereview.chromium.org/2404513002/diff/1/components/exo/buffer.cc#newcode245 components/exo/buffer.cc:245: fence_id = glCreateFenceCHROMIUM(acquire_fence->AsClientFence()); On 2016/10/09 19:03:16, reveman wrote: > ...
4 years, 2 months ago (2016-10-12 15:41:56 UTC) #3
fooishbar
https://codereview.chromium.org/2404513002/diff/1/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2404513002/diff/1/components/exo/wayland/server.cc#newcode3015 components/exo/wayland/server.cc:3015: void fencing_get_surface(wl_client* client, wl_resource* resource, uint32_t id, On 2016/10/12 ...
4 years, 2 months ago (2016-10-12 15:45:20 UTC) #4
fooishbar
https://codereview.chromium.org/2404513002/diff/20001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2404513002/diff/20001/components/exo/wayland/server.cc#newcode103 components/exo/wayland/server.cc:103: const base::FilePath::CharType kSocketName[] = FILE_PATH_LITERAL("exosphere-0"); Sorry, this still crept ...
4 years, 2 months ago (2016-10-12 15:50:51 UTC) #5
fooishbar
the stray exosphere-0 is gone in this revision; i haven't been able to properly test ...
4 years, 2 months ago (2016-10-12 16:58:14 UTC) #6
reveman
Thanks for adding the test. This looks great. Just fix the nits and make sure ...
4 years, 2 months ago (2016-10-12 19:20:21 UTC) #7
fooishbar
https://codereview.chromium.org/2404513002/diff/80001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2404513002/diff/80001/components/exo/wayland/server.cc#newcode64 components/exo/wayland/server.cc:64: #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" oops - this needs to go too.
4 years, 2 months ago (2016-10-13 16:55:35 UTC) #8
reveman
Just a few nits I missed in my last review. This lgtm after fixing those. ...
4 years, 2 months ago (2016-10-13 17:13:51 UTC) #10
reveman
two small compile fixes https://codereview.chromium.org/2404513002/diff/80001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2404513002/diff/80001/components/exo/wayland/server.cc#newcode796 components/exo/wayland/server.cc:796: fence = display_->CreateLinuxFence(fd); On 2016/10/13 ...
4 years, 2 months ago (2016-10-13 17:26:02 UTC) #11
fooishbar
rebase, fix unit tests
4 years, 2 months ago (2016-10-20 10:05:51 UTC) #12
reveman
Hi, this might need a rebase on latest gpu fence patches. I fixed the unit ...
4 years, 1 month ago (2016-10-24 16:25:07 UTC) #13
fooishbar
4 years, 1 month ago (2016-11-03 12:55:38 UTC) #14
rebase, pull in cl 2443823002

Powered by Google App Engine
This is Rietveld 408576698