Merge lp:~andreas-pokorny/mir/expose-client-platform-headers into lp:mir
- expose-client-platform-headers
- Merge into development-branch
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 4167 |
Proposed branch: | lp:~andreas-pokorny/mir/expose-client-platform-headers |
Merge into: | lp:mir |
Diff against target: |
938 lines (+97/-95) 64 files modified
include/client/mir_toolkit/extensions/hardware_buffer_stream.h (+4/-4) include/test/mir/test/doubles/mock_client_buffer.h (+1/-1) include/test/mir/test/doubles/mock_client_context.h (+1/-1) include/test/mir/test/doubles/mock_egl_native_surface.h (+1/-1) src/client/CMakeLists.txt (+1/-0) src/client/buffer.cpp (+1/-1) src/client/buffer_factory.cpp (+1/-1) src/client/buffer_stream.cpp (+1/-1) src/client/buffer_stream.h (+2/-2) src/client/buffer_vault.cpp (+2/-2) src/client/default_connection_configuration.cpp (+1/-1) src/client/mir_buffer_api.cpp (+1/-2) src/client/mir_buffer_stream_api.cpp (+1/-1) src/client/mir_connection.cpp (+2/-2) src/client/mir_connection.h (+2/-2) src/client/mir_surface.cpp (+1/-1) src/client/mir_surface.h (+1/-1) src/client/presentation_chain.cpp (+2/-2) src/client/probing_client_platform_factory.cpp (+1/-1) src/client/probing_client_platform_factory.h (+1/-1) src/client/render_surface.cpp (+1/-1) src/client/screencast_stream.cpp (+2/-2) src/client/screencast_stream.h (+2/-2) src/platforms/CMakeLists.txt (+2/-0) src/platforms/common/client/mir/CMakeLists.txt (+1/-1) src/platforms/common/client/mir/aging_buffer.h (+1/-1) src/platforms/eglstream-kms/client/client_buffer_factory.h (+1/-1) src/platforms/eglstream-kms/client/client_platform.cpp (+2/-2) src/platforms/eglstream-kms/client/client_platform.h (+1/-1) src/platforms/eglstream-kms/client/client_platform_factory.cpp (+3/-3) src/platforms/mesa/client/client_buffer_factory.h (+1/-1) src/platforms/mesa/client/client_platform.cpp (+3/-3) src/platforms/mesa/client/client_platform.h (+1/-1) src/platforms/mesa/client/client_platform_factory.cpp (+3/-3) src/platforms/mesa/client/mesa_native_display_container.cpp (+1/-1) src/platforms/mesa/client/mesa_native_display_container.h (+1/-1) src/platforms/mesa/client/native_surface.cpp (+1/-1) src/platforms/mesa/client/native_surface.h (+1/-1) tests/acceptance-tests/test_client_library_errors.cpp (+3/-3) tests/include/mir/test/doubles/mock_client_buffer_factory.h (+1/-1) tests/include/mir/test/doubles/mock_client_platform.h (+2/-2) tests/include/mir/test/doubles/mock_mir_buffer.h (+1/-1) tests/include/mir/test/doubles/mock_mir_buffer_stream.h (+1/-1) tests/include/mir/test/doubles/null_client_buffer.h (+1/-1) tests/include/mir/test/doubles/stub_client_buffer.h (+1/-1) tests/include/mir/test/doubles/stub_client_buffer_factory.h (+1/-1) tests/include/mir/test/doubles/stub_client_platform_factory.h (+1/-1) tests/include/mir_test_framework/client_platform_factory.h (+1/-1) tests/include/mir_test_framework/stub_client_platform_factory.h (+2/-2) tests/mir_test_doubles/mock_egl.cpp (+1/-1) tests/mir_test_framework/stub_client_platform_factory.cpp (+3/-3) tests/mir_test_framework/stub_client_platform_module.cpp (+2/-2) tests/unit-tests/client/test_buffer_vault.cpp (+1/-1) tests/unit-tests/client/test_client_buffer_stream.cpp (+1/-1) tests/unit-tests/client/test_client_mir_surface.cpp (+4/-4) tests/unit-tests/client/test_client_platform.cpp (+3/-3) tests/unit-tests/client/test_mir_connection.cpp (+3/-3) tests/unit-tests/client/test_mir_render_surface.cpp (+1/-1) tests/unit-tests/client/test_mir_screencast.cpp (+2/-2) tests/unit-tests/client/test_presentation_chain.cpp (+1/-1) tests/unit-tests/client/test_probing_client_platform_factory.cpp (+1/-1) tests/unit-tests/client/test_screencast_stream.cpp (+1/-1) tests/unit-tests/platforms/mesa/client/test_client_platform.cpp (+1/-1) tests/unit-tests/platforms/mesa/client/test_native_surface.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~andreas-pokorny/mir/expose-client-platform-headers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mir CI Bot | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Andreas Pokorny (community) | Abstain | ||
Daniel van Vugt | Pending | ||
Review via email: mp+323717@code.launchpad.net |
Commit message
Expose the necessary headers for out of source plaform library builds
* interfaces needed to implement a client platform
* interfaces that appear in the factory interface for a server platform
* common mocks required to test platform libraries
Description of the change
This exposes the previously private headers necessary to implement a graphics driver for mir
Andreas Pokorny (andreas-pokorny) wrote : | # |
Alan Griffiths (alan-griffiths) wrote : | # |
This needs consideration alongside the work Kevin was doing to tidy up these interfaces:
https:/
https:/
Would it be useful to complete that work, or should we abandon it?
Andreas Pokorny (andreas-pokorny) wrote : | # |
We should complete that work too, whatever comes in second needs to rebase.. and I need to apply that rework on the android platform too then.
Alan Griffiths (alan-griffiths) wrote : | # |
> We should complete that work too, whatever comes in second needs to rebase..
> and I need to apply that rework on the android platform too then.
Actually, it seems to merge cleanly.
Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
https:/
Executed test runs:
FAILURE: https:/
None: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Alan Griffiths (alan-griffiths) wrote : | # |
Packaging error:
12:31:36 dh_install: usr/include/
12:31:36 dh_install: usr/include/
Andreas Pokorny (andreas-pokorny) wrote : | # |
should I move include/
Andreas Pokorny (andreas-pokorny) wrote : | # |
^
Alan Griffiths (alan-griffiths) wrote : | # |
> should I move include/
> so it ends up in platform-dev?
That seems a more sensible place. Really, include/
PS
I'm also surprised that individual header files are listed in the package .install.
Andreas Pokorny (andreas-pokorny) wrote : | # |
Ok moved again..
Alan Griffiths (alan-griffiths) wrote : | # |
We may want to tidy up further before a release, but this is OK.
Mir CI Bot (mir-ci-bot) : | # |
Preview Diff
1 | === renamed file 'src/include/client/mir_toolkit/extensions/hardware_buffer_stream.h' => 'include/client/mir_toolkit/extensions/hardware_buffer_stream.h' | |||
2 | --- src/include/client/mir_toolkit/extensions/hardware_buffer_stream.h 2017-04-21 03:08:25 +0000 | |||
3 | +++ include/client/mir_toolkit/extensions/hardware_buffer_stream.h 2017-05-12 15:59:26 +0000 | |||
4 | @@ -1,16 +1,16 @@ | |||
5 | 1 | /* | 1 | /* |
6 | 2 | * Copyright © 2017 Canonical Ltd. | 2 | * Copyright © 2017 Canonical Ltd. |
7 | 3 | * | 3 | * |
10 | 4 | * This program is free software: you can redistribute it and/or modify it | 4 | * This program is free software: you can redistribute it and/or modify |
11 | 5 | * under the terms of the GNU General Public License version 3, | 5 | * it under the terms of the GNU Lesser General Public License version 3 |
12 | 6 | * as published by the Free Software Foundation. | 6 | * as published by the Free Software Foundation. |
13 | 7 | * | 7 | * |
14 | 8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
15 | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | 11 | * GNU General Public License for more details. | 11 | * GNU Lesser General Public License for more details. |
19 | 12 | * | 12 | * |
21 | 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU Lesser General Public License |
22 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
23 | 15 | * | 15 | * |
24 | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> |
25 | 17 | 17 | ||
26 | === added directory 'include/platform/mir/client' | |||
27 | === renamed file 'src/include/client/mir/client_buffer.h' => 'include/platform/mir/client/client_buffer.h' | |||
28 | === renamed file 'src/include/client/mir/client_buffer_factory.h' => 'include/platform/mir/client/client_buffer_factory.h' | |||
29 | === renamed file 'src/include/client/mir/client_context.h' => 'include/platform/mir/client/client_context.h' | |||
30 | === renamed file 'src/include/client/mir/client_platform.h' => 'include/platform/mir/client/client_platform.h' | |||
31 | === renamed file 'src/include/client/mir/client_platform_factory.h' => 'include/platform/mir/client/client_platform_factory.h' | |||
32 | === renamed file 'src/include/client/mir/egl_native_display_container.h' => 'include/platform/mir/client/egl_native_display_container.h' | |||
33 | === renamed file 'src/include/client/mir/egl_native_surface.h' => 'include/platform/mir/client/egl_native_surface.h' | |||
34 | === renamed file 'src/include/platform/mir/emergency_cleanup_registry.h' => 'include/platform/mir/emergency_cleanup_registry.h' | |||
35 | === renamed file 'src/include/platform/mir/graphics/buffer_ipc_message.h' => 'include/platform/mir/graphics/buffer_ipc_message.h' | |||
36 | === renamed file 'src/include/platform/mir/graphics/display_report.h' => 'include/platform/mir/graphics/display_report.h' | |||
37 | === renamed file 'src/include/platform/mir/graphics/egl_error.h' => 'include/platform/mir/graphics/egl_error.h' | |||
38 | === renamed file 'src/include/platform/mir/graphics/egl_extensions.h' => 'include/platform/mir/graphics/egl_extensions.h' | |||
39 | === renamed file 'src/include/platform/mir/graphics/egl_resources.h' => 'include/platform/mir/graphics/egl_resources.h' | |||
40 | === renamed file 'src/include/platform/mir/graphics/transformation.h' => 'include/platform/mir/graphics/transformation.h' | |||
41 | === renamed file 'src/include/client/mir/mir_buffer.h' => 'include/platform/mir/mir_buffer.h' | |||
42 | === renamed file 'src/include/client/mir/mir_buffer_stream.h' => 'include/platform/mir/mir_buffer_stream.h' | |||
43 | === renamed file 'src/include/client/mir/mir_render_surface.h' => 'include/platform/mir/mir_render_surface.h' | |||
44 | === renamed file 'src/include/platform/mir/options/program_option.h' => 'include/platform/mir/options/program_option.h' | |||
45 | === added directory 'include/platform/mir/renderer' | |||
46 | === added directory 'include/platform/mir/renderer/sw' | |||
47 | === renamed file 'include/renderers/sw/mir/renderer/sw/pixel_source.h' => 'include/platform/mir/renderer/sw/pixel_source.h' | |||
48 | === renamed file 'tests/include/mir/test/doubles/mock_client_buffer.h' => 'include/test/mir/test/doubles/mock_client_buffer.h' | |||
49 | --- tests/include/mir/test/doubles/mock_client_buffer.h 2017-04-28 03:49:54 +0000 | |||
50 | +++ include/test/mir/test/doubles/mock_client_buffer.h 2017-05-12 15:59:26 +0000 | |||
51 | @@ -19,7 +19,7 @@ | |||
52 | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_H_ | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_H_ |
53 | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_H_ | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_H_ |
54 | 21 | 21 | ||
56 | 22 | #include "mir/client_buffer.h" | 22 | #include "mir/client/client_buffer.h" |
57 | 23 | 23 | ||
58 | 24 | #include <gtest/gtest.h> | 24 | #include <gtest/gtest.h> |
59 | 25 | #include <gmock/gmock.h> | 25 | #include <gmock/gmock.h> |
60 | 26 | 26 | ||
61 | === renamed file 'tests/include/mir/test/doubles/mock_client_context.h' => 'include/test/mir/test/doubles/mock_client_context.h' | |||
62 | --- tests/include/mir/test/doubles/mock_client_context.h 2017-04-28 03:49:54 +0000 | |||
63 | +++ include/test/mir/test/doubles/mock_client_context.h 2017-05-12 15:59:26 +0000 | |||
64 | @@ -20,7 +20,7 @@ | |||
65 | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_CONTEXT_H_ | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_CONTEXT_H_ |
66 | 21 | 21 | ||
67 | 22 | #include "mir_toolkit/mir_client_library.h" | 22 | #include "mir_toolkit/mir_client_library.h" |
69 | 23 | #include "mir/client_context.h" | 23 | #include "mir/client/client_context.h" |
70 | 24 | 24 | ||
71 | 25 | #include <gmock/gmock.h> | 25 | #include <gmock/gmock.h> |
72 | 26 | 26 | ||
73 | 27 | 27 | ||
74 | === renamed file 'tests/include/mir/test/doubles/mock_egl_native_surface.h' => 'include/test/mir/test/doubles/mock_egl_native_surface.h' | |||
75 | --- tests/include/mir/test/doubles/mock_egl_native_surface.h 2017-04-28 03:49:54 +0000 | |||
76 | +++ include/test/mir/test/doubles/mock_egl_native_surface.h 2017-05-12 15:59:26 +0000 | |||
77 | @@ -19,7 +19,7 @@ | |||
78 | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_EGL_NATIVE_SURFACE_H_ | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_EGL_NATIVE_SURFACE_H_ |
79 | 20 | #define MIR_TEST_DOUBLES_MOCK_EGL_NATIVE_SURFACE_H_ | 20 | #define MIR_TEST_DOUBLES_MOCK_EGL_NATIVE_SURFACE_H_ |
80 | 21 | 21 | ||
82 | 22 | #include "mir/egl_native_surface.h" | 22 | #include "mir/client/egl_native_surface.h" |
83 | 23 | 23 | ||
84 | 24 | #include <gmock/gmock.h> | 24 | #include <gmock/gmock.h> |
85 | 25 | 25 | ||
86 | 26 | 26 | ||
87 | === modified file 'src/client/CMakeLists.txt' | |||
88 | --- src/client/CMakeLists.txt 2017-04-28 03:49:54 +0000 | |||
89 | +++ src/client/CMakeLists.txt 2017-05-12 15:59:26 +0000 | |||
90 | @@ -25,6 +25,7 @@ | |||
91 | 25 | include_directories( | 25 | include_directories( |
92 | 26 | ${PROTOBUF_INCLUDE_DIRS} | 26 | ${PROTOBUF_INCLUDE_DIRS} |
93 | 27 | ${CMAKE_CURRENT_BINARY_DIR} | 27 | ${CMAKE_CURRENT_BINARY_DIR} |
94 | 28 | ${PROJECT_SOURCE_DIR}/include/platform | ||
95 | 28 | ${PROJECT_SOURCE_DIR}/include/client | 29 | ${PROJECT_SOURCE_DIR}/include/client |
96 | 29 | ${PROJECT_SOURCE_DIR}/src/include/client | 30 | ${PROJECT_SOURCE_DIR}/src/include/client |
97 | 30 | ${PROJECT_SOURCE_DIR}/src/include/cookie | 31 | ${PROJECT_SOURCE_DIR}/src/include/cookie |
98 | 31 | 32 | ||
99 | === modified file 'src/client/buffer.cpp' | |||
100 | --- src/client/buffer.cpp 2017-04-28 03:49:54 +0000 | |||
101 | +++ src/client/buffer.cpp 2017-05-12 15:59:26 +0000 | |||
102 | @@ -16,7 +16,7 @@ | |||
103 | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> |
104 | 17 | */ | 17 | */ |
105 | 18 | 18 | ||
107 | 19 | #include "mir/client_buffer.h" | 19 | #include "mir/client/client_buffer.h" |
108 | 20 | #include "buffer.h" | 20 | #include "buffer.h" |
109 | 21 | #include <boost/throw_exception.hpp> | 21 | #include <boost/throw_exception.hpp> |
110 | 22 | 22 | ||
111 | 23 | 23 | ||
112 | === modified file 'src/client/buffer_factory.cpp' | |||
113 | --- src/client/buffer_factory.cpp 2017-04-28 03:49:54 +0000 | |||
114 | +++ src/client/buffer_factory.cpp 2017-05-12 15:59:26 +0000 | |||
115 | @@ -16,7 +16,7 @@ | |||
116 | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> |
117 | 17 | */ | 17 | */ |
118 | 18 | 18 | ||
120 | 19 | #include "mir/client_buffer_factory.h" | 19 | #include "mir/client/client_buffer_factory.h" |
121 | 20 | #include "buffer_factory.h" | 20 | #include "buffer_factory.h" |
122 | 21 | #include "error_buffer.h" | 21 | #include "error_buffer.h" |
123 | 22 | #include <algorithm> | 22 | #include <algorithm> |
124 | 23 | 23 | ||
125 | === modified file 'src/client/buffer_stream.cpp' | |||
126 | --- src/client/buffer_stream.cpp 2017-05-08 04:12:58 +0000 | |||
127 | +++ src/client/buffer_stream.cpp 2017-05-12 15:59:26 +0000 | |||
128 | @@ -33,7 +33,7 @@ | |||
129 | 33 | #include "connection_surface_map.h" | 33 | #include "connection_surface_map.h" |
130 | 34 | 34 | ||
131 | 35 | #include "mir/log.h" | 35 | #include "mir/log.h" |
133 | 36 | #include "mir/client_platform.h" | 36 | #include "mir/client/client_platform.h" |
134 | 37 | #include "mir/frontend/client_constants.h" | 37 | #include "mir/frontend/client_constants.h" |
135 | 38 | #include "mir_toolkit/mir_native_buffer.h" | 38 | #include "mir_toolkit/mir_native_buffer.h" |
136 | 39 | 39 | ||
137 | 40 | 40 | ||
138 | === modified file 'src/client/buffer_stream.h' | |||
139 | --- src/client/buffer_stream.h 2017-05-08 04:12:58 +0000 | |||
140 | +++ src/client/buffer_stream.h 2017-05-12 15:59:26 +0000 | |||
141 | @@ -20,8 +20,8 @@ | |||
142 | 20 | #define MIR_CLIENT_BUFFER_STREAM_H | 20 | #define MIR_CLIENT_BUFFER_STREAM_H |
143 | 21 | 21 | ||
144 | 22 | #include "mir_wait_handle.h" | 22 | #include "mir_wait_handle.h" |
147 | 23 | #include "mir/egl_native_surface.h" | 23 | #include "mir/client/egl_native_surface.h" |
148 | 24 | #include "mir/client_buffer.h" | 24 | #include "mir/client/client_buffer.h" |
149 | 25 | #include "mir/mir_buffer_stream.h" | 25 | #include "mir/mir_buffer_stream.h" |
150 | 26 | #include "mir/geometry/size.h" | 26 | #include "mir/geometry/size.h" |
151 | 27 | #include "mir/optional_value.h" | 27 | #include "mir/optional_value.h" |
152 | 28 | 28 | ||
153 | === modified file 'src/client/buffer_vault.cpp' | |||
154 | --- src/client/buffer_vault.cpp 2017-04-28 03:49:54 +0000 | |||
155 | +++ src/client/buffer_vault.cpp 2017-05-12 15:59:26 +0000 | |||
156 | @@ -16,8 +16,8 @@ | |||
157 | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> |
158 | 17 | */ | 17 | */ |
159 | 18 | 18 | ||
162 | 19 | #include "mir/client_buffer_factory.h" | 19 | #include "mir/client/client_buffer_factory.h" |
163 | 20 | #include "mir/client_buffer.h" | 20 | #include "mir/client/client_buffer.h" |
164 | 21 | #include "mir/client/surface_map.h" | 21 | #include "mir/client/surface_map.h" |
165 | 22 | #include "buffer_vault.h" | 22 | #include "buffer_vault.h" |
166 | 23 | #include "buffer.h" | 23 | #include "buffer.h" |
167 | 24 | 24 | ||
168 | === modified file 'src/client/default_connection_configuration.cpp' | |||
169 | --- src/client/default_connection_configuration.cpp 2017-04-28 03:49:54 +0000 | |||
170 | +++ src/client/default_connection_configuration.cpp 2017-05-12 15:59:26 +0000 | |||
171 | @@ -33,7 +33,7 @@ | |||
172 | 33 | #include "lttng/shared_library_prober_report.h" | 33 | #include "lttng/shared_library_prober_report.h" |
173 | 34 | #include "connection_surface_map.h" | 34 | #include "connection_surface_map.h" |
174 | 35 | #include "lifecycle_control.h" | 35 | #include "lifecycle_control.h" |
176 | 36 | #include "mir/client_platform_factory.h" | 36 | #include "mir/client/client_platform_factory.h" |
177 | 37 | #include "probing_client_platform_factory.h" | 37 | #include "probing_client_platform_factory.h" |
178 | 38 | #include "mir_event_distributor.h" | 38 | #include "mir_event_distributor.h" |
179 | 39 | #include "buffer_factory.h" | 39 | #include "buffer_factory.h" |
180 | 40 | 40 | ||
181 | === modified file 'src/client/mir_buffer_api.cpp' | |||
182 | --- src/client/mir_buffer_api.cpp 2017-04-28 03:49:54 +0000 | |||
183 | +++ src/client/mir_buffer_api.cpp 2017-05-12 15:59:26 +0000 | |||
184 | @@ -22,11 +22,10 @@ | |||
185 | 22 | #include "presentation_chain.h" | 22 | #include "presentation_chain.h" |
186 | 23 | #include "mir_connection.h" | 23 | #include "mir_connection.h" |
187 | 24 | #include "buffer.h" | 24 | #include "buffer.h" |
189 | 25 | #include "mir/client_buffer.h" | 25 | #include "mir/client/client_buffer.h" |
190 | 26 | #include "mir/require.h" | 26 | #include "mir/require.h" |
191 | 27 | #include "mir/uncaught.h" | 27 | #include "mir/uncaught.h" |
192 | 28 | #include "mir/require.h" | 28 | #include "mir/require.h" |
193 | 29 | #include "mir/client_buffer.h" | ||
194 | 30 | #include <stdexcept> | 29 | #include <stdexcept> |
195 | 31 | #include <boost/throw_exception.hpp> | 30 | #include <boost/throw_exception.hpp> |
196 | 32 | 31 | ||
197 | 33 | 32 | ||
198 | === modified file 'src/client/mir_buffer_stream_api.cpp' | |||
199 | --- src/client/mir_buffer_stream_api.cpp 2017-05-08 04:12:58 +0000 | |||
200 | +++ src/client/mir_buffer_stream_api.cpp 2017-05-12 15:59:26 +0000 | |||
201 | @@ -25,7 +25,7 @@ | |||
202 | 25 | #include "render_surface.h" | 25 | #include "render_surface.h" |
203 | 26 | 26 | ||
204 | 27 | #include "mir_toolkit/mir_buffer.h" | 27 | #include "mir_toolkit/mir_buffer.h" |
206 | 28 | #include "mir/client_buffer.h" | 28 | #include "mir/client/client_buffer.h" |
207 | 29 | 29 | ||
208 | 30 | #include "mir/uncaught.h" | 30 | #include "mir/uncaught.h" |
209 | 31 | #include "mir/require.h" | 31 | #include "mir/require.h" |
210 | 32 | 32 | ||
211 | === modified file 'src/client/mir_connection.cpp' | |||
212 | --- src/client/mir_connection.cpp 2017-04-28 03:49:54 +0000 | |||
213 | +++ src/client/mir_connection.cpp 2017-05-12 15:59:26 +0000 | |||
214 | @@ -24,8 +24,8 @@ | |||
215 | 24 | #include "mir_protobuf.pb.h" | 24 | #include "mir_protobuf.pb.h" |
216 | 25 | #include "make_protobuf_object.h" | 25 | #include "make_protobuf_object.h" |
217 | 26 | #include "mir_toolkit/mir_platform_message.h" | 26 | #include "mir_toolkit/mir_platform_message.h" |
220 | 27 | #include "mir/client_platform.h" | 27 | #include "mir/client/client_platform.h" |
221 | 28 | #include "mir/client_platform_factory.h" | 28 | #include "mir/client/client_platform_factory.h" |
222 | 29 | #include "rpc/mir_basic_rpc_channel.h" | 29 | #include "rpc/mir_basic_rpc_channel.h" |
223 | 30 | #include "mir/dispatch/dispatchable.h" | 30 | #include "mir/dispatch/dispatchable.h" |
224 | 31 | #include "mir/dispatch/threaded_dispatcher.h" | 31 | #include "mir/dispatch/threaded_dispatcher.h" |
225 | 32 | 32 | ||
226 | === modified file 'src/client/mir_connection.h' | |||
227 | --- src/client/mir_connection.h 2017-04-28 03:49:54 +0000 | |||
228 | +++ src/client/mir_connection.h 2017-05-12 15:59:26 +0000 | |||
229 | @@ -28,9 +28,9 @@ | |||
230 | 28 | #include "mir_toolkit/extensions/window_coordinate_translation.h" | 28 | #include "mir_toolkit/extensions/window_coordinate_translation.h" |
231 | 29 | #include "mir_toolkit/extensions/graphics_module.h" | 29 | #include "mir_toolkit/extensions/graphics_module.h" |
232 | 30 | #include "mir/geometry/size.h" | 30 | #include "mir/geometry/size.h" |
234 | 31 | #include "mir/client_platform.h" | 31 | #include "mir/client/client_platform.h" |
235 | 32 | #include "mir/frontend/surface_id.h" | 32 | #include "mir/frontend/surface_id.h" |
237 | 33 | #include "mir/client_context.h" | 33 | #include "mir/client/client_context.h" |
238 | 34 | #include "mir_toolkit/mir_client_library.h" | 34 | #include "mir_toolkit/mir_client_library.h" |
239 | 35 | #include "mir_surface.h" | 35 | #include "mir_surface.h" |
240 | 36 | #include "display_configuration.h" | 36 | #include "display_configuration.h" |
241 | 37 | 37 | ||
242 | === modified file 'src/client/mir_surface.cpp' | |||
243 | --- src/client/mir_surface.cpp 2017-04-28 03:49:54 +0000 | |||
244 | +++ src/client/mir_surface.cpp 2017-05-12 15:59:26 +0000 | |||
245 | @@ -26,7 +26,7 @@ | |||
246 | 26 | #include "mir_toolkit/mir_client_library.h" | 26 | #include "mir_toolkit/mir_client_library.h" |
247 | 27 | #include "mir_toolkit/mir_blob.h" | 27 | #include "mir_toolkit/mir_blob.h" |
248 | 28 | #include "mir/frontend/client_constants.h" | 28 | #include "mir/frontend/client_constants.h" |
250 | 29 | #include "mir/client_buffer.h" | 29 | #include "mir/client/client_buffer.h" |
251 | 30 | #include "mir/mir_buffer_stream.h" | 30 | #include "mir/mir_buffer_stream.h" |
252 | 31 | #include "mir/dispatch/threaded_dispatcher.h" | 31 | #include "mir/dispatch/threaded_dispatcher.h" |
253 | 32 | #include "mir/input/xkb_mapper.h" | 32 | #include "mir/input/xkb_mapper.h" |
254 | 33 | 33 | ||
255 | === modified file 'src/client/mir_surface.h' | |||
256 | --- src/client/mir_surface.h 2017-04-28 03:49:54 +0000 | |||
257 | +++ src/client/mir_surface.h 2017-05-12 15:59:26 +0000 | |||
258 | @@ -25,7 +25,7 @@ | |||
259 | 25 | #include "rpc/mir_display_server.h" | 25 | #include "rpc/mir_display_server.h" |
260 | 26 | #include "rpc/mir_display_server_debug.h" | 26 | #include "rpc/mir_display_server_debug.h" |
261 | 27 | 27 | ||
263 | 28 | #include "mir/client_platform.h" | 28 | #include "mir/client/client_platform.h" |
264 | 29 | #include "mir/frontend/surface_id.h" | 29 | #include "mir/frontend/surface_id.h" |
265 | 30 | #include "mir/optional_value.h" | 30 | #include "mir/optional_value.h" |
266 | 31 | #include "mir/geometry/dimensions.h" | 31 | #include "mir/geometry/dimensions.h" |
267 | 32 | 32 | ||
268 | === modified file 'src/client/presentation_chain.cpp' | |||
269 | --- src/client/presentation_chain.cpp 2017-04-28 03:49:54 +0000 | |||
270 | +++ src/client/presentation_chain.cpp 2017-05-12 15:59:26 +0000 | |||
271 | @@ -16,8 +16,8 @@ | |||
272 | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> |
273 | 17 | */ | 17 | */ |
274 | 18 | 18 | ||
277 | 19 | #include "mir/client_buffer_factory.h" | 19 | #include "mir/client/client_buffer_factory.h" |
278 | 20 | #include "mir/client_buffer.h" | 20 | #include "mir/client/client_buffer.h" |
279 | 21 | #include "rpc/mir_display_server.h" | 21 | #include "rpc/mir_display_server.h" |
280 | 22 | #include "presentation_chain.h" | 22 | #include "presentation_chain.h" |
281 | 23 | #include "protobuf_to_native_buffer.h" | 23 | #include "protobuf_to_native_buffer.h" |
282 | 24 | 24 | ||
283 | === modified file 'src/client/probing_client_platform_factory.cpp' | |||
284 | --- src/client/probing_client_platform_factory.cpp 2017-04-28 03:49:54 +0000 | |||
285 | +++ src/client/probing_client_platform_factory.cpp 2017-05-12 15:59:26 +0000 | |||
286 | @@ -1,5 +1,5 @@ | |||
287 | 1 | #include "probing_client_platform_factory.h" | 1 | #include "probing_client_platform_factory.h" |
289 | 2 | #include "mir/client_platform.h" | 2 | #include "mir/client/client_platform.h" |
290 | 3 | #include "mir/shared_library.h" | 3 | #include "mir/shared_library.h" |
291 | 4 | #include "mir/shared_library_prober.h" | 4 | #include "mir/shared_library_prober.h" |
292 | 5 | #include "mir/shared_library_prober_report.h" | 5 | #include "mir/shared_library_prober_report.h" |
293 | 6 | 6 | ||
294 | === modified file 'src/client/probing_client_platform_factory.h' | |||
295 | --- src/client/probing_client_platform_factory.h 2017-04-28 03:49:54 +0000 | |||
296 | +++ src/client/probing_client_platform_factory.h 2017-05-12 15:59:26 +0000 | |||
297 | @@ -3,7 +3,7 @@ | |||
298 | 3 | 3 | ||
299 | 4 | #include <vector> | 4 | #include <vector> |
300 | 5 | 5 | ||
302 | 6 | #include "mir/client_platform_factory.h" | 6 | #include "mir/client/client_platform_factory.h" |
303 | 7 | #include "mir/shared_library.h" | 7 | #include "mir/shared_library.h" |
304 | 8 | 8 | ||
305 | 9 | namespace mir | 9 | namespace mir |
306 | 10 | 10 | ||
307 | === modified file 'src/client/render_surface.cpp' | |||
308 | --- src/client/render_surface.cpp 2017-04-28 03:49:54 +0000 | |||
309 | +++ src/client/render_surface.cpp 2017-05-12 15:59:26 +0000 | |||
310 | @@ -22,7 +22,7 @@ | |||
311 | 22 | #include "mir_wait_handle.h" | 22 | #include "mir_wait_handle.h" |
312 | 23 | #include "rpc/mir_display_server.h" | 23 | #include "rpc/mir_display_server.h" |
313 | 24 | 24 | ||
315 | 25 | #include "mir/client_platform.h" | 25 | #include "mir/client/client_platform.h" |
316 | 26 | 26 | ||
317 | 27 | #include <boost/throw_exception.hpp> | 27 | #include <boost/throw_exception.hpp> |
318 | 28 | 28 | ||
319 | 29 | 29 | ||
320 | === modified file 'src/client/screencast_stream.cpp' | |||
321 | --- src/client/screencast_stream.cpp 2017-05-08 04:12:58 +0000 | |||
322 | +++ src/client/screencast_stream.cpp 2017-05-12 15:59:26 +0000 | |||
323 | @@ -25,8 +25,8 @@ | |||
324 | 25 | #include "protobuf_to_native_buffer.h" | 25 | #include "protobuf_to_native_buffer.h" |
325 | 26 | 26 | ||
326 | 27 | #include "mir/log.h" | 27 | #include "mir/log.h" |
329 | 28 | #include "mir/client_platform.h" | 28 | #include "mir/client/client_platform.h" |
330 | 29 | #include "mir/client_buffer_factory.h" | 29 | #include "mir/client/client_buffer_factory.h" |
331 | 30 | #include "mir/frontend/client_constants.h" | 30 | #include "mir/frontend/client_constants.h" |
332 | 31 | #include "mir_toolkit/mir_native_buffer.h" | 31 | #include "mir_toolkit/mir_native_buffer.h" |
333 | 32 | 32 | ||
334 | 33 | 33 | ||
335 | === modified file 'src/client/screencast_stream.h' | |||
336 | --- src/client/screencast_stream.h 2017-05-08 04:12:58 +0000 | |||
337 | +++ src/client/screencast_stream.h 2017-05-12 15:59:26 +0000 | |||
338 | @@ -20,8 +20,8 @@ | |||
339 | 20 | #define MIR_CLIENT_SCREENCAST_STREAM_H | 20 | #define MIR_CLIENT_SCREENCAST_STREAM_H |
340 | 21 | 21 | ||
341 | 22 | #include "mir_wait_handle.h" | 22 | #include "mir_wait_handle.h" |
344 | 23 | #include "mir/egl_native_surface.h" | 23 | #include "mir/client/egl_native_surface.h" |
345 | 24 | #include "mir/client_buffer.h" | 24 | #include "mir/client/client_buffer.h" |
346 | 25 | #include "mir/mir_buffer_stream.h" | 25 | #include "mir/mir_buffer_stream.h" |
347 | 26 | #include "mir/geometry/size.h" | 26 | #include "mir/geometry/size.h" |
348 | 27 | 27 | ||
349 | 28 | 28 | ||
350 | === modified file 'src/platforms/CMakeLists.txt' | |||
351 | --- src/platforms/CMakeLists.txt 2017-04-28 03:49:54 +0000 | |||
352 | +++ src/platforms/CMakeLists.txt 2017-05-12 15:59:26 +0000 | |||
353 | @@ -50,11 +50,13 @@ | |||
354 | 50 | set(server_symbol_map ${CMAKE_CURRENT_SOURCE_DIR}/common/server/symbols.map) | 50 | set(server_symbol_map ${CMAKE_CURRENT_SOURCE_DIR}/common/server/symbols.map) |
355 | 51 | 51 | ||
356 | 52 | set(client_common_include_dirs | 52 | set(client_common_include_dirs |
357 | 53 | ${PROJECT_SOURCE_DIR}/include/platform | ||
358 | 53 | ${PROJECT_SOURCE_DIR}/include/client | 54 | ${PROJECT_SOURCE_DIR}/include/client |
359 | 54 | ${CMAKE_CURRENT_SOURCE_DIR}/common/client | 55 | ${CMAKE_CURRENT_SOURCE_DIR}/common/client |
360 | 55 | ) | 56 | ) |
361 | 56 | 57 | ||
362 | 57 | # TODO client platform implementations shouldn't depend on private APIs | 58 | # TODO client platform implementations shouldn't depend on private APIs |
363 | 59 | # - only needed for Hardware Buffer Stream in mesa client | ||
364 | 58 | set(client_common_include_dirs | 60 | set(client_common_include_dirs |
365 | 59 | ${client_common_include_dirs} | 61 | ${client_common_include_dirs} |
366 | 60 | ${PROJECT_SOURCE_DIR}/src/include/client | 62 | ${PROJECT_SOURCE_DIR}/src/include/client |
367 | 61 | 63 | ||
368 | === modified file 'src/platforms/common/client/mir/CMakeLists.txt' | |||
369 | --- src/platforms/common/client/mir/CMakeLists.txt 2017-04-28 03:49:54 +0000 | |||
370 | +++ src/platforms/common/client/mir/CMakeLists.txt 2017-05-12 15:59:26 +0000 | |||
371 | @@ -1,4 +1,4 @@ | |||
373 | 1 | include_directories(${PROJECT_SOURCE_DIR}/src/include/client) | 1 | include_directories(${PROJECT_SOURCE_DIR}/include/platform) |
374 | 2 | include_directories(${PROJECT_SOURCE_DIR}/include/client) | 2 | include_directories(${PROJECT_SOURCE_DIR}/include/client) |
375 | 3 | 3 | ||
376 | 4 | add_library(client_platform_common STATIC | 4 | add_library(client_platform_common STATIC |
377 | 5 | 5 | ||
378 | === modified file 'src/platforms/common/client/mir/aging_buffer.h' | |||
379 | --- src/platforms/common/client/mir/aging_buffer.h 2017-04-28 03:49:54 +0000 | |||
380 | +++ src/platforms/common/client/mir/aging_buffer.h 2017-05-12 15:59:26 +0000 | |||
381 | @@ -19,7 +19,7 @@ | |||
382 | 19 | #ifndef MIR_CLIENT_AGING_BUFFER_H_ | 19 | #ifndef MIR_CLIENT_AGING_BUFFER_H_ |
383 | 20 | #define MIR_CLIENT_AGING_BUFFER_H_ | 20 | #define MIR_CLIENT_AGING_BUFFER_H_ |
384 | 21 | 21 | ||
386 | 22 | #include "mir/client_buffer.h" | 22 | #include "mir/client/client_buffer.h" |
387 | 23 | 23 | ||
388 | 24 | namespace mir | 24 | namespace mir |
389 | 25 | { | 25 | { |
390 | 26 | 26 | ||
391 | === modified file 'src/platforms/eglstream-kms/client/client_buffer_factory.h' | |||
392 | --- src/platforms/eglstream-kms/client/client_buffer_factory.h 2017-04-28 03:49:54 +0000 | |||
393 | +++ src/platforms/eglstream-kms/client/client_buffer_factory.h 2017-05-12 15:59:26 +0000 | |||
394 | @@ -20,7 +20,7 @@ | |||
395 | 20 | #ifndef MIR_CLIENT_EGLSTREAM_CLIENT_BUFFER_FACTORY_H_ | 20 | #ifndef MIR_CLIENT_EGLSTREAM_CLIENT_BUFFER_FACTORY_H_ |
396 | 21 | #define MIR_CLIENT_EGLSTREAM_CLIENT_BUFFER_FACTORY_H_ | 21 | #define MIR_CLIENT_EGLSTREAM_CLIENT_BUFFER_FACTORY_H_ |
397 | 22 | 22 | ||
399 | 23 | #include "mir/client_buffer_factory.h" | 23 | #include "mir/client/client_buffer_factory.h" |
400 | 24 | 24 | ||
401 | 25 | namespace mir | 25 | namespace mir |
402 | 26 | { | 26 | { |
403 | 27 | 27 | ||
404 | === modified file 'src/platforms/eglstream-kms/client/client_platform.cpp' | |||
405 | --- src/platforms/eglstream-kms/client/client_platform.cpp 2017-04-28 03:49:54 +0000 | |||
406 | +++ src/platforms/eglstream-kms/client/client_platform.cpp 2017-05-12 15:59:26 +0000 | |||
407 | @@ -19,8 +19,8 @@ | |||
408 | 19 | #include "mir_toolkit/mir_client_library.h" | 19 | #include "mir_toolkit/mir_client_library.h" |
409 | 20 | #include "client_platform.h" | 20 | #include "client_platform.h" |
410 | 21 | #include "client_buffer_factory.h" | 21 | #include "client_buffer_factory.h" |
413 | 22 | #include "mir/client_buffer_factory.h" | 22 | #include "mir/client/client_buffer_factory.h" |
414 | 23 | #include "mir/client_context.h" | 23 | #include "mir/client/client_context.h" |
415 | 24 | #include "native_buffer.h" | 24 | #include "native_buffer.h" |
416 | 25 | 25 | ||
417 | 26 | #include <cstring> | 26 | #include <cstring> |
418 | 27 | 27 | ||
419 | === modified file 'src/platforms/eglstream-kms/client/client_platform.h' | |||
420 | --- src/platforms/eglstream-kms/client/client_platform.h 2017-04-28 03:49:54 +0000 | |||
421 | +++ src/platforms/eglstream-kms/client/client_platform.h 2017-05-12 15:59:26 +0000 | |||
422 | @@ -18,7 +18,7 @@ | |||
423 | 18 | #ifndef MIR_CLIENT_EGLSTREAM_CLIENT_PLATFORM_H_ | 18 | #ifndef MIR_CLIENT_EGLSTREAM_CLIENT_PLATFORM_H_ |
424 | 19 | #define MIR_CLIENT_EGLSTREAM_CLIENT_PLATFORM_H_ | 19 | #define MIR_CLIENT_EGLSTREAM_CLIENT_PLATFORM_H_ |
425 | 20 | 20 | ||
427 | 21 | #include "mir/client_platform.h" | 21 | #include "mir/client/client_platform.h" |
428 | 22 | 22 | ||
429 | 23 | namespace mir | 23 | namespace mir |
430 | 24 | { | 24 | { |
431 | 25 | 25 | ||
432 | === modified file 'src/platforms/eglstream-kms/client/client_platform_factory.cpp' | |||
433 | --- src/platforms/eglstream-kms/client/client_platform_factory.cpp 2017-04-28 03:49:54 +0000 | |||
434 | +++ src/platforms/eglstream-kms/client/client_platform_factory.cpp 2017-05-12 15:59:26 +0000 | |||
435 | @@ -16,11 +16,11 @@ | |||
436 | 16 | * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> | 16 | * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
437 | 17 | */ | 17 | */ |
438 | 18 | 18 | ||
440 | 19 | #include "mir/client_platform_factory.h" | 19 | #include "mir/client/client_platform_factory.h" |
441 | 20 | #include "client_platform.h" | 20 | #include "client_platform.h" |
442 | 21 | #include "mir_toolkit/client_types.h" | 21 | #include "mir_toolkit/client_types.h" |
445 | 22 | #include "mir/client_context.h" | 22 | #include "mir/client/client_context.h" |
446 | 23 | #include "mir/egl_native_display_container.h" | 23 | #include "mir/client/egl_native_display_container.h" |
447 | 24 | #include "mir/assert_module_entry_point.h" | 24 | #include "mir/assert_module_entry_point.h" |
448 | 25 | #include "mir/module_deleter.h" | 25 | #include "mir/module_deleter.h" |
449 | 26 | 26 | ||
450 | 27 | 27 | ||
451 | === modified file 'src/platforms/mesa/client/client_buffer_factory.h' | |||
452 | --- src/platforms/mesa/client/client_buffer_factory.h 2017-04-28 03:49:54 +0000 | |||
453 | +++ src/platforms/mesa/client/client_buffer_factory.h 2017-05-12 15:59:26 +0000 | |||
454 | @@ -20,7 +20,7 @@ | |||
455 | 20 | #ifndef MIR_CLIENT_MESA_CLIENT_BUFFER_FACTORY_H_ | 20 | #ifndef MIR_CLIENT_MESA_CLIENT_BUFFER_FACTORY_H_ |
456 | 21 | #define MIR_CLIENT_MESA_CLIENT_BUFFER_FACTORY_H_ | 21 | #define MIR_CLIENT_MESA_CLIENT_BUFFER_FACTORY_H_ |
457 | 22 | 22 | ||
459 | 23 | #include "mir/client_buffer_factory.h" | 23 | #include "mir/client/client_buffer_factory.h" |
460 | 24 | 24 | ||
461 | 25 | namespace mir | 25 | namespace mir |
462 | 26 | { | 26 | { |
463 | 27 | 27 | ||
464 | === modified file 'src/platforms/mesa/client/client_platform.cpp' | |||
465 | --- src/platforms/mesa/client/client_platform.cpp 2017-05-03 08:16:12 +0000 | |||
466 | +++ src/platforms/mesa/client/client_platform.cpp 2017-05-12 15:59:26 +0000 | |||
467 | @@ -21,9 +21,9 @@ | |||
468 | 21 | #include "client_buffer_factory.h" | 21 | #include "client_buffer_factory.h" |
469 | 22 | #include "mesa_native_display_container.h" | 22 | #include "mesa_native_display_container.h" |
470 | 23 | #include "native_surface.h" | 23 | #include "native_surface.h" |
474 | 24 | #include "mir/client_buffer_factory.h" | 24 | #include "mir/client/client_buffer_factory.h" |
475 | 25 | #include "mir/client_context.h" | 25 | #include "mir/client/client_context.h" |
476 | 26 | #include "mir/client_buffer.h" | 26 | #include "mir/client/client_buffer.h" |
477 | 27 | #include "mir/mir_render_surface.h" | 27 | #include "mir/mir_render_surface.h" |
478 | 28 | #include "mir/mir_buffer.h" | 28 | #include "mir/mir_buffer.h" |
479 | 29 | #include "mir/weak_egl.h" | 29 | #include "mir/weak_egl.h" |
480 | 30 | 30 | ||
481 | === modified file 'src/platforms/mesa/client/client_platform.h' | |||
482 | --- src/platforms/mesa/client/client_platform.h 2017-04-28 03:49:54 +0000 | |||
483 | +++ src/platforms/mesa/client/client_platform.h 2017-05-12 15:59:26 +0000 | |||
484 | @@ -18,7 +18,7 @@ | |||
485 | 18 | #ifndef MIR_CLIENT_MESA_CLIENT_PLATFORM_H_ | 18 | #ifndef MIR_CLIENT_MESA_CLIENT_PLATFORM_H_ |
486 | 19 | #define MIR_CLIENT_MESA_CLIENT_PLATFORM_H_ | 19 | #define MIR_CLIENT_MESA_CLIENT_PLATFORM_H_ |
487 | 20 | 20 | ||
489 | 21 | #include "mir/client_platform.h" | 21 | #include "mir/client/client_platform.h" |
490 | 22 | #include "mir_toolkit/extensions/mesa_drm_auth.h" | 22 | #include "mir_toolkit/extensions/mesa_drm_auth.h" |
491 | 23 | #include "mir_toolkit/extensions/set_gbm_device.h" | 23 | #include "mir_toolkit/extensions/set_gbm_device.h" |
492 | 24 | #include "mir_toolkit/extensions/gbm_buffer.h" | 24 | #include "mir_toolkit/extensions/gbm_buffer.h" |
493 | 25 | 25 | ||
494 | === modified file 'src/platforms/mesa/client/client_platform_factory.cpp' | |||
495 | --- src/platforms/mesa/client/client_platform_factory.cpp 2017-04-28 03:49:54 +0000 | |||
496 | +++ src/platforms/mesa/client/client_platform_factory.cpp 2017-05-12 15:59:26 +0000 | |||
497 | @@ -16,12 +16,12 @@ | |||
498 | 16 | * Authored by: Alexandros Frantzis <alexandros.frantzis@canonical.com> | 16 | * Authored by: Alexandros Frantzis <alexandros.frantzis@canonical.com> |
499 | 17 | */ | 17 | */ |
500 | 18 | 18 | ||
502 | 19 | #include "mir/client_platform_factory.h" | 19 | #include "mir/client/client_platform_factory.h" |
503 | 20 | #include "client_platform.h" | 20 | #include "client_platform.h" |
504 | 21 | #include "mir_toolkit/client_types.h" | 21 | #include "mir_toolkit/client_types.h" |
506 | 22 | #include "mir/client_context.h" | 22 | #include "mir/client/client_context.h" |
507 | 23 | #include "buffer_file_ops.h" | 23 | #include "buffer_file_ops.h" |
509 | 24 | #include "mir/egl_native_display_container.h" | 24 | #include "mir/client/egl_native_display_container.h" |
510 | 25 | #include "mir/assert_module_entry_point.h" | 25 | #include "mir/assert_module_entry_point.h" |
511 | 26 | #include "mir/module_deleter.h" | 26 | #include "mir/module_deleter.h" |
512 | 27 | 27 | ||
513 | 28 | 28 | ||
514 | === modified file 'src/platforms/mesa/client/mesa_native_display_container.cpp' | |||
515 | --- src/platforms/mesa/client/mesa_native_display_container.cpp 2015-02-22 07:46:25 +0000 | |||
516 | +++ src/platforms/mesa/client/mesa_native_display_container.cpp 2017-05-12 15:59:26 +0000 | |||
517 | @@ -18,7 +18,7 @@ | |||
518 | 18 | 18 | ||
519 | 19 | #include "mesa_native_display_container.h" | 19 | #include "mesa_native_display_container.h" |
520 | 20 | 20 | ||
522 | 21 | #include "mir/client_platform.h" | 21 | #include "mir/client/client_platform.h" |
523 | 22 | 22 | ||
524 | 23 | #include <cstring> | 23 | #include <cstring> |
525 | 24 | #include <unordered_set> | 24 | #include <unordered_set> |
526 | 25 | 25 | ||
527 | === modified file 'src/platforms/mesa/client/mesa_native_display_container.h' | |||
528 | --- src/platforms/mesa/client/mesa_native_display_container.h 2015-02-22 07:46:25 +0000 | |||
529 | +++ src/platforms/mesa/client/mesa_native_display_container.h 2017-05-12 15:59:26 +0000 | |||
530 | @@ -19,7 +19,7 @@ | |||
531 | 19 | #ifndef MIR_CLIENT_MESA_MESA_NATIVE_DISPLAY_CONTAINER_H_ | 19 | #ifndef MIR_CLIENT_MESA_MESA_NATIVE_DISPLAY_CONTAINER_H_ |
532 | 20 | #define MIR_CLIENT_MESA_MESA_NATIVE_DISPLAY_CONTAINER_H_ | 20 | #define MIR_CLIENT_MESA_MESA_NATIVE_DISPLAY_CONTAINER_H_ |
533 | 21 | 21 | ||
535 | 22 | #include "mir/egl_native_display_container.h" | 22 | #include "mir/client/egl_native_display_container.h" |
536 | 23 | 23 | ||
537 | 24 | #include "mir_toolkit/client_types.h" | 24 | #include "mir_toolkit/client_types.h" |
538 | 25 | #include "mir_toolkit/mesa/native_display.h" | 25 | #include "mir_toolkit/mesa/native_display.h" |
539 | 26 | 26 | ||
540 | === modified file 'src/platforms/mesa/client/native_surface.cpp' | |||
541 | --- src/platforms/mesa/client/native_surface.cpp 2017-04-28 03:49:54 +0000 | |||
542 | +++ src/platforms/mesa/client/native_surface.cpp 2017-05-12 15:59:26 +0000 | |||
543 | @@ -21,7 +21,7 @@ | |||
544 | 21 | #include <cstring> | 21 | #include <cstring> |
545 | 22 | 22 | ||
546 | 23 | #include "native_buffer.h" | 23 | #include "native_buffer.h" |
548 | 24 | #include "mir/client_buffer.h" | 24 | #include "mir/client/client_buffer.h" |
549 | 25 | #include "mir/uncaught.h" | 25 | #include "mir/uncaught.h" |
550 | 26 | 26 | ||
551 | 27 | #include "native_surface.h" | 27 | #include "native_surface.h" |
552 | 28 | 28 | ||
553 | === modified file 'src/platforms/mesa/client/native_surface.h' | |||
554 | --- src/platforms/mesa/client/native_surface.h 2017-04-28 03:49:54 +0000 | |||
555 | +++ src/platforms/mesa/client/native_surface.h 2017-05-12 15:59:26 +0000 | |||
556 | @@ -20,7 +20,7 @@ | |||
557 | 20 | #define MIR_CLIENT_MESA_NATIVE_SURFACES_H_ | 20 | #define MIR_CLIENT_MESA_NATIVE_SURFACES_H_ |
558 | 21 | 21 | ||
559 | 22 | #include "mir_toolkit/mesa/native_display.h" | 22 | #include "mir_toolkit/mesa/native_display.h" |
561 | 23 | #include "mir/egl_native_surface.h" | 23 | #include "mir/client/egl_native_surface.h" |
562 | 24 | 24 | ||
563 | 25 | namespace mir | 25 | namespace mir |
564 | 26 | { | 26 | { |
565 | 27 | 27 | ||
566 | === modified file 'tests/acceptance-tests/test_client_library_errors.cpp' | |||
567 | --- tests/acceptance-tests/test_client_library_errors.cpp 2017-04-28 03:49:54 +0000 | |||
568 | +++ tests/acceptance-tests/test_client_library_errors.cpp 2017-05-12 15:59:26 +0000 | |||
569 | @@ -22,9 +22,9 @@ | |||
570 | 22 | #include "mir_toolkit/mir_screencast.h" | 22 | #include "mir_toolkit/mir_screencast.h" |
571 | 23 | #include "mir_toolkit/debug/surface.h" | 23 | #include "mir_toolkit/debug/surface.h" |
572 | 24 | 24 | ||
576 | 25 | #include "src/include/client/mir/client_platform_factory.h" | 25 | #include "mir/client/client_platform_factory.h" |
577 | 26 | #include "src/include/client/mir/client_platform.h" | 26 | #include "mir/client/client_platform.h" |
578 | 27 | #include "src/include/client/mir/client_buffer_factory.h" | 27 | #include "mir/client/client_buffer_factory.h" |
579 | 28 | 28 | ||
580 | 29 | #include "mir/test/validity_matchers.h" | 29 | #include "mir/test/validity_matchers.h" |
581 | 30 | #include "mir/test/death.h" | 30 | #include "mir/test/death.h" |
582 | 31 | 31 | ||
583 | === modified file 'tests/include/mir/test/doubles/mock_client_buffer_factory.h' | |||
584 | --- tests/include/mir/test/doubles/mock_client_buffer_factory.h 2017-04-28 03:49:54 +0000 | |||
585 | +++ tests/include/mir/test/doubles/mock_client_buffer_factory.h 2017-05-12 15:59:26 +0000 | |||
586 | @@ -19,7 +19,7 @@ | |||
587 | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_FACTORY_H_ | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_FACTORY_H_ |
588 | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_FACTORY_H_ | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_BUFFER_FACTORY_H_ |
589 | 21 | 21 | ||
591 | 22 | #include "mir/client_buffer_factory.h" | 22 | #include "mir/client/client_buffer_factory.h" |
592 | 23 | 23 | ||
593 | 24 | #include <gtest/gtest.h> | 24 | #include <gtest/gtest.h> |
594 | 25 | #include <gmock/gmock.h> | 25 | #include <gmock/gmock.h> |
595 | 26 | 26 | ||
596 | === modified file 'tests/include/mir/test/doubles/mock_client_platform.h' | |||
597 | --- tests/include/mir/test/doubles/mock_client_platform.h 2017-04-13 07:00:27 +0000 | |||
598 | +++ tests/include/mir/test/doubles/mock_client_platform.h 2017-05-12 15:59:26 +0000 | |||
599 | @@ -20,8 +20,8 @@ | |||
600 | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_PLATFOM_H_ | 20 | #define MIR_TEST_DOUBLES_MOCK_CLIENT_PLATFOM_H_ |
601 | 21 | 21 | ||
602 | 22 | #include "stub_client_buffer_factory.h" | 22 | #include "stub_client_buffer_factory.h" |
605 | 23 | #include "mir/client_platform.h" | 23 | #include "mir/client/client_platform.h" |
606 | 24 | #include "mir/client_platform_factory.h" | 24 | #include "mir/client/client_platform_factory.h" |
607 | 25 | #include <gmock/gmock.h> | 25 | #include <gmock/gmock.h> |
608 | 26 | 26 | ||
609 | 27 | namespace mir | 27 | namespace mir |
610 | 28 | 28 | ||
611 | === modified file 'tests/include/mir/test/doubles/mock_mir_buffer.h' | |||
612 | --- tests/include/mir/test/doubles/mock_mir_buffer.h 2017-04-28 03:49:54 +0000 | |||
613 | +++ tests/include/mir/test/doubles/mock_mir_buffer.h 2017-05-12 15:59:26 +0000 | |||
614 | @@ -19,7 +19,7 @@ | |||
615 | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_H_ | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_H_ |
616 | 20 | #define MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_H_ | 20 | #define MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_H_ |
617 | 21 | 21 | ||
619 | 22 | #include "src/include/client/mir/mir_buffer.h" | 22 | #include "mir/mir_buffer.h" |
620 | 23 | 23 | ||
621 | 24 | #include <gtest/gtest.h> | 24 | #include <gtest/gtest.h> |
622 | 25 | #include <gmock/gmock.h> | 25 | #include <gmock/gmock.h> |
623 | 26 | 26 | ||
624 | === modified file 'tests/include/mir/test/doubles/mock_mir_buffer_stream.h' | |||
625 | --- tests/include/mir/test/doubles/mock_mir_buffer_stream.h 2017-05-08 04:12:58 +0000 | |||
626 | +++ tests/include/mir/test/doubles/mock_mir_buffer_stream.h 2017-05-12 15:59:26 +0000 | |||
627 | @@ -19,7 +19,7 @@ | |||
628 | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_STREAM_H_ | 19 | #ifndef MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_STREAM_H_ |
629 | 20 | #define MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_STREAM_H_ | 20 | #define MIR_TEST_DOUBLES_MOCK_MIR_BUFFER_STREAM_H_ |
630 | 21 | 21 | ||
632 | 22 | #include "src/include/client/mir/mir_buffer_stream.h" | 22 | #include "mir/mir_buffer_stream.h" |
633 | 23 | 23 | ||
634 | 24 | #include <gmock/gmock.h> | 24 | #include <gmock/gmock.h> |
635 | 25 | 25 | ||
636 | 26 | 26 | ||
637 | === modified file 'tests/include/mir/test/doubles/null_client_buffer.h' | |||
638 | --- tests/include/mir/test/doubles/null_client_buffer.h 2017-04-28 03:49:54 +0000 | |||
639 | +++ tests/include/mir/test/doubles/null_client_buffer.h 2017-05-12 15:59:26 +0000 | |||
640 | @@ -19,7 +19,7 @@ | |||
641 | 19 | #ifndef MIR_TEST_DOUBLES_NULL_CLIENT_BUFFER_H_ | 19 | #ifndef MIR_TEST_DOUBLES_NULL_CLIENT_BUFFER_H_ |
642 | 20 | #define MIR_TEST_DOUBLES_NULL_CLIENT_BUFFER_H_ | 20 | #define MIR_TEST_DOUBLES_NULL_CLIENT_BUFFER_H_ |
643 | 21 | 21 | ||
645 | 22 | #include "mir/client_buffer.h" | 22 | #include "mir/client/client_buffer.h" |
646 | 23 | 23 | ||
647 | 24 | namespace mir | 24 | namespace mir |
648 | 25 | { | 25 | { |
649 | 26 | 26 | ||
650 | === modified file 'tests/include/mir/test/doubles/stub_client_buffer.h' | |||
651 | --- tests/include/mir/test/doubles/stub_client_buffer.h 2017-04-28 03:49:54 +0000 | |||
652 | +++ tests/include/mir/test/doubles/stub_client_buffer.h 2017-05-12 15:59:26 +0000 | |||
653 | @@ -19,7 +19,7 @@ | |||
654 | 19 | #ifndef MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_H_ | 19 | #ifndef MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_H_ |
655 | 20 | #define MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_H_ | 20 | #define MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_H_ |
656 | 21 | 21 | ||
658 | 22 | #include "src/include/client/mir/client_buffer.h" | 22 | #include "mir/client/client_buffer.h" |
659 | 23 | #include <unistd.h> | 23 | #include <unistd.h> |
660 | 24 | 24 | ||
661 | 25 | namespace mir | 25 | namespace mir |
662 | 26 | 26 | ||
663 | === modified file 'tests/include/mir/test/doubles/stub_client_buffer_factory.h' | |||
664 | --- tests/include/mir/test/doubles/stub_client_buffer_factory.h 2017-04-28 03:49:54 +0000 | |||
665 | +++ tests/include/mir/test/doubles/stub_client_buffer_factory.h 2017-05-12 15:59:26 +0000 | |||
666 | @@ -19,7 +19,7 @@ | |||
667 | 19 | #ifndef MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_FACTORY_H_ | 19 | #ifndef MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_FACTORY_H_ |
668 | 20 | #define MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_FACTORY_H_ | 20 | #define MIR_TEST_DOUBLES_STUB_CLIENT_BUFFER_FACTORY_H_ |
669 | 21 | 21 | ||
671 | 22 | #include "src/include/client/mir/client_buffer_factory.h" | 22 | #include "mir/client/client_buffer_factory.h" |
672 | 23 | #include "stub_client_buffer.h" | 23 | #include "stub_client_buffer.h" |
673 | 24 | 24 | ||
674 | 25 | namespace mir | 25 | namespace mir |
675 | 26 | 26 | ||
676 | === modified file 'tests/include/mir/test/doubles/stub_client_platform_factory.h' | |||
677 | --- tests/include/mir/test/doubles/stub_client_platform_factory.h 2017-02-14 15:09:24 +0000 | |||
678 | +++ tests/include/mir/test/doubles/stub_client_platform_factory.h 2017-05-12 15:59:26 +0000 | |||
679 | @@ -19,7 +19,7 @@ | |||
680 | 19 | #ifndef MIR_TEST_DOUBLES_STUB_CLIENT_PLATFORM_FACTORY_H_ | 19 | #ifndef MIR_TEST_DOUBLES_STUB_CLIENT_PLATFORM_FACTORY_H_ |
681 | 20 | #define MIR_TEST_DOUBLES_STUB_CLIENT_PLATFORM_FACTORY_H_ | 20 | #define MIR_TEST_DOUBLES_STUB_CLIENT_PLATFORM_FACTORY_H_ |
682 | 21 | 21 | ||
684 | 22 | #include "mir/client_platform_factory.h" | 22 | #include "mir/client/client_platform_factory.h" |
685 | 23 | 23 | ||
686 | 24 | namespace mir | 24 | namespace mir |
687 | 25 | { | 25 | { |
688 | 26 | 26 | ||
689 | === modified file 'tests/include/mir_test_framework/client_platform_factory.h' | |||
690 | --- tests/include/mir_test_framework/client_platform_factory.h 2017-04-28 03:49:54 +0000 | |||
691 | +++ tests/include/mir_test_framework/client_platform_factory.h 2017-05-12 15:59:26 +0000 | |||
692 | @@ -21,7 +21,7 @@ | |||
693 | 21 | 21 | ||
694 | 22 | 22 | ||
695 | 23 | #include "mir/shared_library.h" | 23 | #include "mir/shared_library.h" |
697 | 24 | #include "mir/client_platform_factory.h" | 24 | #include "mir/client/client_platform_factory.h" |
698 | 25 | #include "mir_test_framework/executable_path.h" | 25 | #include "mir_test_framework/executable_path.h" |
699 | 26 | #include "mir/test/doubles/mock_client_context.h" | 26 | #include "mir/test/doubles/mock_client_context.h" |
700 | 27 | 27 | ||
701 | 28 | 28 | ||
702 | === modified file 'tests/include/mir_test_framework/stub_client_platform_factory.h' | |||
703 | --- tests/include/mir_test_framework/stub_client_platform_factory.h 2017-04-28 03:49:54 +0000 | |||
704 | +++ tests/include/mir_test_framework/stub_client_platform_factory.h 2017-05-12 15:59:26 +0000 | |||
705 | @@ -19,8 +19,8 @@ | |||
706 | 19 | #ifndef MIR_TEST_FRAMEWORK_STUB_CLIENT_PLATFORM_FACTORY_ | 19 | #ifndef MIR_TEST_FRAMEWORK_STUB_CLIENT_PLATFORM_FACTORY_ |
707 | 20 | #define MIR_TEST_FRAMEWORK_STUB_CLIENT_PLATFORM_FACTORY_ | 20 | #define MIR_TEST_FRAMEWORK_STUB_CLIENT_PLATFORM_FACTORY_ |
708 | 21 | 21 | ||
711 | 22 | #include "mir/client_platform_factory.h" | 22 | #include "mir/client/client_platform_factory.h" |
712 | 23 | #include "mir/client_platform.h" | 23 | #include "mir/client/client_platform.h" |
713 | 24 | #include "mir_toolkit/mir_native_buffer.h" | 24 | #include "mir_toolkit/mir_native_buffer.h" |
714 | 25 | #include "mir_toolkit/extensions/fenced_buffers.h" | 25 | #include "mir_toolkit/extensions/fenced_buffers.h" |
715 | 26 | #include "mir_toolkit/extensions/gbm_buffer.h" | 26 | #include "mir_toolkit/extensions/gbm_buffer.h" |
716 | 27 | 27 | ||
717 | === modified file 'tests/mir_test_doubles/mock_egl.cpp' | |||
718 | --- tests/mir_test_doubles/mock_egl.cpp 2017-04-28 03:49:54 +0000 | |||
719 | +++ tests/mir_test_doubles/mock_egl.cpp 2017-05-12 15:59:26 +0000 | |||
720 | @@ -18,7 +18,7 @@ | |||
721 | 18 | * Kevin DuBois <kevin.dubois@canonical.com> | 18 | * Kevin DuBois <kevin.dubois@canonical.com> |
722 | 19 | */ | 19 | */ |
723 | 20 | 20 | ||
725 | 21 | #include "mir/egl_native_surface.h" | 21 | #include "mir/client/egl_native_surface.h" |
726 | 22 | 22 | ||
727 | 23 | #include "mir/test/doubles/mock_egl.h" | 23 | #include "mir/test/doubles/mock_egl.h" |
728 | 24 | #include <gtest/gtest.h> | 24 | #include <gtest/gtest.h> |
729 | 25 | 25 | ||
730 | === modified file 'tests/mir_test_framework/stub_client_platform_factory.cpp' | |||
731 | --- tests/mir_test_framework/stub_client_platform_factory.cpp 2017-04-28 03:49:54 +0000 | |||
732 | +++ tests/mir_test_framework/stub_client_platform_factory.cpp 2017-05-12 15:59:26 +0000 | |||
733 | @@ -18,9 +18,9 @@ | |||
734 | 18 | 18 | ||
735 | 19 | #include "mir_test_framework/stub_client_platform_factory.h" | 19 | #include "mir_test_framework/stub_client_platform_factory.h" |
736 | 20 | #include "mir/test/doubles/stub_client_buffer_factory.h" | 20 | #include "mir/test/doubles/stub_client_buffer_factory.h" |
740 | 21 | #include "mir/client_buffer_factory.h" | 21 | #include "mir/client/client_buffer_factory.h" |
741 | 22 | #include "mir/client_buffer.h" | 22 | #include "mir/client/client_buffer.h" |
742 | 23 | #include "mir/client_context.h" | 23 | #include "mir/client/client_context.h" |
743 | 24 | #include "mir_test_framework/stub_platform_native_buffer.h" | 24 | #include "mir_test_framework/stub_platform_native_buffer.h" |
744 | 25 | #include "mir_test_framework/stub_platform_extension.h" | 25 | #include "mir_test_framework/stub_platform_extension.h" |
745 | 26 | #include "mir_toolkit/mir_native_buffer.h" | 26 | #include "mir_toolkit/mir_native_buffer.h" |
746 | 27 | 27 | ||
747 | === modified file 'tests/mir_test_framework/stub_client_platform_module.cpp' | |||
748 | --- tests/mir_test_framework/stub_client_platform_module.cpp 2017-04-28 03:49:54 +0000 | |||
749 | +++ tests/mir_test_framework/stub_client_platform_module.cpp 2017-05-12 15:59:26 +0000 | |||
750 | @@ -16,8 +16,8 @@ | |||
751 | 16 | * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>> | 16 | * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>> |
752 | 17 | */ | 17 | */ |
753 | 18 | 18 | ||
756 | 19 | #include "src/include/client/mir/client_platform_factory.h" | 19 | #include "mir/client/client_platform_factory.h" |
757 | 20 | #include "src/include/client/mir/client_context.h" | 20 | #include "mir/client/client_context.h" |
758 | 21 | 21 | ||
759 | 22 | #include "mir_test_framework/stub_client_platform_factory.h" | 22 | #include "mir_test_framework/stub_client_platform_factory.h" |
760 | 23 | #include "mir_test_framework/stub_platform_helpers.h" | 23 | #include "mir_test_framework/stub_platform_helpers.h" |
761 | 24 | 24 | ||
762 | === modified file 'tests/unit-tests/client/test_buffer_vault.cpp' | |||
763 | --- tests/unit-tests/client/test_buffer_vault.cpp 2017-04-28 03:49:54 +0000 | |||
764 | +++ tests/unit-tests/client/test_buffer_vault.cpp 2017-05-12 15:59:26 +0000 | |||
765 | @@ -20,7 +20,7 @@ | |||
766 | 20 | #include "src/client/buffer_vault.h" | 20 | #include "src/client/buffer_vault.h" |
767 | 21 | #include "src/client/buffer_factory.h" | 21 | #include "src/client/buffer_factory.h" |
768 | 22 | #include "src/client/connection_surface_map.h" | 22 | #include "src/client/connection_surface_map.h" |
770 | 23 | #include "mir/client_buffer_factory.h" | 23 | #include "mir/client/client_buffer_factory.h" |
771 | 24 | #include "mir/aging_buffer.h" | 24 | #include "mir/aging_buffer.h" |
772 | 25 | #include "mir_toolkit/common.h" | 25 | #include "mir_toolkit/common.h" |
773 | 26 | #include "mir/geometry/size.h" | 26 | #include "mir/geometry/size.h" |
774 | 27 | 27 | ||
775 | === modified file 'tests/unit-tests/client/test_client_buffer_stream.cpp' | |||
776 | --- tests/unit-tests/client/test_client_buffer_stream.cpp 2017-04-28 03:49:54 +0000 | |||
777 | +++ tests/unit-tests/client/test_client_buffer_stream.cpp 2017-05-12 15:59:26 +0000 | |||
778 | @@ -23,7 +23,7 @@ | |||
779 | 23 | #include "src/client/buffer_factory.h" | 23 | #include "src/client/buffer_factory.h" |
780 | 24 | #include "src/client/protobuf_to_native_buffer.h" | 24 | #include "src/client/protobuf_to_native_buffer.h" |
781 | 25 | 25 | ||
783 | 26 | #include "mir/client_platform.h" | 26 | #include "mir/client/client_platform.h" |
784 | 27 | 27 | ||
785 | 28 | #include "mir/test/doubles/null_client_buffer.h" | 28 | #include "mir/test/doubles/null_client_buffer.h" |
786 | 29 | #include "mir/test/doubles/mock_client_buffer_factory.h" | 29 | #include "mir/test/doubles/mock_client_buffer_factory.h" |
787 | 30 | 30 | ||
788 | === modified file 'tests/unit-tests/client/test_client_mir_surface.cpp' | |||
789 | --- tests/unit-tests/client/test_client_mir_surface.cpp 2017-04-28 03:49:54 +0000 | |||
790 | +++ tests/unit-tests/client/test_client_mir_surface.cpp 2017-05-12 15:59:26 +0000 | |||
791 | @@ -22,10 +22,10 @@ | |||
792 | 22 | 22 | ||
793 | 23 | #include "mir_protobuf.pb.h" | 23 | #include "mir_protobuf.pb.h" |
794 | 24 | #include "mir_toolkit/mir_client_library.h" | 24 | #include "mir_toolkit/mir_client_library.h" |
799 | 25 | #include "mir/client_buffer.h" | 25 | #include "mir/client/client_buffer.h" |
800 | 26 | #include "mir/client_buffer_factory.h" | 26 | #include "mir/client/client_buffer_factory.h" |
801 | 27 | #include "mir/client_platform.h" | 27 | #include "mir/client/client_platform.h" |
802 | 28 | #include "mir/client_platform_factory.h" | 28 | #include "mir/client/client_platform_factory.h" |
803 | 29 | #include "src/client/mir_surface.h" | 29 | #include "src/client/mir_surface.h" |
804 | 30 | #include "src/client/mir_connection.h" | 30 | #include "src/client/mir_connection.h" |
805 | 31 | #include "src/client/default_connection_configuration.h" | 31 | #include "src/client/default_connection_configuration.h" |
806 | 32 | 32 | ||
807 | === modified file 'tests/unit-tests/client/test_client_platform.cpp' | |||
808 | --- tests/unit-tests/client/test_client_platform.cpp 2017-04-28 03:49:54 +0000 | |||
809 | +++ tests/unit-tests/client/test_client_platform.cpp 2017-05-12 15:59:26 +0000 | |||
810 | @@ -16,15 +16,15 @@ | |||
811 | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> | 16 | * Authored by: Kevin DuBois <kevin.dubois@canonical.com> |
812 | 17 | */ | 17 | */ |
813 | 18 | 18 | ||
816 | 19 | #include "mir/client_platform.h" | 19 | #include "mir/client/client_platform.h" |
817 | 20 | #include "mir/egl_native_surface.h" | 20 | #include "mir/client/egl_native_surface.h" |
818 | 21 | 21 | ||
819 | 22 | #include "mir/test/doubles/mock_client_context.h" | 22 | #include "mir/test/doubles/mock_client_context.h" |
820 | 23 | #include "mir/test/doubles/mock_egl_native_surface.h" | 23 | #include "mir/test/doubles/mock_egl_native_surface.h" |
821 | 24 | #include "mir_test_framework/executable_path.h" | 24 | #include "mir_test_framework/executable_path.h" |
822 | 25 | #include "mir_test_framework/stub_platform_helpers.h" | 25 | #include "mir_test_framework/stub_platform_helpers.h" |
823 | 26 | 26 | ||
825 | 27 | #include "mir/client_platform_factory.h" | 27 | #include "mir/client/client_platform_factory.h" |
826 | 28 | 28 | ||
827 | 29 | #include "mir/shared_library.h" | 29 | #include "mir/shared_library.h" |
828 | 30 | 30 | ||
829 | 31 | 31 | ||
830 | === modified file 'tests/unit-tests/client/test_mir_connection.cpp' | |||
831 | --- tests/unit-tests/client/test_mir_connection.cpp 2017-04-28 03:49:54 +0000 | |||
832 | +++ tests/unit-tests/client/test_mir_connection.cpp 2017-05-12 15:59:26 +0000 | |||
833 | @@ -25,9 +25,9 @@ | |||
834 | 25 | #include "src/client/connection_surface_map.h" | 25 | #include "src/client/connection_surface_map.h" |
835 | 26 | #include "src/client/presentation_chain.h" | 26 | #include "src/client/presentation_chain.h" |
836 | 27 | 27 | ||
840 | 28 | #include "mir/client_platform.h" | 28 | #include "mir/client/client_platform.h" |
841 | 29 | #include "mir/client_platform_factory.h" | 29 | #include "mir/client/client_platform_factory.h" |
842 | 30 | #include "mir/client_buffer_factory.h" | 30 | #include "mir/client/client_buffer_factory.h" |
843 | 31 | #include "mir/raii.h" | 31 | #include "mir/raii.h" |
844 | 32 | #include "mir/dispatch/dispatchable.h" | 32 | #include "mir/dispatch/dispatchable.h" |
845 | 33 | #include "mir/events/event_builders.h" | 33 | #include "mir/events/event_builders.h" |
846 | 34 | 34 | ||
847 | === modified file 'tests/unit-tests/client/test_mir_render_surface.cpp' | |||
848 | --- tests/unit-tests/client/test_mir_render_surface.cpp 2017-04-28 03:49:54 +0000 | |||
849 | +++ tests/unit-tests/client/test_mir_render_surface.cpp 2017-05-12 15:59:26 +0000 | |||
850 | @@ -23,7 +23,7 @@ | |||
851 | 23 | #include "src/client/connection_surface_map.h" | 23 | #include "src/client/connection_surface_map.h" |
852 | 24 | #include "src/client/mir_wait_handle.h" | 24 | #include "src/client/mir_wait_handle.h" |
853 | 25 | 25 | ||
855 | 26 | #include "mir/client_platform_factory.h" | 26 | #include "mir/client/client_platform_factory.h" |
856 | 27 | #include "mir/dispatch/dispatchable.h" | 27 | #include "mir/dispatch/dispatchable.h" |
857 | 28 | 28 | ||
858 | 29 | #include "mir/test/fake_shared.h" | 29 | #include "mir/test/fake_shared.h" |
859 | 30 | 30 | ||
860 | === modified file 'tests/unit-tests/client/test_mir_screencast.cpp' | |||
861 | --- tests/unit-tests/client/test_mir_screencast.cpp 2017-04-28 03:49:54 +0000 | |||
862 | +++ tests/unit-tests/client/test_mir_screencast.cpp 2017-05-12 15:59:26 +0000 | |||
863 | @@ -19,8 +19,8 @@ | |||
864 | 19 | #include "src/client/mir_screencast.h" | 19 | #include "src/client/mir_screencast.h" |
865 | 20 | #include "src/client/rpc/mir_display_server.h" | 20 | #include "src/client/rpc/mir_display_server.h" |
866 | 21 | 21 | ||
869 | 22 | #include "mir/client_buffer_factory.h" | 22 | #include "mir/client/client_buffer_factory.h" |
870 | 23 | #include "mir/client_platform.h" | 23 | #include "mir/client/client_platform.h" |
871 | 24 | 24 | ||
872 | 25 | #include "mir/test/doubles/mock_mir_buffer_stream.h" | 25 | #include "mir/test/doubles/mock_mir_buffer_stream.h" |
873 | 26 | #include "mir/test/doubles/null_client_buffer.h" | 26 | #include "mir/test/doubles/null_client_buffer.h" |
874 | 27 | 27 | ||
875 | === modified file 'tests/unit-tests/client/test_presentation_chain.cpp' | |||
876 | --- tests/unit-tests/client/test_presentation_chain.cpp 2017-04-28 03:49:54 +0000 | |||
877 | +++ tests/unit-tests/client/test_presentation_chain.cpp 2017-05-12 15:59:26 +0000 | |||
878 | @@ -22,7 +22,7 @@ | |||
879 | 22 | #include "mir/test/fake_shared.h" | 22 | #include "mir/test/fake_shared.h" |
880 | 23 | #include "src/client/presentation_chain.h" | 23 | #include "src/client/presentation_chain.h" |
881 | 24 | #include "src/client/buffer_factory.h" | 24 | #include "src/client/buffer_factory.h" |
883 | 25 | #include "mir/client_buffer_factory.h" | 25 | #include "mir/client/client_buffer_factory.h" |
884 | 26 | 26 | ||
885 | 27 | #include <mutex> | 27 | #include <mutex> |
886 | 28 | #include <condition_variable> | 28 | #include <condition_variable> |
887 | 29 | 29 | ||
888 | === modified file 'tests/unit-tests/client/test_probing_client_platform_factory.cpp' | |||
889 | --- tests/unit-tests/client/test_probing_client_platform_factory.cpp 2017-04-28 03:49:54 +0000 | |||
890 | +++ tests/unit-tests/client/test_probing_client_platform_factory.cpp 2017-05-12 15:59:26 +0000 | |||
891 | @@ -16,7 +16,7 @@ | |||
892 | 16 | * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> | 16 | * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
893 | 17 | */ | 17 | */ |
894 | 18 | 18 | ||
896 | 19 | #include "mir/client_platform.h" | 19 | #include "mir/client/client_platform.h" |
897 | 20 | #include "src/client/probing_client_platform_factory.h" | 20 | #include "src/client/probing_client_platform_factory.h" |
898 | 21 | #include "src/server/report/null_report_factory.h" | 21 | #include "src/server/report/null_report_factory.h" |
899 | 22 | 22 | ||
900 | 23 | 23 | ||
901 | === modified file 'tests/unit-tests/client/test_screencast_stream.cpp' | |||
902 | --- tests/unit-tests/client/test_screencast_stream.cpp 2017-04-28 03:49:54 +0000 | |||
903 | +++ tests/unit-tests/client/test_screencast_stream.cpp 2017-05-12 15:59:26 +0000 | |||
904 | @@ -17,7 +17,7 @@ | |||
905 | 17 | */ | 17 | */ |
906 | 18 | 18 | ||
907 | 19 | #include "src/client/screencast_stream.h" | 19 | #include "src/client/screencast_stream.h" |
909 | 20 | #include "mir/client_platform.h" | 20 | #include "mir/client/client_platform.h" |
910 | 21 | #include "mir/test/doubles/null_client_buffer.h" | 21 | #include "mir/test/doubles/null_client_buffer.h" |
911 | 22 | #include "mir/test/doubles/mock_client_buffer_factory.h" | 22 | #include "mir/test/doubles/mock_client_buffer_factory.h" |
912 | 23 | #include "mir/test/doubles/mock_protobuf_server.h" | 23 | #include "mir/test/doubles/mock_protobuf_server.h" |
913 | 24 | 24 | ||
914 | === modified file 'tests/unit-tests/platforms/mesa/client/test_client_platform.cpp' | |||
915 | --- tests/unit-tests/platforms/mesa/client/test_client_platform.cpp 2017-04-28 03:49:54 +0000 | |||
916 | +++ tests/unit-tests/platforms/mesa/client/test_client_platform.cpp 2017-05-12 15:59:26 +0000 | |||
917 | @@ -16,7 +16,7 @@ | |||
918 | 16 | * Authored by: Alexandros Frantzis <alexandros.frantzis@canonical.com> | 16 | * Authored by: Alexandros Frantzis <alexandros.frantzis@canonical.com> |
919 | 17 | */ | 17 | */ |
920 | 18 | 18 | ||
922 | 19 | #include "mir/client_platform.h" | 19 | #include "mir/client/client_platform.h" |
923 | 20 | #include "mir/shared_library.h" | 20 | #include "mir/shared_library.h" |
924 | 21 | #include "mir/raii.h" | 21 | #include "mir/raii.h" |
925 | 22 | #include "src/platforms/mesa/client/buffer_file_ops.h" | 22 | #include "src/platforms/mesa/client/buffer_file_ops.h" |
926 | 23 | 23 | ||
927 | === modified file 'tests/unit-tests/platforms/mesa/client/test_native_surface.cpp' | |||
928 | --- tests/unit-tests/platforms/mesa/client/test_native_surface.cpp 2017-04-28 03:49:54 +0000 | |||
929 | +++ tests/unit-tests/platforms/mesa/client/test_native_surface.cpp 2017-05-12 15:59:26 +0000 | |||
930 | @@ -18,7 +18,7 @@ | |||
931 | 18 | 18 | ||
932 | 19 | #include "src/platforms/mesa/include/native_buffer.h" | 19 | #include "src/platforms/mesa/include/native_buffer.h" |
933 | 20 | #include "src/platforms/mesa/client/native_surface.h" | 20 | #include "src/platforms/mesa/client/native_surface.h" |
935 | 21 | #include "mir/client_buffer.h" | 21 | #include "mir/client/client_buffer.h" |
936 | 22 | #include "mir/test/doubles/mock_egl_native_surface.h" | 22 | #include "mir/test/doubles/mock_egl_native_surface.h" |
937 | 23 | #include "mir/test/doubles/mock_client_buffer.h" | 23 | #include "mir/test/doubles/mock_client_buffer.h" |
938 | 24 | #include "mir/test/fake_shared.h" | 24 | #include "mir/test/fake_shared.h" |
I tested that MP with the code in https:/ /launchpad. net/mir- android- platform