/* * Copyright (c) Hisilicon Technologies Co., Ltd.. 2018-2019. All rights reserved. * Description: Gralloc * Author: Hisilicon * Created: 2019.11.07 */ #ifndef GRALLOC_FRAMEBUFFER_H_ #define GRALLOC_FRAMEBUFFER_H_ #include "gralloc_internal_priv.h" #include "gralloc_descriptor.h" #define framebuffer_device_open gralloc_framebuffer_device_open int gralloc_framebuffer_allocate(private_module_t *m, buffer_descriptor_t *descriptors, buffer_handle_t *out_buffers, const bool *shared_backend); void gralloc_framebuffer_free(const private_module_t *m, buffer_handle_t buffer); int gralloc_framebuffer_device_open(const hw_module_t *module, hw_device_t **device); #endif /* GRALLOC_FRAMEBUFFER_H_ */