Bug 49022 - [task] Crazy ideas: Eliminate compositor context switch by making kernel understand enough of wayland...
Summary: [task] Crazy ideas: Eliminate compositor context switch by making kernel unde...
Status: RESOLVED NOTABUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-20 12:31 UTC by Darxus
Modified: 2012-10-25 16:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Darxus 2012-04-20 12:31:07 UTC
- 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.
Comment 1 Kristian Høgsberg 2012-05-07 19:08:36 UTC
This was filed under "Crazy Ideas", not a 1.0 blocker.
Comment 2 Kristian Høgsberg 2012-10-25 16:11:01 UTC
Closing this bug as it really is more of a stray thought than anything else.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.