Skip to content

Commit

Permalink
Add Vulkan feature definitions
Browse files Browse the repository at this point in the history
Bug: 26583896
Change-Id: I4d1e8b017f478fd79a5075057aeaccbeb1086a2a
  • Loading branch information
critsec committed Feb 25, 2016
1 parent dc7f6a6 commit 4979529
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
21 changes: 21 additions & 0 deletions data/etc/android.hardware.vulkan.level-0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- This is the standard feature indicating that the device supports Vulkan
hardware level 0. -->
<permissions>
<feature name="android.hardware.vulkan.level" version="0" />
</permissions>
21 changes: 21 additions & 0 deletions data/etc/android.hardware.vulkan.level-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- This is the standard feature indicating that the device supports Vulkan
hardware level 1. -->
<permissions>
<feature name="android.hardware.vulkan.level" version="1" />
</permissions>
21 changes: 21 additions & 0 deletions data/etc/android.hardware.vulkan.version-1_0_3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- This is the standard feature indicating that the device has a Vulkan
driver that supports API version 1.0.3 (0x00400003) -->
<permissions>
<feature name="android.hardware.vulkan.version" version="4194307" />
</permissions>

0 comments on commit 4979529

Please sign in to comment.