Mir

Merge lp://qastaging/~kdub/mir/send-client-fences-to-server into lp://qastaging/mir

Proposed by Kevin DuBois
Status: Work in progress
Proposed branch: lp://qastaging/~kdub/mir/send-client-fences-to-server
Merge into: lp://qastaging/mir
Diff against target: 903 lines (+428/-259)
11 files modified
src/client/android/client_surface_interpreter.cpp (+2/-3)
src/client/mir_surface.cpp (+13/-0)
src/platform/graphics/android/ipc_operations.cpp (+12/-3)
tests/include/mir_test_doubles/mock_android_alloc_device.h (+11/-50)
tests/mir_test_doubles/mock_android_hw.cpp (+11/-0)
tests/unit-tests/client/android/test_client_surface_interpreter.cpp (+15/-7)
tests/unit-tests/client/test_client_mir_surface.cpp (+125/-5)
tests/unit-tests/graphics/android/CMakeLists.txt (+1/-0)
tests/unit-tests/graphics/android/test_android_alloc_adaptor.cpp (+4/-4)
tests/unit-tests/graphics/android/test_ipc_operations.cpp (+192/-0)
tests/unit-tests/graphics/android/test_platform.cpp (+42/-187)
To merge this branch: bzr merge lp://qastaging/~kdub/mir/send-client-fences-to-server
Reviewer Review Type Date Requested Status
Mir development team Pending
Review via email: mp+241449@code.qastaging.launchpad.net

Commit message

android: frontend:
send client fences back to the server. This is the complement of lp:~kdub/mir/send-server-fences-to-client. We will start processing the buffer that the client returns at an earlier point. HWC guarantees to wait for the fence before using the buffer, and we ensure that it is waited for in GLES composition in mg::Buffer::bind_to_texture.

Description of the change

android: frontend:
send client fences back to the server. This is the complement of lp:~kdub/mir/send-server-fences-to-client. We will start processing the buffer that the client returns at an earlier point. HWC guarantees to wait for the fence before using the buffer, and we ensure that it is waited for in GLES composition in mg::Buffer::bind_to_texture.

note: I split the ipc functions from test_platform.cpp into test_ipc_operations, as the platform test suite was really testing two objects. I did a bit of cleanup of the test in this area too.

currently testing with the full stack.

To post a comment you must log in.

Unmerged revisions

2007. By Kevin DuBois

merge in mir

2006. By Kevin DuBois

further test cleanups

2005. By Kevin DuBois

merge in mir

2004. By Kevin DuBois

some test cleanups

2003. By Kevin DuBois

adjust for loop spacings

2002. By Kevin DuBois

merge mir

2001. By Kevin DuBois

merge in base

2000. By Kevin DuBois

merge in lp:mir

1999. By Kevin DuBois

correct problematic mirsurface test

1998. By Kevin DuBois

merge base

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches