Hello,
gbm_gralloc is the only gralloc0 implementation not passing gralloc_order test,
the test case is described in the comment
gralloctest.c has not changed much, here is a recent version
https://android.googlesource.com/platform/external/minigbm/+/refs/tags/android-11.0.0_r33/cros_gralloc/gralloc0/tests/gralloctest.c
@line 394
/*
* Duplicate the buffer handle to simulate an additional reference
* in same process.
*/
native_handle_t *native_handle = duplicate_buffer_handle(info.handle);
duplicate.handle = native_handle;
CHECK(unregister_buffer(ctx->module, &duplicate) == 0);
CHECK(register_buffer(ctx->module, &duplicate)); /* @line 402 here is the CHECK that is failing only with gbm_gralloc */
Hello,
gbm_gralloc is the only gralloc0 implementation not passing gralloc_order test,
the test case is described in the comment
gralloctest.c has not changed much, here is a recent version
https://android.googlesource.com/platform/external/minigbm/+/refs/tags/android-11.0.0_r33/cros_gralloc/gralloc0/tests/gralloctest.c