mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
android: Add explanatory comment to u_gralloc
Signed-off-by: Chris Spencer <spencercw@gmail.com> Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24941>
This commit is contained in:
parent
0ed4c86873
commit
574bdee19d
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ static const struct u_grallocs {
|
|||
enum u_gralloc_type type;
|
||||
struct u_gralloc *(*create)();
|
||||
} u_grallocs[] = {
|
||||
/* Prefer the CrOS API as it is significantly faster than IMapper4 */
|
||||
{.type = U_GRALLOC_TYPE_CROS, .create = u_gralloc_cros_api_create},
|
||||
#ifdef USE_IMAPPER4_METADATA_API
|
||||
{.type = U_GRALLOC_TYPE_GRALLOC4, .create = u_gralloc_imapper_api_create},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue