[Wayland-bugs] [Bug 49022] New: Crazy ideas: Eliminate compositor context switch by making kernel understand enough of wayland...

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 20 12:31:07 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49022

             Bug #: 49022
           Summary: Crazy ideas: Eliminate compositor context switch by
                    making kernel understand enough of wayland...
    Classification: Unclassified
           Product: Wayland
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: wayland
        AssignedTo: wayland-bugs at lists.freedesktop.org
        ReportedBy: darxus at chaosreigns.com
            Blocks: 48976


- AF_WAYLAND - A new socket type.  Eliminate compositor context switch by
making kernel understand enough of wayland that it can forward input events as
wayland events and do page flipping in response to surface_attach requests:

    - ioctl(wayland_fd, "surface_attach to object 5 should do a kms page flip
on ctrc 2");

    - what about multiple crtcs? what about frame event for other clients?

    - forward these input devices to the client

    - "scancode 124 pressed or released with scan codes 18,22 and 30 held down
gives control back to userspace wayland.

    - what about maintaining cursor position? what about pointer acceleration? 
maybe this only works in "client cursor mode", where wayland hides the cursor
and only sends relative events?  Solves the composited cursor problem.  How
does X show its cursor then?

    - Probably not worth it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Wayland-bugs mailing list