~andreas-pokorny/mir/libinput-integration

« back to all changes in this revision

Viewing changes to tests/include/mir_test_doubles/mock_drm.h

  • Committer: Andreas Pokorny
  • Date: 2015-01-12 13:51:42 UTC
  • mfrom: (2098.1.18 evdev-input-platform)
  • Revision ID: andreas.pokorny@canonical.com-20150112135142-x6nk38o2fqd04971
[ Daniel van Vugt ]
. Plumbing/preparation to support external displays on Android devices.
. Began work on automatic driver probing, to intelligently choose the
best driver for you.
. Demo shell (mir_proving_server): Added desktop zoom feature using
Supermouse wheel.
. Demo renamed: mir_demo_server_shell -> mir_proving_server
. Other demo servers merged into -> mir_demo_server
. Wider support for display buffer pixel formats in the mesa driver, for
wider hardware support.
. Performance: On mesa/desktop at least; only hold compositor buffers
for the duration of the render, instead of the duration of the frame.
Following this change the compositor report can now finally report
render time instead of frame time.
. Mir now starts reliably when a TV is connected by HDMI, and up to
4K resolution (2160p) is known to work.
. Plenty more enhancements logged in the bugs list below.
. [regression] Mir servers (since 0.9) randomly crash in malloc due to
heap corruption (LP: #1401488)
. USCmouse cursor on AMD graphics is drawing incorrectly
(LP: #1391975)
. Mir fails to start when a TV is connected by HDMI
[std::exception::what: Invalid or inconsistent display configuration]
(LP: #1395405)
. Input/event driven clients may freeze indefinitely (LP: #1396006)
. Mir server crashes with "std::exception::what: Failed to get front
buffer object" when trying to fullscreen a surface (LP: #1398296)
. Switching windows with a Trusted Prompt Session active loses the
trusted prompt session (LP: #1355173)
. CI test failure in multiple tests (LP: #1401364)
. dh_install: usr/bin/mir_demo_server exists in debian/tmp but is not
installed to anywhere (LP: #1401365)
. [regression] demo-shell: Instead of moving surfaces they now fly
off-screen (LP: #1403702)
. [regression] Binaries are no longer runnable on other machines (or in
other directories) (LP: #1406073)
. [i865] unity-system-compositor fails to start: Failed to choose ARGB
EGL config (LP: #1212753)
. Mir's compositor holds buffers (blocking clients) for the duration of
the frame, even when not necessary. (LP: #1264934)
. Screen goes blank (black) briefly during display config changes which
don't affect the display mode (LP: #1274359)
. [enhancement] There should be a quit signal sent to sessions instead
of killing them directly (LP: #1304257)
. MirMotionEvent.action needs stronger typing (to MirMotionAction etc)
(LP: #1311699)
. CompositorReport as used by DefaultDisplayBufferCompositor can't
measure render time (LP: #1350716)
. Full screen (bypassed) surfaces (e.g. GLMark2Test) are missing frames
and appear to freeze or judder with swap interval 0 (LP: #1379685)
. Trusted prompts need to be part of the lifecycle (LP: #1384950)
. [testfail] BasicThreadPool.recycles_threads in CI (LP: #1391488)
. acceptance_tests are too chatty (LP: #1394221)
. mir_connection_create_surface callback is sometimes called twice on
error (LP: #1394873)
. File descriptor leaks in tests using UsingStubClientPlatform
(LP: #1395762)
. DisplayLayout resizes a surface to 1x1 if you ask it to fullscreen a
surface that's partially offscreen (LP: #1398294)
. Surfaces can consume input events before they're visible.
(LP: #1400218)
. dpkg-shlibdeps: Lots of warnings about libmirplatformstub.so
(LP: #1401373)
. Leaks in death tests can cause subsequent tests in the same process to
fail (LP: #1402160)
. [regression] lintian: E: mir-demos: binary-or-shlib-defines-rpath ...
(LP: #1406098)
. [regression] Mir utils can't run from the build tree any more
(LP: #1407557)
. fd reception code is not exeception-safe when unexpected numbers of
fds are received (LP: #1394362)
. Mir reports vertical refresh rates slightly inaccurately (LP: #1407558)
. [Enhancement] Add an API to lock surface orientation (LP: #1382209)
. Bootloop with system language Turkish on the Nexus 4 (LP: #1398984)
. Remove the implicit assumption that there every surface can be mapped
to an input handle. (LP: #1216727)
. When revealing hidden surfaces wait for them to become exposed before
sending events which we expect them to receive (LP: #1407783)
[ Ubuntu daily release ]
New rebuild forced

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
    MOCK_METHOD8(drmModeAddFB, int(int fd, uint32_t width, uint32_t height,
110
110
                                   uint8_t depth, uint8_t bpp, uint32_t pitch,
111
111
                                   uint32_t bo_handle, uint32_t *buf_id));
 
112
    MOCK_METHOD9(drmModeAddFB2, int(int fd, uint32_t width, uint32_t height,
 
113
                                    uint32_t pixel_format, uint32_t bo_handles[4],
 
114
                                    uint32_t pitches[4], uint32_t offsets[4],
 
115
                                    uint32_t *buf_id, uint32_t flags));
112
116
    MOCK_METHOD2(drmModeRmFB, int(int fd, uint32_t bufferId));
113
117
 
114
118
    MOCK_METHOD5(drmModePageFlip, int(int fd, uint32_t crtc_id, uint32_t fb_id,