hwc_copybit: add back adsp heap usage
Change-Id: I0204a0a5181043097a00925b50386cf612d88f07
This commit is contained in:
parent
0f24916293
commit
37f4aeb3c6
@ -269,7 +269,8 @@ int CopyBit::drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_t *layer,
|
||||
}
|
||||
ALOGE("%s:%d::tmp_w = %d,tmp_h = %d",__FUNCTION__,__LINE__,tmp_w,tmp_h);
|
||||
|
||||
int usage = GRALLOC_USAGE_PRIVATE_MM_HEAP;
|
||||
int usage = GRALLOC_USAGE_PRIVATE_ADSP_HEAP |
|
||||
GRALLOC_USAGE_PRIVATE_MM_HEAP;
|
||||
|
||||
if (0 == alloc_buffer(&tmpHnd, tmp_w, tmp_h, fbHandle->format, usage)){
|
||||
copybit_image_t tmp_dst;
|
||||
|
Loading…
x
Reference in New Issue
Block a user