Searched refs:rgba_info (Results 1 – 1 of 1) sorted by relevance
/external/autotest/client/site_tests/graphics_Gralloc/src/ |
D | gralloctest.c | 612 struct grallocinfo rgba_info, ycbcr_info; in test_async() local 613 grallocinfo_init(&rgba_info, 512, 512, HAL_PIXEL_FORMAT_BGRA_8888, in test_async() 618 CHECK(allocate(ctx->device, &rgba_info)); in test_async() 621 CHECK(lock_async(ctx->module, &rgba_info)); in test_async() 624 CHECK(rgba_info.vaddr); in test_async() 633 CHECK(unlock_async(ctx->module, &rgba_info)); in test_async() 636 if (rgba_info.fence_fd >= 0) { in test_async() 637 CHECK(sync_wait(rgba_info.fence_fd, 10000) >= 0); in test_async() 638 CHECK(close(rgba_info.fence_fd) == 0); in test_async() 646 CHECK(deallocate(ctx->device, &rgba_info)); in test_async()
|