mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
exynos4: hwc: remove GRALLOC_USAGE_HW_ION usage
HW_COMPOSER means the same thing and doesn't require modifying AOSP headers Change-Id: I29d9f6348a19b5cf778a4819a3dfd511ae789e0d
This commit is contained in:
parent
6c9141f69d
commit
60d6c48cca
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue