summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h (follow)
AgeCommit message (Collapse)Author
2015-04-09ecore-drm: Fix formattingChris Michael
Summary: NO functional changes, just formatting. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09ecore-drm: Move Eeze Udev Watch to Drm DeviceChris Michael
Summary: Move the Eeze udev watch to inside the ecore_drm_device. This allows us to only create One watch to catch all output changes. No need for more than one watch (one per output) as was done previously @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09ecore-drm: Add width & height to Ecore_Drm_Fb structureChris Michael
Summary: This adds a w & h field to the Ecore_Drm_Fb structure so it can be used from within the Evas engine @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-24ecore_drm: Add event of ECORE_DRM_EVENT_SEAT_ADD.Seunghun Lee
Summary: To support multi-seat, ecore_drm need to issue the event to notify compositor of seat is added. Test Plan: N/A Reviewers: zmike, raster, gwanglim, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2212
2015-03-17ecore-drm: add ecore_drm_devices_get to get the list of drm devicesBoram Park
Summary: when enlightenment is working as wayland display server, enlightenment changes KDSETMODE to KD_GRAPHICS in _ecore_drm_tty_setup(). However, when enlightenment is killed by SIGSEGV, it doesn't changes KDSETMODE to KD_TEXT because englightenment process doesn't call ecore_drm_tty_close(). To make possible enlightenment call ecore_drm_tty_close(), drm devices should be exposed. When enlightenment is killed by SIGSEGV, it will get drm devices with ecore_drm_device_get_list(), and will call ecore_drm_launcher_disconnect(), and ecore_drm_launcher_disconnect will call ecore_drm_tty_close() internally. @feature Change-Id: I1c594739ec96660a09cee77b823ace6548ee5282 Reviewers: zmike, cedric, raster, gwanglim, devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2159
2015-03-04ecore-drm: Add function to return the pointer xy of Ecore_Drm_DeviceChris Michael
Summary: This adds a function (ecore_drm_device_pointer_xy_get) to we can return the mouse position inside ecore_evas_pointer_xy_get calls. This is going to be used for centering the mouse when E-Wl starts up. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-23ecore-drm: Add output id to output eventChris Michael
Summary: When we raise an event for an output, also include the output id in the event structure. This will allow us to better identify which output the event occured on. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-19ecore-drm Add hooks for updating wl_output when outputs are hotpluggedDerek Foreman
Summary: This provides callbacks to any bound wl_output listeners when a display is hotplugged. NOTE: Currently we don't receive hotplug events ANOTHER NOTE: We don't yet handle display removal Reviewers: devilhorns, zmike Reviewed By: devilhorns, zmike Subscribers: cedric Maniphest Tasks: T2131 Differential Revision: https://phab.enlightenment.org/D2006
2015-02-19ecore-drm Add API for querying output parametersDerek Foreman
Reviewers: zmike, devilhorns Reviewed By: devilhorns Subscribers: cedric Maniphest Tasks: T2131 Differential Revision: https://phab.enlightenment.org/D2005
2015-02-19ecore-drm Fix typoDerek Foreman
Reviewers: devilhorns, zmike Reviewed By: devilhorns, zmike Subscribers: cedric Maniphest Tasks: T2131 Differential Revision: https://phab.enlightenment.org/D2004
2015-01-26ecore-drm: Move session and vt fields to store inside theChris Michael
Ecore_Drm_Device Summary: This moves storing the session name and VT fields inside the device structure. This also adds a field so we can store the keyboard mode of the tty, and restore it on close. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-10ecore-drm: Add event to notify session activation state.Seunghun Lee
Summary: this event is to notify session activation state to compositor. thus compositor can change composite state by this event. Reviewers: devilhorns Subscribers: torori, cedric Differential Revision: https://phab.enlightenment.org/D1767
2014-12-09ecore-drm: added drm launcher that is allow to determine whether to launch ↵Seunghun Lee
with logind or root privilege. Summary: - allow to launch drm backend without systemd-logind with root privilege. - allow to open drm device node via logind, not directly open it, in case exist systemd-logind. - fixes issue that couldn't switch session, because ecore-drm couldn't drop master to drm device with no permission. (allow to switch session appropriate.) Reviewers: gwanglim, devilhorns Subscribers: torori, cedric Differential Revision: https://phab.enlightenment.org/D1704
2014-11-12ecore_drm: Added internal function for drm output updates when device is hotplugvivek
Summary: Added internal function _ecore_drm_update_outputs which will update the outputs if the drm device is hotplug @fix Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1565
2014-10-30ecore-drm: Remove commented out dead functionsChris Michael
Summary: These functions were never exposed in the header, and were also already commented out. This commit just removes the dead comments. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-30ecoreidrm: Cleaned up unwanted code.Srivardhan Hebbar
Summary: Cleaned up all unwanted code's in ecore_drm. This just removes a bunch of already commented out code. @fix Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1615
2014-09-23ecore-drm: Fix comment to not mention udevChris Michael
@fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-15ecore-drm: added vt switch key event handlerMinJeong Kim
Summary: Because vt mode of tty is set to VT_PROCESS, ecore-drm is responsible for managing switch-to or switch-from other vt. For that, ecore-drm has to handshake with kernel(tty driver). On switch-from side(A): 1. Listen key event to satisfy vt switch key binding. 2. ioctl(fd, VT_ACTIVE, switch-to-vt) for activating switch-to vt. 3. Receive SIGUSR1(relsig) from kernel. 4. Prepare releasing vt, and ioctl(fd, VT_RELDISP, 1). On switch-to side(B): 0. Kernel receive VT_RELDISP with value 1(ok) from switch-from vt. 1. Receive SIGUSR2(acqsig) from kernel. 2. ioctl(fd, VT_RELDISP, VT_ACKACQ), and start to setup vt. This revision added A-1 step on above. Test Plan: On booted PC with systemd. 1. launch enlightenment_start with drm and wayland ex) ECORE_DRM_TTY=/dev/tty1 \ E_WL_FORCE=drm \ ELM_ENGINE=wayland_shm enlightenment_start 2. try to switch vt by pressing "Ctrl + Alt + (F1 ~ F8)" Reviewers: gwanglim, stefan_schmidt, devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1280
2014-09-04ecore-drm: Add API function for getting screen geometryChris Michael
This adds an API function that we can call to return the screen geometry. This will be used from ecore_evas to get the screen_geometry. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-02ecore/drm: Remove another leftover from dead spartacusStefan Schmidt
2014-08-28ecore/drm: Remove unused enums now that spartacus is goneStefan Schmidt
2014-06-30ecore_drm: Make struct Ecore_Drm_Device availableStefan Schmidt
Allow the struct to be used by other parts and not only ecore_drm. This is needed to use ecore_drm in the evas drm engine.
2014-06-06ecore-drm: implement multitouch supportMoritz Bitsch
Summary: Support for type B touch devices, tested with egalax_ts compatible touchscreen. Reviewers: devilhorns Reviewed By: devilhorns CC: cedric Differential Revision: https://phab.enlightenment.org/D933
2014-04-01ecore-drm: Add API function for getting size of an output.Chris Michael
@feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-drm: Fix ecore_drm_device_window_set to use an unsigned intChris Michael
@fix: The majority of ecore_evas code expects that the 'window' returned from ecore_evas_window_get be an Ecore_Window. Previously, this was not possible as this function was using a void pointer. This change fixes that issue. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-12ecore-drm: Add API function to return the drm device nameChris Michael
@feature: Add new API function to return the drm device name NB: This will be used in the ecore_evas_drm code to set the ecore_evas->name. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-10ecore-drm: Add API function to set the window we should send eventsChris Michael
too. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-10ecore-drm: Add API function to return the vt fdChris Michael
@feature: Added API function to return the file descriptor from the opened virtual terminal. This is needed for use in ecore_evas. When it sets up the canvas, we pass this fd to the canvas for use in setting up the vt framebuffers Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06ecore-drm: Add Ecore_Drm codeChris Michael
@feature: Add Ecore_Drm library code for setting up drm card, outputs, virtual terminals, framebuffers, and input for use with ecore_evas drm code. Signed-off-by: Chris Michael <cp.michael@samsung.com>