Commit Graph

377 Commits

Author SHA1 Message Date
Christopher Michael c7d2f9960d ecore_drm2: Add API to return device fd 2024-01-17 07:48:21 -05:00
Christopher Michael 2b900ab8e3 ecore_drm2: Add API to warp pointer 2024-01-17 07:34:48 -05:00
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 f6b0565b2b ecore_drm2: Add event handler to listen for when devices get added 2023-11-22 07:39:26 -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 616165e949 ecore_drm2: Add missing stringshare_del for backlight path when
display gets destroyed
2023-11-22 07:00:52 -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 6478f99851 ecore_drm2: Remove unused 'supported_rotations' field from
Ecore_Drm2_Display
2023-11-21 09:33:55 -05:00
Christopher Michael 0d0e6fedbc ecore_drm2: Remove unused 'fd' field on Ecore_Drm2_Display
This is currently not used for anything, so comment it out for now. If
it's needed later, we can just uncomment
2023-11-21 09:08:48 -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 0272285970 ecore_drm2: Update comment in ecore_drm2_planes 2023-11-21 09:06:24 -05:00
Christopher Michael 12f1b1db9c ecore_drm2: Prefer code readability over variable usage 2023-11-21 07:59:31 -05:00
Christopher Michael 7a00b69f4c ecore_drm2: Fix ecore_drm2_display_mode_set function 2023-11-21 07:31:30 -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 62f8ea49fa ecore_drm2: Add enums for state changes
This patch adds some enums so we can more easily track what has
changed in each objects state. This will allow us to selectively apply
Only what has been changed in each object
2023-03-08 10:26:01 -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 4a8b57192a ecore_drm2: Ensure display rotation value is filled in during
display_create
2023-01-09 11:45:37 -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 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