cros_gralloc_handle_t cros_gralloc_convert_handle(buffer_handle_t handle);
-__attribute__((format(printf, 4, 5))) void cros_gralloc_log(const char *prefix, const char *file,
- int line, const char *format, ...);
+int32_t cros_gralloc_sync_wait(int32_t fence, bool close_fence);
-#define cros_gralloc_error(...) \
- do { \
- cros_gralloc_log("CROS_GRALLOC_ERROR", __FILE__, __LINE__, __VA_ARGS__); \
- } while (0)
+std::string get_drm_format_string(uint32_t drm_format);
#endif