summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm (follow)
AgeCommit message (Collapse)Author
2014-12-10ecore-evas-drm: Fix up error handlingChris Michael
Summary: Due to the change of order in creating outputs & inputs, we need an additional goto error for destroying inputs if output_create fails @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-10ecore-evas-drm: Create inputs before we create outputsChris Michael
Summary: Call function to create drm input devices Before we create outputs. This is done so that when outputs Do get created, it will update the input's known size of output for device coordinate transformation @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
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-12-04evas/gl_drm: add native surface for wayland_egl_client.Mun, Gwan-gyeong
Reviewers: zmike, devilhorns, cedric, gwanglim Reviewed By: cedric, gwanglim Subscribers: jpeg, torori, cedric Differential Revision: https://phab.enlightenment.org/D1507
2014-10-29ecore_evas - ecore_evas's should start withdrawn then normal on showCarsten Haitzler (Rasterman)
this fixes initial state of an ee where you couldn't detect when the window had been accepted by the wm (goes to normal state from withdrawn). @fix
2014-10-08ecore-evas-drm: Fix formattingChris Michael
NB: No functional changes, just cosmetic Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-08ecore-evas-drm: Set the ecore_drm_device reference in the engine dataChris Michael
Summary: Since we have a field inside the engine info structure to store a reference to the Ecore_Drm_Device, then let's set it. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-23ecore-evas-drm: Fix calling ecore_drm_device_find twice in some casesChris Michael
Summary: If no device name was passed in to ecore_drm_device_find function, then if we fail to find the default drm device on the first call, there is No point in calling the same function again to get the same result. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-15ecore-evas-drm: Implement ecore_evas_pointer_xy_get for drm engineChris Michael
This implements ecore_evas_pointer_xy_get for the drm engine, However this is simply using evas_pointer_output_xy_get for the moment because I need to add ecore_drm functions for getting pointer position. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-15ecore-evas-drm: Fix formattingChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-08ecore_evas/drm: Clarify error message if given device is not found.Stefan Schmidt
While it is bad that the given device is not found we fall back here to the default one. Still good to mention it in the error message as it can be confusing when we read that the device could not be found be it still works.
2014-09-05evas/drm: Remove now obsolete tty and own_tty struct membersStefan Schmidt
We used these when expedite was using evas directly without ecore_evas. That changed and we can now leave tty custody to ecore_evas and ecore_drm.
2014-09-04ecore-evas-drm: Remove extra blank space in parameterChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04ecore-evas-drm: Remove dead commentChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-04ecore-evas-drm: Add function to return screen geometryChris Michael
This adds the ecore_evas function pointer for ecore_evas_screen_geometry_get. This will be used from the drm compositor to return the current screen geometry. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28ecore-evas-drm: Fix misplaced #ifdef from gl_drm patchChris Michael
This #ifdef does not belong here. The interface_new functions Is Still Used for normal drm ecore_evas. Bad Gwanglim, no cookie ;) @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-28gl-drm: Fix missing link to gbm for ecore_evas_drm and clean up build scriptGwanglim Lee
@fix Summary: This fixes following build script problems for ecore_evas_drm engine module. 1. Missing link to gbm for ecore_evas_drm if '--enable-gl-drm' option is given. ecore_evas_drm engine is using gbm function if it builds with that config option. To be more exact, ecore_evas_gl_drm_new_internal function needs gbm. Thus we need to add gbm library linking '-lgbm' to ecore_evas_drm engine module if '--enable-gl-drm' option is given. I've added this build script to m4/ecore_check_module.m4 file. 2. Wrong gbm dependency check code in configure.ac EFL_OPTIONAL_INTERNAL_DEPEND_PKG m4 macro function is designed for checking dependency of efl internal libraries. Thus we should remove gbm pkg name when configuring ecore_evas_drm engine module. It would be better to move dependency check for gbm to m4/ecore_check_module.m4 file. And one more thing want_drm value has to be changed to want_gl_drm in ECORE_EVAS_MODULE([gl-drm]...). 3. BUILD_ECORE_EVAS_OPENGL_DRM macro is always defined in configure.ac. This kind of macro, BUILD_EFL_MODULE_NAME, has to be defined only if given module is enabled. But this macro value was just defined with no test. And it is even useless, we can use BUILD_ECORE_EVAS_GL_DRM macro which is defined by ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}],...) function. So I've removed that from configure.ac. Test Plan: 1. Configure with --enable-gl-drm: $ ./autogen.sh --enable-drm --enable-gl-drm 2. Build: $ make && make install 3. Check module.so of ecore_evas_drm engine whether it has a library dependency with gbm: $ readelf -a $EFL_GIT/src/modules/ecore_evas/engines/drm/.libs/module.so | grep NEEDED Reviewers: raster, stefan_schmidt, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1379
2014-08-21evas: add evas gl-drm engineMun, Gwan-gyeong
Summary: This is the first step to introduce a gl-drm backend. Test Plan: "ecore evas" create with ecore_evas_gl_drm_new(). It creates "ecore evas" with gl_drm evas backend. @feature Reviewers: raster, Hermet, cedric, devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1187 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-06-25ecore-evas: Fix formatting and remove whitespaceChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-25ecore-evas: Fix cursor position getting reset to 0,0 when usingChris Michael
ecore_evas_cursor_object_set NB: Previously, if we mad calls to ecore_evas_cursor_object_set to update the mouse cursor hotspot, the mouse cursor would be repositioned at 0,0 on the canvas due to x & y being set to 0,0. We fix that here by fetching the current mouse position Regardless if we are changing the object or not (ie: perhaps we are just updating the hotspot and not the object) @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-04-02ecore-evas - fix object cursor to not delete the same cursor when setCarsten Haitzler (Rasterman)
this fixes a misbehavior with ecore evas object cursors when you set one, the old one is deleted, but if the old is the same, the new one you set gets deleted, rather than just updated. @fix
2014-04-01ecore-evas-drm: Enable vsync by default for ecore_evas drm engineChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-04-01ecore-evas-drm: Add better support for ecore_evas_fullscreen_setChris Michael
@bugfix: This fixes ecore_evas_drm to function properly when ecore_evas_fullsreen_set is called. This is needed for running Elementary apps 'standalone' in drm. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-22drm - shut up warnings (not actual bugs)Carsten Haitzler (Rasterman)
2014-03-18ecore-evas-drm: Add support for setting aspect of ecore_evasChris Michael
@feature: This adds support for ecore_evas_aspect_set to the drm engine Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for alpha & transparent settingChris Michael
@feature: This adds (preliminary) support for ecore_evas_alpha_set and ecore_evas_transparent_set NB: This is just the function placeholders and does not actually implement transparency yet Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for maximized, fullscreen, withdrawn, andChris Michael
ignore_events settings @feature: This adds support for: ecore_evas_maximized_set, ecore_evas_fullscreen_set, ecore_evas_withdrawn_set, and ecore_evas_ignore_events_set functions to the drm engine Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for ecore_evas_borderless_setChris Michael
@feature: This adds support for setting the ecore_evas to borderless Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for ecore_evas_iconified_setChris Michael
@feature: This adds support for ecore_evas_iconified_set in ecore_evas drm engine. NB: This does not actually iconify the ecore_evas yet tho Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for ecore_evas_layer_setChris Michael
@feature: This adds support for ecore_evas_layer_set function used to set the layer of the ecore_evas Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for ecore_evas_object_cursor_setChris Michael
@feature: This adds support for setting an Evas_Object as the cursor to use on the ecore_evas Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for setting size hintsChris Michael
@feature: This adds support for ecore_evas_size_min_set (and other size hint functions). Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for ecore_evas_name_class_setChris Michael
@feature: This adds support for setting the name & class of the ecore_evas Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for setting the title of the ecore_evasChris Michael
@feature: This adds support for setting the title of the ecore_evas with ecore_evas_title_set Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for rotation setChris Michael
@feature: This adds support for ecore_evas_rotation_set function and updates the Evas rotation accordingly Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for ecore_evas_move_resizeChris Michael
@feature: This adds support for the ecore_evas_move_resize function and calls the appropriate internal functions for this ecore_evas Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for ecore_evas_move functionChris Michael
@feature: This adds support for updating the ecore_evas location when ecore_evas_move is called, and also calling any "move" function of the ecore_evas. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for setting the mouse in & mouse outChris Michael
callbacks of the ecore_evas @feature: Add support for setting the callback functions to call when the ecore_evas gets mouse in or mouse out events Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for setting focus_in & focus_out callbacksChris Michael
@feature: Add support for setting the focus in & focus out callbacks of the ecore_evas. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Add support for resize and move callbacksChris Michael
@feature: Add support for setting the resize and move callbacks of the ecore_evas Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18ecore-evas-drm: Fix setting of the ecore_evas property window andChris Michael
register the prop.window for events. @fix: ecore_evas_window_get expects an Ecore_Window to be returned so we cannot use a void pointer in ecore_drm_device_window_get. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-12ecore-evas-drm: Fix printing of device name error messageChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-12ecore-evas-drm: Remove FIXME commentChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-12ecore-evas-drm: Try to find a drm device with the given nameChris Michael
If we are given a drm device name, tell ecore_drm to try and find That device. If it is not found, we fallback to the default drm device. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-12ecore-evas-drm: If not device name is passed in, use the device nameChris Michael
from drm. This assigns a name to the ecore_evas. If no device name was passed in, we will get the device name from the drm card. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-10ecore-evas-drm: Set window to receive input eventsChris Michael
After we have setup ecore-drm, we need to tell it where to send any input events, so call the ecore-drm API function to set the window. Also feed mouse_in to the canvas after creation, so that it gets focus. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-10ecore-evas-drm: Add initial code to make ecore_evas render using drmChris Michael
NB: This is still a work-in-progress and not complete yet Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06ecore-evas: Include Ecore_Drm headerChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28evas-drm: Set Magic on the Ecore_EvasChris Michael
@bugfix: Set magic on the ecore_evas Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28ecore_evas: Added support for window auxiliary hintGwanglim Lee
Summary: The window auxiliary hint is the value which is used to decide which actions should be made available to the user by the WM. If you want to set specific hint to your window, then you should check whether it exists in the supported auxiliary hints that are registered in the root window by the window manager. Once you've added an auxiliary hint, you can get a new ID which is used to change value and delete hint. The window manager sends the response message to the application on receiving auxiliary hint change event. A list of auxiliary hint within the Ecore_Evas has this format: ID:HINT:VALUE,ID:HINT:VALUE,... Reviewers: raster, cedric, seoz, Hermet Reviewed By: raster CC: cedric Differential Revision: https://phab.enlightenment.org/D543