Skip to content

[Impeller] Force fallback to OpenGL ES on Android versions < 29. #132984

@chinmaygarde

Description

@chinmaygarde

We want to force Android versions less than API 29 to use OpenGL due to the lack of API that allow us to support platform views with Vulkan. This check has not been added in code yet. The step is highlighted below:

flowchart TD
    start[Start]
    android_api{Check Android API}
    device_support{Device Supports Vulkan}
    vulkan_version{Vulkan Version Check}
    vulkan_exts{Vulkan Supports Extensions}
    vulkan[Use Vulkan Backend]
    opengl[Use OpenGL Backend]

    style android_api color:red
    
    start-->device_support
    
    device_support-->|Yes|android_api
    device_support-->|No|opengl
    
    android_api-->|>= Android 29|vulkan_version
    android_api-->|< Android 29|opengl

    vulkan_version-->|>= Vulkan 1.1|vulkan_exts
    vulkan_version-->|< Vulkan 1.1|opengl

    vulkan_exts-->|Supports Extensions|vulkan
    vulkan_exts-->|Doesn't Support Extensions|opengl
Loading

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requestsgood first issueRelatively approachable for first-time contributorsteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions