Searched refs:gralloc_usage (Results 1 – 2 of 2) sorted by relevance
/external/minigbm/cros_gralloc/gralloc0/tests/ |
D | gralloctest.c | 478 uint32_t stride, width, height, req_usage, gralloc_usage; in test_perform() local 510 gralloc_usage = 0; in test_perform() 511 CHECK(mod->perform(mod, GRALLOC_DRM_GET_USAGE, req_usage, &gralloc_usage) == 0); in test_perform() 512 CHECK(gralloc_usage == 0); in test_perform() 515 gralloc_usage = 0; in test_perform() 516 CHECK(mod->perform(mod, GRALLOC_DRM_GET_USAGE, req_usage, &gralloc_usage) == 0); in test_perform() 517 CHECK(gralloc_usage == BUFFER_USAGE_FRONT_RENDERING); in test_perform()
|
/external/minigbm/cros_gralloc/gralloc0/ |
D | gralloc0.cc | 317 uint32_t gralloc_usage = 0; in gralloc0_perform() local 404 gralloc_usage |= BUFFER_USAGE_FRONT_RENDERING; in gralloc0_perform() 405 *out_gralloc_usage = gralloc_usage; in gralloc0_perform()
|