Merge "Add Vulkan dEQP level feature flag" am: 49fa6ba37f

Change-Id: Ibbaf55fe2126371392674b8abe3ae3013486b599
This commit is contained in:
Automerger Merge Worker
2020-02-20 21:24:20 +00:00
2 changed files with 18 additions and 0 deletions

View File

@@ -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";

View File

@@ -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.