Merge lp://qastaging/~cemil-azizoglu/mir/add-create-module-context-fn into lp://qastaging/mir
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~cemil-azizoglu/mir/add-create-module-context-fn |
Merge into: | lp://qastaging/mir |
Prerequisite: | lp://qastaging/~cemil-azizoglu/mir/mir-on-x-configure |
Diff against target: |
510 lines (+127/-39) 23 files modified
include/platform/mir/graphics/platform.h (+12/-4) include/platform/mir/input/platform.h (+6/-2) src/platforms/android/server/platform.cpp (+9/-2) src/platforms/android/server/symbols.map (+5/-0) src/platforms/mesa/server/kms/guest_platform.cpp (+2/-1) src/platforms/mesa/server/kms/platform.cpp (+7/-1) src/platforms/mesa/server/kms/symbols.map (+5/-0) src/platforms/mesa/server/x11/CMakeLists.txt (+7/-0) src/platforms/mesa/server/x11/X11_resources.cpp (+11/-0) src/platforms/mesa/server/x11/graphics/CMakeLists.txt (+2/-9) src/platforms/mesa/server/x11/graphics/graphics.cpp (+7/-6) src/platforms/mesa/server/x11/input/CMakeLists.txt (+1/-1) src/platforms/mesa/server/x11/input/input.cpp (+5/-4) src/platforms/mesa/server/x11/symbols.map (+5/-0) src/server/graphics/default_configuration.cpp (+7/-2) src/server/input/default_configuration.cpp (+5/-1) tests/integration-tests/graphics/mesa/test_buffer_integration.cpp (+2/-1) tests/mir_test_doubles/platform_factory.cpp (+2/-1) tests/mir_test_framework/stub_input.cpp (+7/-1) tests/mir_test_framework/stubbed_graphics_platform.cpp (+9/-2) tests/mir_test_framework/symbols-server.map (+5/-0) tests/mir_test_framework/symbols-stub-input.map (+5/-0) tests/unit-tests/graphics/android/test_platform.cpp (+1/-1) |
To merge this branch: | bzr merge lp://qastaging/~cemil-azizoglu/mir/add-create-module-context-fn |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Alan Griffiths | Needs Information | ||
Alexandros Frantzis (community) | Needs Fixing | ||
Review via email:
|
Commit message
Add create_
Description of the change
Add create_
- Both graphics and input platforms would have this function.
- If both graphics and input platforms are compiled into the same so, there will be one implementation.
- The function is called before creating a graphics and/or input platform.
- The context created is opaque outside the platform layer.
- The context obtained will then be provided to APIs such as create_
- This facilitates the X11 related assets to be created once and be used for input as well as graphics.
Unmerged revisions
- 2842. By Cemil Azizoglu
-
create_
module_ context --> get_module_context
CreateModuleContext --> GetModuleContext - 2841. By Cemil Azizoglu
-
merge prereq
- 2840. By Cemil Azizoglu
-
Move create_
module_ context function to the main dir of x platform - 2839. By Cemil Azizoglu
-
merge prereq
- 2838. By Cemil Azizoglu
-
merge trunk
- 2837. By Cemil Azizoglu
-
Fix android build
- 2836. By Cemil Azizoglu
-
Add create_
module_ context( ) to platforms - 2835. By Cemil Azizoglu
-
merge trunk
Also platform ABI, graphics ABI and input ABI need to be bumped. Will bump separately.