4 typedef struct _Outbuf Outbuf;
5 typedef struct _QT_Direct QT_Direct;
6 typedef struct _QT_Direct_Rect QT_Direct_Rect;
12 OUTBUF_DEPTH_RGB_16BPP_565_565_DITHERED,
13 OUTBUF_DEPTH_RGB_16BPP_555_555_DITHERED,
14 OUTBUF_DEPTH_RGB_16BPP_444_444_DITHERED,
15 OUTBUF_DEPTH_RGB_16BPP_565_444_DITHERED,
16 OUTBUF_DEPTH_RGB_32BPP_888_8888,
20 typedef enum _Outbuf_Depth Outbuf_Depth;
39 struct _QT_Direct_Rect
46 /* our target widget */
48 /* our direct painter object */
61 /* Relative to fb coords */
66 /* Relative to fb coords */
67 QT_Direct_Rect location;
68 QT_Direct_Rect updated;
76 void x_software_qtopia_init (void);
78 void evas_qtopia_outbuf_software_qtopia_init (void);
79 void evas_qtopia_outbuf_software_qtopia_free (Outbuf *buf);
81 Outbuf *evas_qtopia_outbuf_software_qtopia_setup_q (int w, int h, int rot, Outbuf_Depth depth, void *target);
83 void evas_qtopia_outbuf_software_qtopia_blit (Outbuf *buf, int src_x, int src_y, int w, int h, int dst_x, int dst_y);
84 void evas_qtopia_outbuf_software_qtopia_update (Outbuf *buf, int x, int y, int w, int h);
85 RGBA_Image *evas_qtopia_outbuf_software_qtopia_new_region_for_update (Outbuf *buf, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
86 void evas_qtopia_outbuf_software_qtopia_free_region_for_update (Outbuf *buf, RGBA_Image *update);
87 void evas_qtopia_outbuf_software_qtopia_push_updated_region (Outbuf *buf, RGBA_Image *update, int x, int y, int w, int h);
88 void evas_qtopia_outbuf_software_qtopia_reconfigure (Outbuf *buf, int w, int h, int rot, Outbuf_Depth depth);
89 int evas_qtopia_outbuf_software_qtopia_get_width (Outbuf *buf);
90 int evas_qtopia_outbuf_software_qtopia_get_height (Outbuf *buf);
91 Outbuf_Depth evas_qtopia_outbuf_software_qtopia_get_depth (Outbuf *buf);
92 int evas_qtopia_outbuf_software_qtopia_get_rot (Outbuf *buf);
93 int evas_qtopia_outbuf_software_qtopia_get_have_backbuf (Outbuf *buf);
94 void evas_qtopia_outbuf_software_qtopia_set_have_backbuf (Outbuf *buf, int have_backbuf);
96 QT_Direct *evas_qt_main_direct_start (void *target);
97 void evas_qt_main_direct_stop (QT_Direct *d);