From 74ea7372060f907d4a30b4fdd721579ed1af29e8 Mon Sep 17 00:00:00 2001 From: Simon Shields Date: Sun, 29 Oct 2017 22:39:52 +1100 Subject: exynos4: hwc: remove GRALLOC_USAGE_HW_ION usage HW_COMPOSER means the same thing and doesn't require modifying AOSP headers Change-Id: I29d9f6348a19b5cf778a4819a3dfd511ae789e0d --- exynos4/hal/libhwc/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exynos4') diff --git a/exynos4/hal/libhwc/window.cpp b/exynos4/hal/libhwc/window.cpp index e8a2ed1..a99ce67 100644 --- a/exynos4/hal/libhwc/window.cpp +++ b/exynos4/hal/libhwc/window.cpp @@ -121,7 +121,7 @@ int window_buffer_allocate(struct hwc_context_t *ctx, struct hwc_win_info_t *win for (i = 0; i < NUM_OF_WIN_BUF; i++) { rc = ctx->alloc_device->alloc(ctx->alloc_device, win->rect_info.w, win->rect_info.h, - HAL_PIXEL_FORMAT_RGBA_8888, GRALLOC_USAGE_HW_ION, &win->dst_buf[i], + HAL_PIXEL_FORMAT_RGBA_8888, GRALLOC_USAGE_HW_COMPOSER, &win->dst_buf[i], &dst_stride); if (rc < 0) { ALOGE("%s: Failed to allocate destination buffer: %s", __FUNCTION__, strerror(-rc)); -- cgit v1.2.3