You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
742 B

/*
* 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_ */