Mir

Merge lp://qastaging/~raof/mir/check-for-surfaceless into lp://qastaging/mir/0.1

Proposed by Chris Halse Rogers
Status: Superseded
Proposed branch: lp://qastaging/~raof/mir/check-for-surfaceless
Merge into: lp://qastaging/mir/0.1
Diff against target: 23061 lines (+4291/-3934)
464 files modified
CMakeLists.txt (+5/-5)
cmake/MirCommon.cmake (+8/-1)
debian/control (+2/-2)
debian/libmirserver12.install (+1/-1)
debian/mir-test-tools.install (+3/-0)
debian/rules (+1/-4)
examples/demo-inprocess-surface-client/inprocess_egl_client.cpp (+1/-1)
examples/demo-shell/window_manager.cpp (+6/-2)
examples/eglapp.c (+18/-20)
examples/fingerpaint.c (+12/-0)
examples/render_surfaces.cpp (+6/-3)
include/client/mir_toolkit/mir_client_library.h (+17/-17)
include/client/mir_toolkit/mir_client_library_debug.h (+1/-1)
include/platform/mir/graphics/buffer.h (+2/-2)
include/platform/mir/graphics/buffer_properties.h (+4/-4)
include/platform/mir/graphics/display_configuration.h (+1/-2)
include/platform/mir/graphics/graphic_buffer_allocator.h (+1/-1)
include/platform/mir/graphics/internal_surface.h (+1/-1)
include/server/mir/compositor/buffer_stream.h (+3/-3)
include/server/mir/compositor/compositing_criteria.h (+1/-1)
include/server/mir/default_server_configuration.h (+2/-5)
include/server/mir/frontend/message_processor_report.h (+1/-1)
include/server/mir/frontend/null_message_processor_report.h (+1/-1)
include/server/mir/frontend/session_authorizer.h (+1/-1)
include/server/mir/frontend/surface.h (+2/-3)
include/server/mir/input/input_configuration.h (+1/-1)
include/server/mir/input/input_report.h (+2/-2)
include/server/mir/input/null_input_report.h (+1/-1)
include/server/mir/input/surface.h (+2/-2)
include/server/mir/logging/input_report.h (+2/-2)
include/server/mir/lttng/input_report.h (+2/-2)
include/server/mir/scene/input_registrar.h (+1/-1)
include/server/mir/shell/input_targeter.h (+1/-1)
include/server/mir/shell/session_listener.h (+1/-1)
include/server/mir/shell/surface.h (+2/-2)
include/server/mir/shell/surface_configurator.h (+1/-1)
include/server/mir/shell/surface_creation_parameters.h (+6/-6)
include/shared/mir/geometry/pixel_format.h (+0/-54)
include/shared/mir/geometry/rectangle.h (+1/-1)
include/shared/mir/graphics/android/android_driver_interpreter.h (+1/-1)
include/shared/mir/graphics/android/mir_native_window.h (+1/-1)
include/shared/mir/graphics/android/native_buffer.h (+2/-2)
include/shared/mir/input/android/android_input_lexicon.h (+1/-1)
include/shared/mir/input/input_platform.h (+1/-1)
include/shared/mir/input/xkb_mapper.h (+1/-1)
include/shared/mir_toolkit/client_types.h (+11/-25)
include/shared/mir_toolkit/common.h (+24/-0)
include/shared/mir_toolkit/event.h (+13/-2)
include/shared/mir_toolkit/mir_native_buffer.h (+1/-1)
include/test/gmock_set_arg.h (+57/-0)
include/test/mir_test/draw/draw_pattern_checkered-inl.h (+5/-6)
include/test/mir_test/fake_event_hub_input_configuration.h (+1/-1)
include/test/mir_test_doubles/mock_alloc_adaptor.h (+3/-3)
include/test/mir_test_doubles/mock_android_native_buffer.h (+1/-1)
include/test/mir_test_doubles/mock_android_registrar.h (+1/-1)
include/test/mir_test_doubles/mock_buffer.h (+2/-2)
include/test/mir_test_doubles/mock_buffer_bundle.h (+2/-2)
include/test/mir_test_doubles/mock_buffer_stream.h (+2/-2)
include/test/mir_test_doubles/mock_display_device.h (+2/-2)
include/test/mir_test_doubles/mock_egl.h (+0/-1)
include/test/mir_test_doubles/mock_fb_hal_device.h (+15/-6)
include/test/mir_test_doubles/mock_framebuffer_bundle.h (+2/-2)
include/test/mir_test_doubles/mock_frontend_surface.h (+2/-2)
include/test/mir_test_doubles/mock_hwc_composer_device_1.h (+2/-2)
include/test/mir_test_doubles/mock_hwc_layerlist.h (+1/-1)
include/test/mir_test_doubles/mock_hwc_vsync_coordinator.h (+1/-1)
include/test/mir_test_doubles/mock_input_dispatcher.h (+1/-1)
include/test/mir_test_doubles/mock_input_surface.h (+1/-1)
include/test/mir_test_doubles/mock_interpreter_resource_cache.h (+1/-1)
include/test/mir_test_doubles/mock_session_listener.h (+1/-1)
include/test/mir_test_doubles/mock_shell_session.h (+1/-1)
include/test/mir_test_doubles/mock_surface.h (+4/-4)
include/test/mir_test_doubles/mock_surface_ranker.h (+5/-5)
include/test/mir_test_doubles/mock_surface_renderer.h (+2/-4)
include/test/mir_test_doubles/null_video_devices.h (+2/-2)
include/test/mir_test_doubles/null_virtual_terminal.h (+2/-2)
include/test/mir_test_doubles/stub_buffer.h (+3/-3)
include/test/mir_test_doubles/stub_buffer_allocator.h (+1/-1)
include/test/mir_test_doubles/stub_buffer_stream.h (+29/-31)
include/test/mir_test_doubles/stub_display_builder.h (+4/-4)
include/test/mir_test_doubles/stub_display_configuration.h (+7/-7)
include/test/mir_test_doubles/stub_display_device.h (+3/-3)
include/test/mir_test_doubles/stub_driver_interpreter.h (+1/-1)
include/test/mir_test_doubles/stub_shell_session.h (+1/-1)
include/test/mir_test_doubles/stub_surface.h (+0/-74)
include/test/mir_test_doubles/stub_surface_builder.h (+3/-3)
include/test/mir_test_doubles/stub_surface_ranker.h (+5/-5)
include/test/mir_test_framework/cross_process_sync.h (+1/-1)
include/test/mir_test_framework/input_testing_client_configuration.h (+67/-0)
include/test/mir_test_framework/input_testing_server_configuration.h (+2/-2)
include/test/mir_test_framework/testing_client_configuration.h (+1/-1)
native-compile.sh (+3/-3)
src/client/CMakeLists.txt (+6/-6)
src/client/aging_buffer.h (+0/-1)
src/client/android/android_client_buffer.cpp (+3/-3)
src/client/android/android_client_buffer.h (+3/-3)
src/client/android/android_client_buffer_factory.cpp (+1/-1)
src/client/android/android_client_buffer_factory.h (+2/-2)
src/client/android/android_client_platform.cpp (+2/-2)
src/client/android/android_client_platform.h (+1/-1)
src/client/android/android_registrar.cpp (+1/-1)
src/client/android/android_registrar_gralloc.h (+1/-1)
src/client/android/client_surface_interpreter.cpp (+1/-1)
src/client/android/client_surface_interpreter.h (+1/-1)
src/client/client_buffer.h (+8/-3)
src/client/client_buffer_depository.cpp (+1/-1)
src/client/client_buffer_depository.h (+2/-2)
src/client/client_buffer_factory.h (+2/-2)
src/client/client_platform.h (+1/-1)
src/client/default_connection_configuration.cpp (+1/-1)
src/client/display_configuration.cpp (+5/-5)
src/client/egl_native_display_container.h (+3/-3)
src/client/logging/input_receiver_report.cpp (+1/-1)
src/client/mesa/buffer_file_ops.h (+12/-14)
src/client/mesa/client_buffer.cpp (+30/-75)
src/client/mesa/client_buffer.h (+16/-18)
src/client/mesa/client_buffer_factory.cpp (+13/-9)
src/client/mesa/client_buffer_factory.h (+11/-13)
src/client/mesa/client_platform.cpp (+30/-58)
src/client/mesa/client_platform.h (+11/-11)
src/client/mesa/mesa_native_display_container.cpp (+10/-10)
src/client/mesa/mesa_native_display_container.h (+4/-4)
src/client/mesa/native_surface.cpp (+14/-14)
src/client/mesa/native_surface.h (+8/-3)
src/client/mir_client_library.cpp (+5/-5)
src/client/mir_connection.cpp (+6/-6)
src/client/mir_connection.h (+1/-1)
src/client/mir_surface.cpp (+5/-5)
src/client/mir_surface.h (+1/-2)
src/client/rpc/mir_socket_rpc_channel.cpp (+1/-1)
src/client/surface_map.cpp (+3/-3)
src/platform/graphics/CMakeLists.txt (+10/-0)
src/platform/graphics/android/android_alloc_adaptor.cpp (+4/-4)
src/platform/graphics/android/android_alloc_adaptor.h (+4/-4)
src/platform/graphics/android/android_buffer_allocator.cpp (+10/-10)
src/platform/graphics/android/android_display.cpp (+3/-3)
src/platform/graphics/android/android_display.h (+4/-4)
src/platform/graphics/android/android_display_configuration.cpp (+4/-4)
src/platform/graphics/android/android_display_configuration.h (+4/-4)
src/platform/graphics/android/android_format_conversion-inl.h (+18/-18)
src/platform/graphics/android/android_graphic_buffer_allocator.h (+5/-5)
src/platform/graphics/android/android_platform.cpp (+7/-11)
src/platform/graphics/android/android_platform.h (+3/-3)
src/platform/graphics/android/buffer.cpp (+6/-6)
src/platform/graphics/android/buffer.h (+4/-4)
src/platform/graphics/android/buffer_usage.h (+3/-3)
src/platform/graphics/android/display_buffer.cpp (+3/-3)
src/platform/graphics/android/display_buffer.h (+4/-4)
src/platform/graphics/android/display_builder.h (+5/-5)
src/platform/graphics/android/display_device.h (+4/-4)
src/platform/graphics/android/display_resource_factory.h (+3/-3)
src/platform/graphics/android/fb_device.cpp (+15/-5)
src/platform/graphics/android/fb_device.h (+6/-6)
src/platform/graphics/android/framebuffer_bundle.h (+5/-5)
src/platform/graphics/android/framebuffers.cpp (+12/-12)
src/platform/graphics/android/framebuffers.h (+5/-5)
src/platform/graphics/android/gl_context.cpp (+6/-7)
src/platform/graphics/android/gl_context.h (+5/-5)
src/platform/graphics/android/graphic_alloc_adaptor.h (+5/-5)
src/platform/graphics/android/graphic_buffer_allocator.h (+5/-5)
src/platform/graphics/android/hwc10_device.cpp (+3/-3)
src/platform/graphics/android/hwc10_device.h (+4/-4)
src/platform/graphics/android/hwc11_device.cpp (+3/-3)
src/platform/graphics/android/hwc11_device.h (+6/-6)
src/platform/graphics/android/hwc_common_device.cpp (+9/-9)
src/platform/graphics/android/hwc_common_device.h (+4/-4)
src/platform/graphics/android/hwc_layerlist.cpp (+11/-9)
src/platform/graphics/android/hwc_layerlist.h (+3/-3)
src/platform/graphics/android/hwc_vsync.cpp (+4/-4)
src/platform/graphics/android/hwc_vsync.h (+4/-4)
src/platform/graphics/android/hwc_vsync_coordinator.h (+4/-4)
src/platform/graphics/android/internal_client.cpp (+4/-5)
src/platform/graphics/android/internal_client.h (+3/-3)
src/platform/graphics/android/internal_client_window.cpp (+29/-14)
src/platform/graphics/android/internal_client_window.h (+17/-9)
src/platform/graphics/android/interpreter_cache.cpp (+4/-4)
src/platform/graphics/android/interpreter_cache.h (+3/-3)
src/platform/graphics/android/interpreter_resource_cache.h (+3/-3)
src/platform/graphics/android/output_builder.cpp (+6/-6)
src/platform/graphics/android/output_builder.h (+4/-4)
src/platform/graphics/android/resource_factory.cpp (+6/-6)
src/platform/graphics/android/resource_factory.h (+3/-3)
src/platform/graphics/android/server_render_window.cpp (+4/-4)
src/platform/graphics/android/server_render_window.h (+6/-6)
src/platform/graphics/mesa/CMakeLists.txt (+9/-7)
src/platform/graphics/mesa/anonymous_shm_file.cpp (+129/-0)
src/platform/graphics/mesa/anonymous_shm_file.h (+82/-0)
src/platform/graphics/mesa/black_arrow.c (+1/-1)
src/platform/graphics/mesa/buffer_allocator.cpp (+73/-34)
src/platform/graphics/mesa/buffer_allocator.h (+16/-12)
src/platform/graphics/mesa/buffer_texture_binder.h (+7/-7)
src/platform/graphics/mesa/cursor.cpp (+18/-18)
src/platform/graphics/mesa/cursor.h (+10/-10)
src/platform/graphics/mesa/display.cpp (+39/-36)
src/platform/graphics/mesa/display.h (+20/-19)
src/platform/graphics/mesa/display_buffer.cpp (+28/-27)
src/platform/graphics/mesa/display_buffer.h (+19/-19)
src/platform/graphics/mesa/display_helpers.cpp (+31/-31)
src/platform/graphics/mesa/display_helpers.h (+7/-7)
src/platform/graphics/mesa/drm_close_threadsafe.cpp (+5/-5)
src/platform/graphics/mesa/drm_close_threadsafe.h (+7/-7)
src/platform/graphics/mesa/drm_mode_resources.cpp (+14/-14)
src/platform/graphics/mesa/drm_mode_resources.h (+7/-7)
src/platform/graphics/mesa/gbm_buffer.cpp (+22/-22)
src/platform/graphics/mesa/gbm_buffer.h (+10/-10)
src/platform/graphics/mesa/internal_client.cpp (+8/-8)
src/platform/graphics/mesa/internal_client.h (+7/-7)
src/platform/graphics/mesa/internal_native_display.cpp (+6/-6)
src/platform/graphics/mesa/internal_native_display.h (+7/-7)
src/platform/graphics/mesa/internal_native_surface.cpp (+15/-16)
src/platform/graphics/mesa/internal_native_surface.h (+8/-8)
src/platform/graphics/mesa/kms_display_configuration.h (+7/-7)
src/platform/graphics/mesa/kms_output.h (+8/-8)
src/platform/graphics/mesa/kms_output_container.h (+7/-7)
src/platform/graphics/mesa/kms_page_flipper.cpp (+10/-10)
src/platform/graphics/mesa/kms_page_flipper.h (+7/-7)
src/platform/graphics/mesa/linux_virtual_terminal.cpp (+10/-10)
src/platform/graphics/mesa/linux_virtual_terminal.h (+7/-7)
src/platform/graphics/mesa/native_platform.cpp (+17/-17)
src/platform/graphics/mesa/native_platform.h (+9/-11)
src/platform/graphics/mesa/overlapping_output_grouping.cpp (+9/-9)
src/platform/graphics/mesa/overlapping_output_grouping.h (+7/-7)
src/platform/graphics/mesa/page_flipper.h (+7/-7)
src/platform/graphics/mesa/platform.cpp (+35/-36)
src/platform/graphics/mesa/platform.h (+16/-17)
src/platform/graphics/mesa/real_kms_display_configuration.cpp (+19/-19)
src/platform/graphics/mesa/real_kms_display_configuration.h (+7/-7)
src/platform/graphics/mesa/real_kms_output.cpp (+27/-27)
src/platform/graphics/mesa/real_kms_output.h (+9/-9)
src/platform/graphics/mesa/real_kms_output_container.cpp (+8/-8)
src/platform/graphics/mesa/real_kms_output_container.h (+7/-7)
src/platform/graphics/mesa/shm_buffer.cpp (+87/-0)
src/platform/graphics/mesa/shm_buffer.h (+67/-0)
src/platform/graphics/mesa/shm_file.h (+50/-0)
src/platform/graphics/mesa/udev_wrapper.cpp (+45/-45)
src/platform/graphics/mesa/udev_wrapper.h (+8/-8)
src/platform/graphics/mesa/virtual_terminal.h (+7/-7)
src/server/CMakeLists.txt (+1/-1)
src/server/asio_main_loop.cpp (+1/-1)
src/server/compositor/buffer_bundle.h (+2/-2)
src/server/compositor/buffer_stream_surfaces.cpp (+9/-5)
src/server/compositor/buffer_stream_surfaces.h (+5/-5)
src/server/compositor/default_configuration.cpp (+1/-18)
src/server/compositor/default_display_buffer_compositor.cpp (+3/-7)
src/server/compositor/default_display_buffer_compositor.h (+1/-4)
src/server/compositor/default_display_buffer_compositor_factory.cpp (+3/-7)
src/server/compositor/default_display_buffer_compositor_factory.h (+1/-4)
src/server/compositor/gl_renderer.cpp (+4/-11)
src/server/compositor/gl_renderer.h (+2/-6)
src/server/compositor/overlay_renderer.h (+0/-53)
src/server/compositor/renderer.h (+6/-7)
src/server/compositor/rendering_operator.cpp (+8/-7)
src/server/compositor/rendering_operator.h (+6/-2)
src/server/compositor/switching_bundle.cpp (+5/-5)
src/server/compositor/switching_bundle.h (+3/-3)
src/server/compositor/temporary_buffers.cpp (+1/-13)
src/server/compositor/temporary_buffers.h (+1/-11)
src/server/default_server_configuration.cpp (+1/-1)
src/server/frontend/CMakeLists.txt (+2/-2)
src/server/frontend/event_sender.cpp (+1/-1)
src/server/frontend/event_sender.h (+1/-1)
src/server/frontend/fd_sets.h (+1/-1)
src/server/frontend/message_receiver.h (+2/-2)
src/server/frontend/session_mediator.cpp (+9/-12)
src/server/frontend/session_mediator.h (+6/-6)
src/server/frontend/session_mediator_android.cpp (+1/-1)
src/server/frontend/socket_messenger.cpp (+4/-4)
src/server/frontend/socket_messenger.h (+6/-6)
src/server/frontend/socket_session.cpp (+1/-1)
src/server/frontend/surface.cpp (+2/-2)
src/server/graphics/CMakeLists.txt (+0/-10)
src/server/graphics/nested/nested_display.cpp (+9/-3)
src/server/graphics/nested/nested_display_configuration.cpp (+3/-3)
src/server/graphics/offscreen/display_buffer.cpp (+0/-6)
src/server/graphics/offscreen/display_configuration.cpp (+1/-1)
src/server/input/android/android_input_application_handle.cpp (+1/-1)
src/server/input/android/android_input_channel.cpp (+1/-1)
src/server/input/android/android_input_reader_policy.cpp (+1/-1)
src/server/input/android/android_input_registrar.cpp (+1/-1)
src/server/input/android/android_input_target_enumerator.h (+2/-2)
src/server/input/android/android_input_targeter.cpp (+3/-3)
src/server/input/android/android_input_window_handle.cpp (+1/-1)
src/server/input/android/android_window_handle_repository.h (+1/-1)
src/server/input/android/event_filter_dispatcher_policy.cpp (+1/-1)
src/server/input/null_input_configuration.cpp (+1/-1)
src/server/input/null_input_configuration.h (+1/-1)
src/server/logging/display_report.cpp (+1/-1)
src/server/logging/input_report.cpp (+5/-5)
src/server/scene/CMakeLists.txt (+1/-1)
src/server/scene/application_session.cpp (+3/-3)
src/server/scene/basic_surface.cpp (+32/-43)
src/server/scene/basic_surface.h (+44/-32)
src/server/scene/basic_surface_factory.h (+8/-8)
src/server/scene/default_configuration.cpp (+2/-2)
src/server/scene/default_session_container.cpp (+3/-3)
src/server/scene/global_event_sender.cpp (+1/-1)
src/server/scene/mediating_display_changer.cpp (+2/-2)
src/server/scene/mutable_surface_state.h (+1/-1)
src/server/scene/session_manager.cpp (+1/-1)
src/server/scene/surface.h (+0/-81)
src/server/scene/surface_allocator.cpp (+8/-2)
src/server/scene/surface_allocator.h (+2/-2)
src/server/scene/surface_builder.h (+1/-2)
src/server/scene/surface_controller.cpp (+1/-1)
src/server/scene/surface_controller.h (+3/-3)
src/server/scene/surface_data.cpp (+2/-2)
src/server/scene/surface_impl.cpp (+16/-8)
src/server/scene/surface_impl.h (+4/-6)
src/server/scene/surface_ranker.h (+11/-15)
src/server/scene/surface_source.cpp (+2/-2)
src/server/scene/surface_stack.cpp (+2/-2)
src/server/scene/surface_stack.h (+6/-6)
src/server/scene/surface_state.h (+2/-2)
src/server/shell/default_configuration.cpp (+1/-1)
src/server/shell/default_focus_mechanism.cpp (+4/-4)
src/server/shell/default_focus_mechanism.h (+3/-3)
src/server/shell/surface_creation_parameters.cpp (+6/-6)
src/shared/graphics/android/mir_native_window.cpp (+1/-1)
src/shared/graphics/android/syncfence.cpp (+2/-2)
src/shared/input/android/android_input_platform.h (+1/-1)
src/shared/input/android/android_input_receiver.cpp (+4/-4)
src/shared/input/android/android_input_receiver.h (+3/-3)
src/shared/input/android/android_input_receiver_thread.h (+2/-2)
src/shared/input/xkb_mapper.cpp (+5/-5)
tests/CMakeLists.txt (+3/-6)
tests/acceptance-tests/CMakeLists.txt (+15/-4)
tests/acceptance-tests/test_client_authorization.cpp (+12/-9)
tests/acceptance-tests/test_client_focus_notification.cpp (+5/-5)
tests/acceptance-tests/test_client_input.cpp (+58/-153)
tests/acceptance-tests/test_client_library.cpp (+2/-2)
tests/acceptance-tests/test_focus_selection.cpp (+1/-1)
tests/acceptance-tests/test_nested_mir.cpp (+5/-5)
tests/acceptance-tests/test_server_shutdown.cpp (+6/-6)
tests/acceptance-tests/test_shell_control_of_surface_configuration.cpp (+1/-1)
tests/acceptance-tests/test_surfaceloop.cpp (+1/-1)
tests/draw/android_graphics.cpp (+2/-2)
tests/draw/patterns.cpp (+3/-4)
tests/integration-tests/CMakeLists.txt (+17/-6)
tests/integration-tests/client/test_client_render.cpp (+11/-11)
tests/integration-tests/compositor/test_buffer_stream.cpp (+35/-27)
tests/integration-tests/compositor/test_swapping_swappers.cpp (+3/-3)
tests/integration-tests/graphics/android/test_buffer_integration.cpp (+3/-3)
tests/integration-tests/graphics/android/test_display_integration.cpp (+4/-4)
tests/integration-tests/graphics/android/test_internal_client.cpp (+9/-9)
tests/integration-tests/graphics/mesa/test_buffer_integration.cpp (+6/-9)
tests/integration-tests/input/android/test_android_input_manager.cpp (+4/-4)
tests/integration-tests/shell/test_session_lifecycle_event.cpp (+2/-2)
tests/integration-tests/test_display_info.cpp (+10/-10)
tests/integration-tests/test_display_server_main_loop_events.cpp (+1/-1)
tests/integration-tests/test_session.cpp (+8/-9)
tests/integration-tests/test_surface_first_frame_sync.cpp (+4/-2)
tests/integration-tests/test_surfaceloop.cpp (+1/-1)
tests/integration-tests/test_swapinterval.cpp (+6/-5)
tests/mir_test/display_config_matchers.cpp (+4/-5)
tests/mir_test_doubles/CMakeLists.txt (+1/-1)
tests/mir_test_doubles/mock_android_hw.cpp (+1/-1)
tests/mir_test_doubles/mock_drm.cpp (+20/-20)
tests/mir_test_doubles/mock_egl.cpp (+0/-39)
tests/mir_test_framework/CMakeLists.txt (+3/-2)
tests/mir_test_framework/cross_process_sync.cpp (+1/-1)
tests/mir_test_framework/input_testing_client_configuration.cpp (+89/-0)
tests/mir_test_framework/input_testing_server_options.cpp (+1/-1)
tests/mir_test_framework/testing_client_options.cpp (+4/-4)
tests/mir_test_framework/testing_server_options.cpp (+6/-7)
tests/unit-tests/CMakeLists.txt (+14/-8)
tests/unit-tests/client/CMakeLists.txt (+2/-2)
tests/unit-tests/client/android/test_android_native_window.cpp (+2/-2)
tests/unit-tests/client/android/test_client_android_buffer.cpp (+3/-3)
tests/unit-tests/client/android/test_client_android_registrar.cpp (+3/-3)
tests/unit-tests/client/android/test_client_surface_interpreter.cpp (+2/-2)
tests/unit-tests/client/gbm/mock_drm_fd_handler.h (+0/-46)
tests/unit-tests/client/input/test_android_input_receiver.cpp (+15/-15)
tests/unit-tests/client/input/test_android_input_receiver_thread.cpp (+4/-4)
tests/unit-tests/client/input/test_xkb_mapper.cpp (+3/-3)
tests/unit-tests/client/mesa/CMakeLists.txt (+2/-2)
tests/unit-tests/client/mesa/test_client_buffer.cpp (+55/-112)
tests/unit-tests/client/mesa/test_client_platform.cpp (+3/-3)
tests/unit-tests/client/mesa/test_mesa_native_display_container.cpp (+2/-2)
tests/unit-tests/client/mesa/test_native_surface.cpp (+12/-12)
tests/unit-tests/client/test_aging_buffer.cpp (+1/-1)
tests/unit-tests/client/test_android_client_buffer_factory.cpp (+2/-2)
tests/unit-tests/client/test_client_buffer_depository.cpp (+5/-5)
tests/unit-tests/client/test_client_display_conf.cpp (+3/-3)
tests/unit-tests/client/test_client_mir_surface.cpp (+13/-13)
tests/unit-tests/client/test_client_platform.cpp (+1/-1)
tests/unit-tests/client/test_mir_connection.cpp (+3/-3)
tests/unit-tests/compositor/test_buffer_stream.cpp (+11/-5)
tests/unit-tests/compositor/test_default_display_buffer_compositor.cpp (+44/-93)
tests/unit-tests/compositor/test_gl_renderer.cpp (+7/-41)
tests/unit-tests/compositor/test_rendering_operator.cpp (+33/-72)
tests/unit-tests/compositor/test_switching_bundle.cpp (+5/-17)
tests/unit-tests/compositor/test_temporary_buffers.cpp (+4/-27)
tests/unit-tests/frontend/CMakeLists.txt (+2/-2)
tests/unit-tests/frontend/test_event_sender.cpp (+37/-1)
tests/unit-tests/frontend/test_session_mediator.cpp (+42/-71)
tests/unit-tests/frontend/test_session_mediator_android.cpp (+2/-2)
tests/unit-tests/frontend/test_session_mediator_mesa.cpp (+6/-6)
tests/unit-tests/frontend/test_socket_session.cpp (+2/-2)
tests/unit-tests/graphics/CMakeLists.txt (+2/-2)
tests/unit-tests/graphics/android/test_android_alloc_adaptor.cpp (+4/-4)
tests/unit-tests/graphics/android/test_android_buffer_allocator.cpp (+8/-8)
tests/unit-tests/graphics/android/test_android_fb.cpp (+10/-10)
tests/unit-tests/graphics/android/test_android_platform.cpp (+20/-3)
tests/unit-tests/graphics/android/test_buffer.cpp (+6/-6)
tests/unit-tests/graphics/android/test_buffer_tex_bind.cpp (+5/-12)
tests/unit-tests/graphics/android/test_external_refcount.cpp (+4/-4)
tests/unit-tests/graphics/android/test_fb_device.cpp (+29/-5)
tests/unit-tests/graphics/android/test_fb_simple_swapper.cpp (+13/-13)
tests/unit-tests/graphics/android/test_hwc10_device.cpp (+12/-10)
tests/unit-tests/graphics/android/test_hwc11_device.cpp (+5/-3)
tests/unit-tests/graphics/android/test_hwc_device.cpp (+5/-5)
tests/unit-tests/graphics/android/test_hwc_display.cpp (+7/-7)
tests/unit-tests/graphics/android/test_hwc_layerlist.cpp (+18/-17)
tests/unit-tests/graphics/android/test_internal_client.cpp (+2/-3)
tests/unit-tests/graphics/android/test_internal_client_interpreter.cpp (+22/-44)
tests/unit-tests/graphics/android/test_interpreter_buffer_cache.cpp (+2/-2)
tests/unit-tests/graphics/android/test_output_builder.cpp (+8/-8)
tests/unit-tests/graphics/android/test_pixel_format.cpp (+10/-11)
tests/unit-tests/graphics/android/test_resource_factory.cpp (+3/-3)
tests/unit-tests/graphics/android/test_server_interpreter.cpp (+10/-10)
tests/unit-tests/graphics/android/test_sync_fence.cpp (+1/-1)
tests/unit-tests/graphics/mesa/CMakeLists.txt (+9/-7)
tests/unit-tests/graphics/mesa/test_anonymous_shm_file.cpp (+260/-0)
tests/unit-tests/graphics/mesa/test_buffer_allocator.cpp (+44/-46)
tests/unit-tests/graphics/mesa/test_cursor.cpp (+29/-29)
tests/unit-tests/graphics/mesa/test_display.cpp (+67/-46)
tests/unit-tests/graphics/mesa/test_display_configuration.cpp (+13/-14)
tests/unit-tests/graphics/mesa/test_display_multi_monitor.cpp (+12/-12)
tests/unit-tests/graphics/mesa/test_gbm_buffer.cpp (+21/-20)
tests/unit-tests/graphics/mesa/test_internal_client.cpp (+7/-8)
tests/unit-tests/graphics/mesa/test_internal_native_display.cpp (+5/-14)
tests/unit-tests/graphics/mesa/test_internal_native_surface.cpp (+16/-44)
tests/unit-tests/graphics/mesa/test_kms_page_flipper.cpp (+6/-6)
tests/unit-tests/graphics/mesa/test_linux_virtual_terminal.cpp (+23/-23)
tests/unit-tests/graphics/mesa/test_native_platform.cpp (+8/-8)
tests/unit-tests/graphics/mesa/test_overlapping_output_grouping.cpp (+4/-4)
tests/unit-tests/graphics/mesa/test_platform.cpp (+21/-21)
tests/unit-tests/graphics/mesa/test_real_kms_output.cpp (+12/-12)
tests/unit-tests/graphics/mesa/test_shm_buffer.cpp (+101/-0)
tests/unit-tests/graphics/mesa/test_udev_helper.cpp (+69/-69)
tests/unit-tests/graphics/test_buffer_properties.cpp (+6/-6)
tests/unit-tests/graphics/test_default_display_configuration_policy.cpp (+3/-3)
tests/unit-tests/graphics/test_display.cpp (+4/-4)
tests/unit-tests/graphics/test_display_configuration.cpp (+1/-1)
tests/unit-tests/graphics/test_graphics_platform.cpp (+3/-3)
tests/unit-tests/input/android/test_android_input_registrar.cpp (+5/-5)
tests/unit-tests/input/android/test_android_input_target_enumerator.cpp (+3/-3)
tests/unit-tests/input/android/test_android_input_targeter.cpp (+2/-2)
tests/unit-tests/logging/test_display_report.cpp (+1/-1)
tests/unit-tests/scene/test_application_session.cpp (+5/-6)
tests/unit-tests/scene/test_default_focus_mechanism.cpp (+16/-18)
tests/unit-tests/scene/test_global_event_sender.cpp (+1/-1)
tests/unit-tests/scene/test_session_manager.cpp (+3/-5)
tests/unit-tests/scene/test_surface.cpp (+58/-59)
tests/unit-tests/scene/test_surface_controller.cpp (+1/-1)
tests/unit-tests/scene/test_surface_data.cpp (+4/-4)
tests/unit-tests/scene/test_surface_impl.cpp (+66/-37)
tests/unit-tests/scene/test_surface_stack.cpp (+15/-16)
tests/unit-tests/scene/test_the_session_container_implementation.cpp (+3/-3)
tests/unit-tests/scene/test_threaded_snapshot_strategy.cpp (+2/-2)
tests/unit-tests/shell/test_organising_surface_factory.cpp (+1/-1)
tests/unit-tests/test_asio_main_loop.cpp (+1/-1)
tools/install_on_android.sh (+9/-9)
tools/setup-partial-armhf-chroot.sh (+31/-72)
To merge this branch: bzr merge lp://qastaging/~raof/mir/check-for-surfaceless
Reviewer Review Type Date Requested Status
Mir development team Pending
Review via email: mp+198509@code.qastaging.launchpad.net

Commit message

nested: Check for, and prefer, EGL_KHR_surfaceless_context over dummy pbuffer surfaces

It seems that at least one of our Android stacks doesn't support EGL_KHR_surfaceless_context,
and Mesa doesn't support pbuffer surfaces.

Fixes nested on Mesa

Description of the change

nested: Check for, and prefer, EGL_KHR_surfaceless_context over dummy pbuffer surfaces

It seems that at least one of our Android stacks doesn't support EGL_KHR_surfaceless_context,
and Mesa doesn't support pbuffer surfaces.

Fixes nested on Mesa

To post a comment you must log in.

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