Server backend (mirplatformgraphics) is not dynamically loadable and switchable
Bug #1118909 reported by
Daniel van Vugt
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alan Griffiths |
Bug Description
The server backend (mirplatformgra
This will be required to support multiple graphics technologies such as:
- Proprietary graphics drivers
- Software rendering (bug 1118903)
- Virtual rendering (like rendering Mir into a window)
All in a single server library binary.
Related branches
lp:~raof/mir/separate-graphics-buffer-and-display
On hold
for merging
into
lp:~mir-team/mir/trunk
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Kevin DuBois (community): Needs Fixing
- Robert Ancell: Approve
-
Diff: 1083 lines (+247/-123)60 files modifiedinclude/test/mir_test_doubles/mock_alloc_adaptor.h (+2/-2)
include/test/mir_test_doubles/mock_android_buffer.h (+1/-1)
include/test/mir_test_doubles/mock_android_framebuffer_window.h (+1/-1)
include/test/mir_test_doubles/mock_display_support_provider.h (+1/-1)
include/test/mir_test_doubles/mock_hwc_interface.h (+1/-1)
include/test/mir_test_doubles/mock_hwc_organizer.h (+1/-1)
include/test/mir_test_doubles/null_virtual_terminal.h (+1/-1)
src/server/CMakeLists.txt (+3/-1)
src/server/graphics/CMakeLists.txt (+20/-0)
src/server/platform/CMakeLists.txt (+29/-17)
src/server/platform/android_platform.cpp (+5/-5)
src/server/platform/display/CMakeLists.txt (+35/-0)
src/server/platform/display/android/CMakeLists.txt (+5/-7)
src/server/platform/display/android/default_framebuffer_factory.cpp (+1/-1)
src/server/platform/display/android/fb_device.cpp (+2/-2)
src/server/platform/display/android/hwc_layerlist.cpp (+1/-1)
src/server/platform/display/android/server_render_window.cpp (+2/-2)
src/server/platform/display/gbm/CMakeLists.txt (+4/-5)
src/server/platform/display/gbm/gbm_display.cpp (+1/-1)
src/server/platform/display/gbm/gbm_display_buffer.cpp (+1/-1)
src/server/platform/egl/CMakeLists.txt (+4/-4)
src/server/platform/gbm_platform.cpp (+3/-3)
src/server/platform/gbm_platform.h (+1/-1)
src/server/platform/graphics_buffer/CMakeLists.txt (+8/-0)
src/server/platform/graphics_buffer/android/CMakeLists.txt (+22/-0)
src/server/platform/graphics_buffer/gbm/CMakeLists.txt (+28/-0)
src/server/platform/graphics_buffer/gbm/gbm_buffer_allocator.cpp (+1/-1)
tests/integration-tests/client/test_client_render.cpp (+2/-2)
tests/integration-tests/graphics/android/test_buffer_integration.cpp (+1/-1)
tests/integration-tests/graphics/android/test_display_integration.cpp (+8/-8)
tests/integration-tests/graphics/gbm/test_buffer_integration.cpp (+3/-3)
tests/unit-tests/graphics/android/test_android_alloc_adaptor.cpp (+1/-1)
tests/unit-tests/graphics/android/test_android_alloc_adaptor_native_win.cpp (+1/-1)
tests/unit-tests/graphics/android/test_android_buffer_allocator.cpp (+1/-1)
tests/unit-tests/graphics/android/test_android_display_factory.cpp (+7/-7)
tests/unit-tests/graphics/android/test_android_fb.cpp (+2/-2)
tests/unit-tests/graphics/android/test_android_framebuffer_window.cpp (+1/-1)
tests/unit-tests/graphics/android/test_buffer.cpp (+1/-1)
tests/unit-tests/graphics/android/test_buffer_tex_bind.cpp (+1/-1)
tests/unit-tests/graphics/android/test_fb_device.cpp (+1/-1)
tests/unit-tests/graphics/android/test_fb_simple_swapper.cpp (+1/-1)
tests/unit-tests/graphics/android/test_framebuffer_factory.cpp (+3/-3)
tests/unit-tests/graphics/android/test_gpu_display.cpp (+1/-1)
tests/unit-tests/graphics/android/test_hwc10_device.cpp (+1/-1)
tests/unit-tests/graphics/android/test_hwc11_device.cpp (+2/-2)
tests/unit-tests/graphics/android/test_hwc_device.cpp (+3/-3)
tests/unit-tests/graphics/android/test_hwc_display.cpp (+1/-1)
tests/unit-tests/graphics/android/test_hwc_layerlist.cpp (+1/-1)
tests/unit-tests/graphics/android/test_pixel_format.cpp (+1/-1)
tests/unit-tests/graphics/android/test_server_interpreter.cpp (+2/-2)
tests/unit-tests/graphics/gbm/test_gbm_buffer.cpp (+3/-3)
tests/unit-tests/graphics/gbm/test_gbm_buffer_allocator.cpp (+2/-2)
tests/unit-tests/graphics/gbm/test_gbm_display.cpp (+3/-3)
tests/unit-tests/graphics/gbm/test_gbm_display_configuration.cpp (+2/-2)
tests/unit-tests/graphics/gbm/test_gbm_display_multi_monitor.cpp (+1/-1)
tests/unit-tests/graphics/gbm/test_gbm_platform.cpp (+1/-1)
tests/unit-tests/graphics/gbm/test_kms_output.cpp (+2/-2)
tests/unit-tests/graphics/gbm/test_kms_page_flipper.cpp (+1/-1)
tests/unit-tests/graphics/gbm/test_linux_virtual_terminal.cpp (+1/-1)
tests/unit-tests/graphics/test_graphics_platform.cpp (+1/-1)
lp:~alan-griffiths/mir/configurable-graphicsplatform
- Kevin DuBois (community): Approve
- Robert Carr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 73 lines (+29/-2)1 file modifiedsrc/server/default_server_configuration.cpp (+29/-2)
Changed in mir: | |
importance: | Undecided → High |
summary: |
- Server backend (mirplatformgraphics) should be dynamically loadable and + Server backend (mirplatformgraphics) is not dynamically loadable and switchable |
information type: | Proprietary → Public |
Changed in mir: | |
assignee: | nobody → Chris Halse Rogers (raof) |
status: | Confirmed → In Progress |
milestone: | none → 0.0.3 |
Changed in mir: | |
assignee: | Chris Halse Rogers (raof) → Alan Griffiths (alan-griffiths) |
Changed in mir: | |
milestone: | 0.0.3 → 0.0.5 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've been thinking the same thing ever since it was bundled into one big .so