2013-04-29 04:40:24 -07:00
|
|
|
#ifndef EVAS_ENGINE_H
|
|
|
|
# define EVAS_ENGINE_H
|
|
|
|
|
|
|
|
extern int _evas_engine_drm_log_dom;
|
|
|
|
|
|
|
|
# ifdef ERR
|
|
|
|
# undef ERR
|
|
|
|
# endif
|
|
|
|
# define ERR(...) EINA_LOG_DOM_ERR(_evas_engine_drm_log_dom, __VA_ARGS__)
|
|
|
|
|
|
|
|
# ifdef DBG
|
|
|
|
# undef DBG
|
|
|
|
# endif
|
|
|
|
# define DBG(...) EINA_LOG_DOM_DBG(_evas_engine_drm_log_dom, __VA_ARGS__)
|
|
|
|
|
|
|
|
# ifdef INF
|
|
|
|
# undef INF
|
|
|
|
# endif
|
|
|
|
# define INF(...) EINA_LOG_DOM_INFO(_evas_engine_drm_log_dom, __VA_ARGS__)
|
|
|
|
|
|
|
|
# ifdef WRN
|
|
|
|
# undef WRN
|
|
|
|
# endif
|
|
|
|
# define WRN(...) EINA_LOG_DOM_WARN(_evas_engine_drm_log_dom, __VA_ARGS__)
|
|
|
|
|
2013-12-25 19:22:05 -08:00
|
|
|
# ifdef CRI
|
|
|
|
# undef CRI
|
2013-04-29 04:40:24 -07:00
|
|
|
# endif
|
2013-12-25 19:22:05 -08:00
|
|
|
# define CRI(...) EINA_LOG_DOM_CRIT(_evas_engine_drm_log_dom, __VA_ARGS__)
|
2013-04-29 04:40:24 -07:00
|
|
|
|
2013-04-29 23:08:25 -07:00
|
|
|
typedef struct _Outbuf Outbuf;
|
|
|
|
|
2013-05-01 02:24:08 -07:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
MODE_FULL,
|
|
|
|
MODE_COPY,
|
|
|
|
MODE_DOUBLE,
|
|
|
|
MODE_TRIPLE
|
|
|
|
};
|
|
|
|
|
2013-04-29 23:08:25 -07:00
|
|
|
struct _Outbuf
|
|
|
|
{
|
2013-05-01 00:27:02 -07:00
|
|
|
int w, h;
|
|
|
|
unsigned int rotation, depth;
|
2013-04-29 23:08:25 -07:00
|
|
|
Eina_Bool destination_alpha : 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
Outbuf *evas_outbuf_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool alpha);
|
|
|
|
void evas_outbuf_free(Outbuf *ob);
|
2013-05-01 00:25:20 -07:00
|
|
|
void evas_outbuf_reconfigure(Outbuf *ob, int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool alpha);
|
2013-04-29 23:08:25 -07:00
|
|
|
|
2013-04-29 04:40:24 -07:00
|
|
|
#endif
|