Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hwcomposer/wayland-hwc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2692,7 +2692,7 @@ get_gralloc_type(const char *gralloc)
{
if (strcmp(gralloc, "default") == 0) {
return GRALLOC_DEFAULT;
} else if (strcmp(gralloc, "gbm") == 0) {
} else if (strcmp(gralloc, "gbm") == 0 || strcmp(gralloc, "gbm_proxy") == 0) {
return GRALLOC_GBM;
} else if (str_starts_with(gralloc, "minigbm_") == 0) {
return GRALLOC_CROS;
Expand Down
2 changes: 1 addition & 1 deletion hwcomposerx11/x11-hwc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ get_gralloc_type(const char *gralloc)
{
if (strcmp(gralloc, "default") == 0) {
return GRALLOC_DEFAULT;
} else if (strcmp(gralloc, "gbm") == 0) {
} else if (strcmp(gralloc, "gbm") == 0 || strcmp(gralloc, "gbm_proxy") == 0) {
return GRALLOC_GBM;
} else if (strcmp(gralloc, "ranchu") == 0) {
return GRALLOC_RANCHU;
Expand Down