1 #ifndef _ECORE_BUFFER_PRIVATE_H_
2 # define _ECORE_BUFFER_PRIVATE_H_
14 #define ERR(...) EINA_LOG_DOM_ERR(_ecore_buffer_queue_log_dom, __VA_ARGS__)
15 #define DBG(...) EINA_LOG_DOM_DBG(_ecore_buffer_queue_log_dom, __VA_ARGS__)
16 #define WARN(...) EINA_LOG_DOM_WARN(_ecore_buffer_queue_log_dom, __VA_ARGS__)
18 #define CALLBACK_CALL(obj, cbname) \
21 obj->cb.cbname(obj, obj->cb.data); \
24 extern int _ecore_buffer_queue_log_dom;
26 const char *_ecore_buffer_engine_name_get(Ecore_Buffer *buf);
27 /* NOTE: if Ecore_Export_Type as a return value is EXPORT_TYPE_FD,
28 * then caller should close the fd after using it. */
29 Ecore_Export_Type _ecore_buffer_export(Ecore_Buffer *buf, int *id);
30 Ecore_Buffer *_ecore_buffer_import(const char *engine, int width, int height, Ecore_Buffer_Format format, Ecore_Export_Type type, int export_id, unsigned int flags);
31 #endif /* _ECORE_BUFFER_PRIVATE_H_ */