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

Commit 49fa6ba3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add Vulkan dEQP level feature flag"

parents 28207235 1c0b692a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11775,6 +11775,7 @@ package android.content.pm {
    field public static final String FEATURE_VR_HEADTRACKING = "android.hardware.vr.headtracking";
    field @Deprecated public static final String FEATURE_VR_MODE = "android.software.vr.mode";
    field public static final String FEATURE_VR_MODE_HIGH_PERFORMANCE = "android.hardware.vr.high_performance";
    field public static final String FEATURE_VULKAN_DEQP_LEVEL = "android.software.vulkan.deqp.level";
    field public static final String FEATURE_VULKAN_HARDWARE_COMPUTE = "android.hardware.vulkan.compute";
    field public static final String FEATURE_VULKAN_HARDWARE_LEVEL = "android.hardware.vulkan.level";
    field public static final String FEATURE_VULKAN_HARDWARE_VERSION = "android.hardware.vulkan.version";
+17 −0
Original line number Diff line number Diff line
@@ -2145,6 +2145,23 @@ public abstract class PackageManager {
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_VULKAN_HARDWARE_VERSION = "android.hardware.vulkan.version";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature(String, int)}: If this feature is supported, the feature version
     * specifies a date such that the device is known to pass the Vulkan dEQP test suite associated
     * with that date.  The date is encoded as follows:
     * <ul>
     * <li>Year in bits 31-16</li>
     * <li>Month in bits 15-8</li>
     * <li>Day in bits 7-0</li>
     * </ul>
     * <p>
     * Example: 2019-03-01 is encoded as 0x07E30301, and would indicate that the device passes the
     * Vulkan dEQP test suite version that was current on 2019-03-01.
     */
    @SdkConstant(SdkConstantType.FEATURE)
    public static final String FEATURE_VULKAN_DEQP_LEVEL = "android.software.vulkan.deqp.level";

    /**
     * Feature for {@link #getSystemAvailableFeatures} and
     * {@link #hasSystemFeature}: The device includes broadcast radio tuner.