summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/Ecore_Drm.h
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-08 10:41:26 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2015-04-10 11:09:50 +0200
commite11be98ed05b695d9dc6f662b1f957eca28c2160 (patch)
tree430758bd1fb1d599e07117bb43efbe234547eb2e /src/lib/ecore_drm/Ecore_Drm.h
parent70e8a002718e137bf85f20c6179fa8932fd12083 (diff)
ecore-drm: Add API function to find an output at given coordinates
Summary: This commit adds an API function that can be used to find an output given an x/y coordinate pair. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r--src/lib/ecore_drm/Ecore_Drm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h
index 8d1320e8f2..92ffc02bf8 100644
--- a/src/lib/ecore_drm/Ecore_Drm.h
+++ b/src/lib/ecore_drm/Ecore_Drm.h
@@ -341,6 +341,7 @@ EAPI const char *ecore_drm_device_name_get(Ecore_Drm_Device *dev);
341 * which includes creating dumb buffers to render into 341 * which includes creating dumb buffers to render into
342 * 342 *
343 * @param dev The Ecore_Drm_Device to setup for software rendering 343 * @param dev The Ecore_Drm_Device to setup for software rendering
344 *
344 * @return EINA_TRUE on success, EINA_FALSE on failure 345 * @return EINA_TRUE on success, EINA_FALSE on failure
345 * 346 *
346 * @ingroup Ecore_Drm_Device_Group 347 * @ingroup Ecore_Drm_Device_Group
@@ -349,6 +350,23 @@ EAPI const char *ecore_drm_device_name_get(Ecore_Drm_Device *dev);
349EAPI Eina_Bool ecore_drm_device_software_setup(Ecore_Drm_Device *dev); 350EAPI Eina_Bool ecore_drm_device_software_setup(Ecore_Drm_Device *dev);
350 351
351/** 352/**
353 * Find an Ecore_Drm_Output at the given coordinates
354 *
355 * This function will loop all the existing outputs in Ecore_Drm_Device and
356 * return an output if one exists that encapsulates the given coordinates.
357 *
358 * @param dev The Ecore_Drm_Device to search
359 * @param x The x coordinate
360 * @param y The y coordinate
361 *
362 * @return An Ecore_Drm_Output if one exists at these coordinates or NULL
363 *
364 * @ingroup Ecore_Drm_Device_Group
365 * @since 1.15
366 */
367EAPI Ecore_Drm_Output *ecore_drm_device_output_find(Ecore_Drm_Device *dev, int x, int y);
368
369/**
352 * Open a tty for use 370 * Open a tty for use
353 * 371 *
354 * @param dev The Ecore_Drm_Device that this tty will belong to. 372 * @param dev The Ecore_Drm_Device that this tty will belong to.