Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39ceeb54 authored by Jesse Hall's avatar Jesse Hall
Browse files

Refer to hasSystemFeature(String, int) in Vulkan feature docs

Bug: 27531286
Change-Id: Ifb32ae519fc8118923d6216e1d574cbbf83dfd23
parent 91f80006
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1596,9 +1596,9 @@ public abstract class PackageManager {

    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature}: If this feature is supported, the Vulkan native API will enumerate
     * at least one {@code VkPhysicalDevice}, and the feature version will indicate what
     * level of optional hardware features limits it supports.
     * {@link #hasSystemFeature(String, int)}: If this feature is supported, the Vulkan native API
     * will enumerate at least one {@code VkPhysicalDevice}, and the feature version will indicate
     * what level of optional hardware features limits it supports.
     * <p>
     * Level 0 includes the base Vulkan requirements as well as:
     * <ul><li>{@code VkPhysicalDeviceFeatures::textureCompressionETC2}</li></ul>
@@ -1623,7 +1623,7 @@ public abstract class PackageManager {

    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature}: The version of this feature indicates the highest
     * {@link #hasSystemFeature(String, int)}: The version of this feature indicates the highest
     * {@code VkPhysicalDeviceProperties::apiVersion} supported by the physical devices that support
     * the hardware level indicated by {@link #FEATURE_VULKAN_HARDWARE_LEVEL}. The feature version
     * uses the same encoding as Vulkan version numbers: