diff options
author | Simon Shields <simon@lineageos.org> | 2017-10-29 22:39:52 +1100 |
---|---|---|
committer | Shilin Victor <chrono.monochrome@gmail.com> | 2019-02-23 16:51:46 +0300 |
commit | 74ea7372060f907d4a30b4fdd721579ed1af29e8 (patch) | |
tree | 0676b101802a8c4db63133f97fb6a150e381a619 /exynos4 | |
parent | d58e3967a691f93807a1d15a5488f3557a83a089 (diff) | |
download | hardware_samsung-74ea7372060f907d4a30b4fdd721579ed1af29e8.tar.gz hardware_samsung-74ea7372060f907d4a30b4fdd721579ed1af29e8.tar.bz2 hardware_samsung-74ea7372060f907d4a30b4fdd721579ed1af29e8.zip |
exynos4: hwc: remove GRALLOC_USAGE_HW_ION usage
HW_COMPOSER means the same thing and doesn't require modifying AOSP
headers
Change-Id: I29d9f6348a19b5cf778a4819a3dfd511ae789e0d
Diffstat (limited to 'exynos4')
-rw-r--r-- | exynos4/hal/libhwc/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |