summaryrefslogtreecommitdiffstats
path: root/exynos4
diff options
context:
space:
mode:
authorSimon Shields <simon@lineageos.org>2017-10-17 15:57:22 +1100
committerShilin Victor <chrono.monochrome@gmail.com>2019-02-23 16:51:46 +0300
commitcfaaa47f2db643ca286c0226f582409d15486f43 (patch)
treebda0dd8fdf27898ece204dc58ead36650ab40eb9 /exynos4
parent5a5c9e25ca3b885ea4ce958b4c5c84f44adaa555 (diff)
downloadhardware_samsung-cfaaa47f2db643ca286c0226f582409d15486f43.tar.gz
hardware_samsung-cfaaa47f2db643ca286c0226f582409d15486f43.tar.bz2
hardware_samsung-cfaaa47f2db643ca286c0226f582409d15486f43.zip
exynos4: hwc: include plane_alpha in output
Change-Id: Ic7cae63f4fe8ef48c7e16838c2dbdbcbf88da7b3
Diffstat (limited to 'exynos4')
-rw-r--r--exynos4/hal/libhwc/hwcomposer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/exynos4/hal/libhwc/hwcomposer.cpp b/exynos4/hal/libhwc/hwcomposer.cpp
index 9393020..1433c58 100644
--- a/exynos4/hal/libhwc/hwcomposer.cpp
+++ b/exynos4/hal/libhwc/hwcomposer.cpp
@@ -1343,8 +1343,8 @@ static void hwc_dump(struct hwc_composer_device_1* dev, char *buff, int buff_len
android::String8 tmp("");
tmp.appendFormat("Exynos HWC: force_fb=%d force_gpu=%d bypass_count=%d multi_fimg=%d\n", ctx->force_fb, ctx->force_gpu,
ctx->bypass_count, ctx->multi_fimg);
- tmp.appendFormat("win | mode | layer_index | paddr | hnd |\n");
- // 3-- | 4--- | 11--------- | 0x100000000 | 0x100000000 |
+ tmp.appendFormat("win | mode | layer_index | paddr | hnd | alpha |\n");
+ // 3-- | 4--- | 11--------- | 0x100000000 | 0x100000000 | 255 |
int fimc_win = -1;
int fimg_win = -1;
for (int i = 0; i < NUM_HW_WINDOWS; i++) {
@@ -1352,13 +1352,13 @@ static void hwc_dump(struct hwc_composer_device_1* dev, char *buff, int buff_len
if (win->gsc.mode == gsc_map_t::FIMC) fimc_win = i;
else if (win->gsc.mode == gsc_map_t::FIMG) fimg_win = i;
if (win->src_buf)
- tmp.appendFormat(" %d | %4s | % 2d | 0x%09x | 0x%09x\n",
+ tmp.appendFormat(" %d | %4s | % 2d | 0x%09x | 0x%09x | % 3d |\n",
i, win->layer_index < 0 ? "OFF" : modes[win->gsc.mode],
- win->layer_index, win->src_buf->paddr, win->src_buf);
+ win->layer_index, win->src_buf->paddr, win->src_buf, win->win_cfg.plane_alpha);
else
- tmp.appendFormat(" %d | %4s | % 2d | 0x%09x | 0x%09x\n",
+ tmp.appendFormat(" %d | %4s | % 2d | 0x%09x | 0x%09x | % 3d |\n",
i, win->layer_index < 0 ? "OFF" : modes[win->gsc.mode],
- win->layer_index, 0xdead, 0x0);
+ win->layer_index, 0xdead, 0x0, win->win_cfg.plane_alpha);
}