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.
29 lines
948 B
29 lines
948 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd.. 2018-2019. All rights reserved.
|
|
* Description: Gralloc
|
|
* Author: Hisilicon
|
|
* Created: 2019.11.07
|
|
*/
|
|
|
|
#ifndef MALI_GRALLOC_DEBUG_H_
|
|
#define MALI_GRALLOC_DEBUG_H_
|
|
|
|
#include <utils/String8.h>
|
|
#include "gralloc_internal_priv.h"
|
|
|
|
#define GRALLOC_PROPERTY_ENBALE_AFBC "persist.vendor_im.gfx.afbc_compress"
|
|
#define GRALLOC_PROPERTY_DEBUG_DUMP "persist.sys.gralloc.dump"
|
|
#define GRALLOC_PROPERTY_DEBUG_CAPTURE "persist.sys.gralloc.capture"
|
|
|
|
#define DUMP_CAPTURE_DIR "/mnt/sdcard"
|
|
|
|
void gralloc_debug_dump_ionbuffer(const private_internal_handle_t *handle, bool is_retain);
|
|
void gralloc_debug_capture_ionbuffer(const private_internal_handle_t *handle);
|
|
void gralloc_debug_dump_framebuffer(const private_internal_handle_t *handle, const private_module_t *m);
|
|
|
|
void gralloc_debug_update_config(void);
|
|
bool gralloc_debug_dump_is_enabled(void);
|
|
bool gralloc_debug_capture_is_enabled(void);
|
|
|
|
#endif
|