diff options
author | Steve Block <steveblock@google.com> | 2011-12-20 16:25:43 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-03 22:32:05 +0000 |
commit | 3a7df2c042eb8c7289e24e77dd316f73bd0c456f (patch) | |
tree | 7627cc735bb5a8c67d58b6ac54bbfe9ab5d9054f /hwc | |
parent | e2fbd59c26e871f0a2c766aa8a7150844d74e6a3 (diff) | |
download | hardware_ti_omap4xxx-3a7df2c042eb8c7289e24e77dd316f73bd0c456f.zip hardware_ti_omap4xxx-3a7df2c042eb8c7289e24e77dd316f73bd0c456f.tar.gz hardware_ti_omap4xxx-3a7df2c042eb8c7289e24e77dd316f73bd0c456f.tar.bz2 |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I551e5a040249a8908251cd8c8d7131287f1f53de
Diffstat (limited to 'hwc')
-rw-r--r-- | hwc/hwc.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -172,7 +172,7 @@ static int debug = 0; static void dump_layer(hwc_layer_t const* l) { - LOGD("\ttype=%d, flags=%08x, handle=%p, tr=%02x, blend=%04x, {%d,%d,%d,%d}, {%d,%d,%d,%d}", + ALOGD("\ttype=%d, flags=%08x, handle=%p, tr=%02x, blend=%04x, {%d,%d,%d,%d}, {%d,%d,%d,%d}", l->compositionType, l->flags, l->handle, l->transform, l->blending, l->sourceCrop.left, l->sourceCrop.top, @@ -188,7 +188,7 @@ static void dump_dsscomp(struct dsscomp_setup_dispc_data *d) { unsigned i; - LOGD("[%08x] set: %c%c%c %d ovls\n", + ALOGD("[%08x] set: %c%c%c %d ovls\n", d->sync_id, (d->mode & DSSCOMP_SETUP_MODE_APPLY) ? 'A' : '-', (d->mode & DSSCOMP_SETUP_MODE_DISPLAY) ? 'D' : '-', @@ -197,7 +197,7 @@ static void dump_dsscomp(struct dsscomp_setup_dispc_data *d) for (i = 0; i < d->num_mgrs; i++) { struct dss2_mgr_info *mi = &d->mgrs[i]; - LOGD(" (dis%d alpha=%d col=%08x ilace=%d)\n", + ALOGD(" (dis%d alpha=%d col=%08x ilace=%d)\n", mi->ix, mi->alpha_blending, mi->default_color, mi->interlaced); @@ -207,10 +207,10 @@ static void dump_dsscomp(struct dsscomp_setup_dispc_data *d) struct dss2_ovl_info *oi = &d->ovls[i]; struct dss2_ovl_cfg *c = &oi->cfg; if (c->zonly) - LOGD("ovl%d(%s z%d)\n", + ALOGD("ovl%d(%s z%d)\n", c->ix, c->enabled ? "ON" : "off", c->zorder); else - LOGD("ovl%d(%s z%d %s%s *%d%% %d*%d:%d,%d+%d,%d rot%d%s => %d,%d+%d,%d %p/%p|%d)\n", + ALOGD("ovl%d(%s z%d %s%s *%d%% %d*%d:%d,%d+%d,%d rot%d%s => %d,%d+%d,%d %p/%p|%d)\n", c->ix, c->enabled ? "ON" : "off", c->zorder, DSS_FMT(c->color_mode), c->pre_mult_alpha ? " premult" : "", (c->global_alpha * 100 + 128) / 255, @@ -286,7 +286,7 @@ static void dump_set_info(omap4_hwc_device_t *hwc_dev, hwc_layer_list_t* list) } dump_printf(&log, "}%s\n", hwc_dev->use_sgx ? " swap" : ""); - LOGD("%s", log.buf); + ALOGD("%s", log.buf); } static int sync_id = 0; @@ -896,9 +896,9 @@ static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres, score = add_scaling_score(score, xres, yres, 60, ext_fb_xres, ext_fb_yres, mode_xres, mode_yres, d.modedb[i].refresh ? : 1); - LOGD("#%d: %dx%d %dHz", i, mode_xres, mode_yres, d.modedb[i].refresh); + ALOGD("#%d: %dx%d %dHz", i, mode_xres, mode_yres, d.modedb[i].refresh); if (debug) - LOGD(" score=0x%x adj.res=%dx%d", score, ext_fb_xres, ext_fb_yres); + ALOGD(" score=0x%x adj.res=%dx%d", score, ext_fb_xres, ext_fb_yres); if (best_score < score) { ext->width = ext_width; ext->height = ext_height; @@ -911,7 +911,7 @@ static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres, if (~best) { struct dsscomp_setup_display_data sdis = { .ix = 1, }; sdis.mode = d.dis.modedb[best]; - LOGD("picking #%d", best); + ALOGD("picking #%d", best); /* only reconfigure on change */ if (ext->last_mode != ~best) ioctl(hwc_dev->dsscomp_fd, DSSCIOC_SETUP_DISPLAY, &sdis); @@ -1145,7 +1145,7 @@ static int clone_external_layer(omap4_hwc_device_t *hwc_dev, int ix) { yres != ext->last_yres_used || xpy < ext->last_xpy * (1.f - ASPECT_RATIO_TOLERANCE) || xpy * (1.f - ASPECT_RATIO_TOLERANCE) > ext->last_xpy) { - LOGD("set up HDMI for %d*%d\n", xres, yres); + ALOGD("set up HDMI for %d*%d\n", xres, yres); if (omap4_hwc_set_best_hdmi_mode(hwc_dev, xres, yres, xpy)) { ext->current.enabled = 0; return -ENODEV; @@ -1373,7 +1373,7 @@ static int omap4_hwc_prepare(struct hwc_composer_device *dev, hwc_layer_list_t* } if (debug) { - LOGD("prepare (%d) - %s (comp=%d, poss=%d/%d scaled, RGB=%d,BGR=%d,NV12=%d) (ext=%s%s%ddeg%s %dex/%dmx (last %dex,%din)\n", + ALOGD("prepare (%d) - %s (comp=%d, poss=%d/%d scaled, RGB=%d,BGR=%d,NV12=%d) (ext=%s%s%ddeg%s %dex/%dmx (last %dex,%din)\n", dsscomp->sync_id, hwc_dev->use_sgx ? "SGX+OVL" : "all-OVL", num.composited_layers, |