Commit Graph

133 Commits

Author SHA1 Message Date
Christopher Michael 868a0b42ac ecore_drm2: Add API to return pointer position 2024-01-17 07:34:48 -05:00
Christopher Michael cfb8cabb3b ecore_drm2: Add API to return device clock id 2024-01-17 07:34:48 -05:00
Christopher Michael 3abd093360 ecore_drm2: Add API to return Display DPI 2024-01-17 07:34:48 -05:00
Christopher Michael 948a328965 ecore_drm2: Handle raising event for session active/inactive 2023-11-22 08:33:04 -05:00
Christopher Michael f2b2971de7 ecore_drm2: Add API function to set virtual terminal 2023-11-22 07:23:52 -05:00
Christopher Michael 3912427601 ecore_drm2: Add API function to calibrate input devices 2023-11-22 07:20:46 -05:00
Christopher Michael 0caf4c7730 ecore_drm2: Add API function to set pointer rotation 2023-11-22 07:16:50 -05:00
Christopher Michael 2382b4ab73 ecore_drm2: Add API function to set pointer max values 2023-11-22 07:12:58 -05:00
Christopher Michael ef1b33598b ecore_drm2: Add missing API declaration for relative mode set 2023-11-22 07:07:41 -05:00
Christopher Michael 430dee86e4 ecore_drm2: Add APIs to support setting display relative properties 2023-11-22 06:57:20 -05:00
Christopher Michael 862115284a ecore_drm2: Add API to return the supported rotations of a given display 2023-11-21 09:34:22 -05:00
Christopher Michael d8e6231f96 ecore_drm2: Add API function to return if a possible crtc 2023-11-21 09:07:53 -05:00
Christopher Michael 0b64497d9b ecore_drm2: Remove API function to get a crtc_id and add an API to
return a Crtc Structure
2023-11-21 07:04:25 -05:00
Christopher Michael ad1cf3fe75 ecore_drm2: Add API function to get list of crtcs 2023-11-21 06:55:59 -05:00
Christopher Michael 087665ab83 ecore_drm2: Move mode_set API out of testing 2023-11-21 06:23:38 -05:00
Christopher Michael 2b8b27ef5e ecore_drm2: Add API function to set display DPMS level 2023-03-08 10:42:47 -05:00
Christopher Michael 2ac01d0db7 ecore_drm2: Add API to enable/disable a display 2023-03-08 10:35:07 -05:00
Christopher Michael 0aecba7277 ecore_drm2: Change display_rotation_set to not return a value
As the actual changing of this property will now be 'atomic', we
cannot return a value here until After we try to apply the change so
remove the return type from the function
2023-03-08 10:29:56 -05:00
Christopher Michael 57caf9a1bb ecore_drm2: Move to using a current & pending state
Large patch that essentially moves all the code to use a current &
pending 'state' so that we can apply changes on vblank
2023-03-08 09:42:33 -05:00
Christopher Michael 5929cd7fa9 ecore_drm2: Add API function to return display rotation 2023-01-10 05:42:20 -05:00
Christopher Michael f85f6f5ad2 ecore_drm2: Add API to return display info
NB: This is unfinished !! Need to support rotations
2023-01-02 07:56:59 -05:00
Christopher Michael 7b19fbe81c ecore_drm2: Add API to return list of displays 2023-01-02 07:36:23 -05:00
Christopher Michael 5664911df8 ecore_drm2: Add API to get/set if display is primary 2023-01-02 07:28:52 -05:00
Christopher Michael cf2a325012 ecore_drm2: Add API to return display mode info 2023-01-02 07:25:44 -05:00
Christopher Michael 5278c54839 ecore_drm2: Add API to return display modes 2023-01-02 07:22:26 -05:00
Christopher Michael 28e9ef0ec0 ecore_drm2: Add API to return display edid 2023-01-02 07:20:03 -05:00
Christopher Michael f02385bd09 ecore_drm2: Add API to return display crtc id 2023-01-02 06:47:57 -05:00
Christopher Michael b8a257b7d6 ecore_drm2: Add API to return display enabled 2023-01-02 06:42:58 -05:00
Christopher Michael 3a635f0f98 ecore_drm2: Add API function to return dpms value 2022-12-14 06:17:28 -05:00
Christopher Michael 69ecb57c2b ecore_drm2: Add API function to get display physical size 2022-12-13 06:41:48 -05:00
Christopher Michael 5574ab8707 ecore_drm2: Add API function to return display subpixel 2022-12-13 06:39:01 -05:00
Christopher Michael 7ce9125d1e ecore_drm2: Add API function to return connector type 2022-12-13 06:36:44 -05:00
Christopher Michael df5f13ea64 ecore_drm2: Add API to return if a display is connected 2022-12-07 08:21:07 -05:00
Christopher Michael 8f5f7773b3 ecore_drm2: Add API to return if a backlight exists on display 2022-12-07 08:19:06 -05:00
Christopher Michael 122298af42 ecore_drm2: Add API to return display model 2022-12-07 08:10:16 -05:00
Christopher Michael defeaf1313 ecore_drm2: Add API to return display name 2022-12-07 08:08:34 -05:00
Christopher Michael e47a812240 ecore_drm2: Add API to get screen size range 2022-12-07 07:19:38 -05:00
Christopher Michael b2535043dc ecore_drm2: Add start of explicit threading for crtc state
NB: Pushing this so that the code is up there, but it is certainly
going to change shortly
2022-10-18 10:34:18 -04:00
Christopher Michael aa64d0f37c ecore_drm2: Add opaque structure for Ecore_Drm2_Display_Mode 2022-09-20 12:15:09 -04:00
Christopher Michael 2958c10c93 ecore_drm2: Add public structures for Crtc, Connector, Display, Plane
This commit adds opaque API structures for Crtc, Connector, Display,
and Plane. It also adds missing sym_drm functions that we will need
later
2022-09-20 08:42:55 -04:00
Christopher Michael aaa694e551 ecore_drm2: Add API function to get preferred depth 2022-09-20 08:42:55 -04:00
Christopher Michael 94cdf5d9f2 ecore_drm2: Add API function to retrieve cursor size 2022-09-20 08:42:55 -04:00
Christopher Michael 275e42275f ecore-drm2: Add enum for rotation 2022-09-20 08:42:55 -04:00
Christopher Michael 226d306454 ecore-drm2: Add start of Ecore_Drm2_Output structure 2022-09-20 08:42:55 -04:00
Christopher Michael 1e6df64525 ecore_drm2: Start rework of Ecore_Drm2 library
This removes all old code and starts fresh with just simple
ecore_drm2_init & ecore_drm2_shutdown functions
2022-09-20 08:42:55 -04:00
Christopher Michael ca169ec715 ecore-drm2: Add missing params for doxygen 2020-05-15 10:50:37 -04:00
Christopher Michael f3c4692221 ecore-drm2: Add API function to return default depth
Rather than hard-coding depth & bpp in the evas drm engines, we can
use this function to return the default depth & bpp.

@feature
2020-05-15 10:45:56 -04:00
Christopher Michael 7c1c09f3ed ecore-drm2: Add support for using page_flip_handler2
In our current Ecore_Drm2_Context structure, we are missing support
for using page_flip_handler2. This patch adds that ability. This could
prove useful when working with ecore_drm2 as it allows
page_flip_handler callbacks to setup a handler for page_flip_handler2,
which when the callback gets received, passes back the crtc_id which
the pageflip occured on.

@feature
2020-05-01 10:29:45 -04:00
Xavi Artigas e7f4bc4c2a doxygen docs: Fix all invalid @param names
There were quite a few of these...
2020-04-20 12:24:41 +02:00
Christopher Michael ead88ff2ad ecore-drm2: Add API to check if vblank is supported
This patch adds a small API that we can use to check if the current
video driver supports the usage of drmWaitVBlank. This check is
required for certain drivers (like vbox) which do not support
drmWaitVBlank and thus are causing our animators in ecore_evas to
freeze. We can now use this API from within Ecore_Evas to disable
vsync'd animators and fall back to timer based ones.

@feature
2019-05-22 07:44:00 -04:00