Change-Id: I670ff7e03b19c07094b506a4422f99c30f06db0e
private_handle_rect *psFRect;
psRect = (private_handle_rect *)calloc(1, sizeof(private_handle_rect));
psRect->handle = (int)hnd->ump_id;
- psRect->stride = (int)hnd->stride_raw;
+ psRect->stride = stride_raw;
psFRect = find_last_rect((int)hnd->ump_id);
psFRect->next = psRect;
}
psFRect->next = psRect;
}
#endif
- if (hnd->pid == getpid())
- return 0;
if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION)
err = gralloc_map(module, handle, &vaddr);