Commit Graph

67012 Commits

Author SHA1 Message Date
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 3d939077ca ecore_drm2: Mark unused parameters
This will change in the future, but for now mark them as unused so we
can shut up the compiler
2022-12-07 07:24:36 -05:00
Christopher Michael e47a812240 ecore_drm2: Add API to get screen size range 2022-12-07 07:19:38 -05:00
Christopher Michael 06960f71ca ecore_drm2: Remove test API
This will get replaced with an actual API
2022-12-07 07:19:33 -05:00
Christopher Michael 92deac89ac ecore_drm2: Add symlinks for libdrm functions needed for Atomic support 2022-12-06 10:35:42 -05:00
Christopher Michael d22f3f389c ecore_drm2: Add support for plane zpos property 2022-12-03 10:12:25 -05:00
Christopher Michael e21afd5d1a ecore_drm2: Cleanup explicit thread handling
There were cases where the thread queue was not being created, and
cases where the thread queue was not being cleaned up properly.
2022-12-03 08:54:42 -05:00
Christopher Michael 01c6609a82 ecore_drm2: Add field to store drm property flags
This will allow us to test if a property is immutable so we do not try
to set a property value on something that cannot be changed. For
example, some drivers have an immutable zpos on planes so we cannot
change those.
2022-12-03 08:02:58 -05:00
Christopher Michael 4504e1d5ee ecore_drm2: Remove dead comments 2022-12-03 07:57:12 -05:00
Christopher Michael 3cd26bcdc2 ecore_drm2: Remove ECORE_DRM2_THREAD_CODE_COMMIT op code
As a portion of the upcoming API will require sending return values
from called functions, we will not use threading for doing atomic
commits so there is no need for this op code.
2022-12-03 06:16:44 -05:00
Christopher Michael cd5afa6128 ecore_drm2: Reorder defines for messages 2022-12-03 06:16:28 -05:00
Christopher Michael 9443dd0adc elementary_config: Fix typo for Entry 'Mangifiers' 2022-12-03 06:16:28 -05:00
Christopher Michael daeb5264a8 evas_main: Minor formatting fixes
NB: No functional changes
2022-12-03 06:16:28 -05:00
Christopher Michael 9d668bd8b4 ecore_drm2: Minor formatting fix 2022-11-15 06:00:38 -05:00
Christopher Michael 0435a37a7e ecore_drm2: Add explicit thread support for drm Planes 2022-11-15 05:47:27 -05:00
Christopher Michael 2948265dc2 ecore_drm2: Add explicit thread support for Displays 2022-11-11 06:26:13 -05:00
Christopher Michael c70d27f7f3 ecore_drm2: Add explicit thread support for drm Connectors 2022-11-08 08:03:34 -05:00
Christopher Michael 1e4761291c ecore_drm2: Fix invalid free, remove useless goto, and don't create
more than one eina_thread_queue
2022-11-08 08:03:27 -05:00
Christopher Michael 3ab68831da ecore_drm2: Switch threading code to use an 'op code'
This should make it easier in the future to add more thread
operations. Also, this fixes up the issue that the eina_thread_queue
was never freed
2022-11-08 07:33:22 -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 ef070b7816 ecore_drm2: Add code to fill Display Modes 2022-09-23 09:16:42 -04:00
Christopher Michael eb4940d94e ecore_drm2: Rename some variables in the structures to avoid confusion
While I hate CamelCase, using drmCrtc, drmConn, etc makes it easier
when reading the code to distinguish what we are operating on/with.
2022-09-22 11:50:52 -04:00
Christopher Michael 1e2517cf07 ecore_drm2: Start on code to add Display Modes 2022-09-20 12:26:45 -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 adb95075fc ecore_drm2: Add backlight support to Displays 2022-09-20 09:36:10 -04:00
Christopher Michael 51ae3a1c9b ecore_drm2: Comment out unused variable in session callback 2022-09-20 09:35:50 -04:00
Christopher Michael 2e01beadd4 ecore_drm2: Remove old ecore_drm2_atomic.c file 2022-09-20 08:44:04 -04:00
Christopher Michael 5dffb60708 ecore_drm2: Add code to fill atomic state in threads for Crtcs, Connectors,
Displays, and Planes
2022-09-20 08:42:55 -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 45ef76a41f ecore-drm2: Add code to free Atomic State on device close 2022-09-20 08:42:55 -04:00
Christopher Michael df5a498859 ecore-drm2: Add support to fill Atomic Modesetting state 2022-09-20 08:42:55 -04:00
Christopher Michael 7f24f9793a ecore-drm2: Add symlinks for libdrm functions needed for Atomic support 2022-09-20 08:42:55 -04:00
Christopher Michael e90eab4940 ecore-drm2: Add structures for Atomic Modesetting support 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 75975addc0 ecore-drm2: Be sure to initialize & shutdown elput_input 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