hwcomposer: disable verbose logging in info level
This commit is contained in:
parent
ea90344cfd
commit
8b6510e113
1 changed files with 11 additions and 11 deletions
|
|
@ -72,7 +72,7 @@ struct HwcContext {
|
||||||
};
|
};
|
||||||
|
|
||||||
static void dump_layer(hwc_layer_1_t const* l) {
|
static void dump_layer(hwc_layer_1_t const* l) {
|
||||||
ALOGI("\tname='%s', type=%d, flags=%08x, handle=%p, tr=%02x, blend=%04x, {%d,%d,%d,%d}, {%d,%d,%d,%d}",
|
ALOGD("\tname='%s', type=%d, flags=%08x, handle=%p, tr=%02x, blend=%04x, {%d,%d,%d,%d}, {%d,%d,%d,%d}",
|
||||||
l->name, l->compositionType, l->flags, l->handle, l->transform, l->blending,
|
l->name, l->compositionType, l->flags, l->handle, l->transform, l->blending,
|
||||||
l->sourceCrop.left,
|
l->sourceCrop.left,
|
||||||
l->sourceCrop.top,
|
l->sourceCrop.top,
|
||||||
|
|
@ -88,7 +88,7 @@ static int hwc_prepare(hwc_composer_device_1_t* dev, size_t numDisplays,
|
||||||
hwc_display_contents_1_t** displays) {
|
hwc_display_contents_1_t** displays) {
|
||||||
auto context = reinterpret_cast<HwcContext*>(dev);
|
auto context = reinterpret_cast<HwcContext*>(dev);
|
||||||
|
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
if (displays == NULL || displays[0] == NULL)
|
if (displays == NULL || displays[0] == NULL)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
@ -170,7 +170,7 @@ static int hwc_set(hwc_composer_device_1_t* dev, size_t numDisplays,
|
||||||
hwc_display_contents_1_t** displays) {
|
hwc_display_contents_1_t** displays) {
|
||||||
auto context = reinterpret_cast<HwcContext*>(dev);
|
auto context = reinterpret_cast<HwcContext*>(dev);
|
||||||
|
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
if (displays == NULL || displays[0] == NULL)
|
if (displays == NULL || displays[0] == NULL)
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
|
|
@ -213,30 +213,30 @@ static int hwc_set(hwc_composer_device_1_t* dev, size_t numDisplays,
|
||||||
|
|
||||||
static int hwc_event_control(hwc_composer_device_1* dev, int disp,
|
static int hwc_event_control(hwc_composer_device_1* dev, int disp,
|
||||||
int event, int enabled) {
|
int event, int enabled) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void hwc_register_procs(hwc_composer_device_1* dev,
|
static void hwc_register_procs(hwc_composer_device_1* dev,
|
||||||
hwc_procs_t const* procs) {
|
hwc_procs_t const* procs) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int hwc_blank(hwc_composer_device_1* dev, int disp, int blank) {
|
static int hwc_blank(hwc_composer_device_1* dev, int disp, int blank) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int hwc_query(hwc_composer_device_1* dev, int what, int* value) {
|
static int hwc_query(hwc_composer_device_1* dev, int what, int* value) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int hwc_device_close(hw_device_t* dev) {
|
static int hwc_device_close(hw_device_t* dev) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
auto context = reinterpret_cast<HwcContext*>(dev);
|
auto context = reinterpret_cast<HwcContext*>(dev);
|
||||||
delete context;
|
delete context;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -244,7 +244,7 @@ static int hwc_device_close(hw_device_t* dev) {
|
||||||
|
|
||||||
static int hwc_get_display_configs(hwc_composer_device_1* dev, int disp,
|
static int hwc_get_display_configs(hwc_composer_device_1* dev, int disp,
|
||||||
uint32_t* configs, size_t* numConfigs) {
|
uint32_t* configs, size_t* numConfigs) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
if (disp != 0) {
|
if (disp != 0) {
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
@ -263,7 +263,7 @@ static int hwc_get_display_attributes(hwc_composer_device_1* dev,
|
||||||
int disp, uint32_t config,
|
int disp, uint32_t config,
|
||||||
const uint32_t* attributes,
|
const uint32_t* attributes,
|
||||||
int32_t* values) {
|
int32_t* values) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
if (disp != 0 || config != 0) {
|
if (disp != 0 || config != 0) {
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
@ -298,7 +298,7 @@ static int hwc_get_display_attributes(hwc_composer_device_1* dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
static int hwc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) {
|
static int hwc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) {
|
||||||
ALOGI("%s", __PRETTY_FUNCTION__);
|
ALOGD("%s", __PRETTY_FUNCTION__);
|
||||||
|
|
||||||
if (strcmp(name, HWC_HARDWARE_COMPOSER) != 0)
|
if (strcmp(name, HWC_HARDWARE_COMPOSER) != 0)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue