typedef struct _E_Screen E_Screen;
-struct _E_Comp_Screen
-{
- Eina_List *outputs; // available screens
- int w, h; // virtual resolution (calculated)
- unsigned char ignore_hotplug_events;
- unsigned char ignore_acpi_events;
- Eina_List *e_screens;
-
- int num_outputs;
- tdm_display *tdisplay;
- tbm_bufmgr bufmgr;
- void *gdevice;
- int gdevice_fd;
-
- /* for sw compositing */
- const Eina_List *devices;
-
- /* for screen_rotation */
- int rotation_pre;
- int rotation_setting;
- int rotation;
-
- /* pp support */
- Eina_Bool pp_enabled;
- Eina_List *available_pp_formats;
-
- tbm_surface_queue_h tqueue;
-
- int fd;
- Ecore_Fd_Handler *hdlr;
-};
-
-
struct _E_Screen
{
int screen, escreen;
#include <tdm.h>
#include <xkbcommon/xkbcommon.h>
+struct _E_Comp_Screen
+{
+ Eina_List *outputs; // available screens
+ int w, h; // virtual resolution (calculated)
+ unsigned char ignore_hotplug_events;
+ unsigned char ignore_acpi_events;
+ Eina_List *e_screens;
+
+ int num_outputs;
+ tdm_display *tdisplay;
+ tbm_bufmgr bufmgr;
+ void *gdevice;
+ int gdevice_fd;
+
+ /* for sw compositing */
+ const Eina_List *devices;
+
+ /* for screen_rotation */
+ int rotation_pre;
+ int rotation_setting;
+ int rotation;
+
+ /* pp support */
+ Eina_Bool pp_enabled;
+ Eina_List *available_pp_formats;
+
+ tbm_surface_queue_h tqueue;
+
+ int fd;
+ Ecore_Fd_Handler *hdlr;
+};
+
E_API Eina_Bool e_comp_screen_rotation_setting_set(E_Comp_Screen *e_comp_screen, int rotation);
E_API void e_comp_screen_rotation_ignore_output_transform_send(E_Client *ec, Eina_Bool ignore);
E_API Eina_Bool e_comp_screen_available_video_formats_get(const tbm_format **formats, int *count);