首页 > 其他分享 >android vulkan

android vulkan

时间:2023-05-18 16:55:10浏览次数:51  
标签:vulkan 1.1 1.2 1.3 API android Vulkan Android

Vulkan API versions and capabilities

The following table lists Vulkan API versions for several Android releases.
Android VersionVulkan Version
Android 13 Vulkan 1.3
Android 9 Vulkan 1.1
Android 7 Vulkan 1.0

Vulkan 1.3 Functionality Overview

Vulkan 1.3 canonizes a number of previously optional extensions into the Vulkan core functionality. Much of this functionality is included with the intent of increasing control and granularity over the Vulkan programming interface. Single-pass render pass instances no longer need render pass objects or framebuffers. The total number of pipeline state objects can be reduced, and synchronization within the API is overhauled. Vulkan 1.3 has the same hardware requirements as Vulkan 1.2, 1.1, and 1.0, with most of the implementation in the SoC-specific graphics driver, not in the framework.

The most important Vulkan 1.3 features for Android are:

  • Support for single-pass render pass instances
  • Support for immediately terminating a shader invocation
  • Finer granularity over pipeline creation, sharing, and control

Vulkan 1.3 also includes several smaller features and API usability enhancements. All changes made to the core Vulkan API with minor revision 1.3 can be found at Core Revisions (Vulkan 1.3).

Vulkan 1.2 Functionality Overview

Vulkan 1.2 adds a number of features and extensions that simplifies the API surface. This includes a unified Memory Model and additional information that can be queried from a device driver. Vulkan 1.2 has the same hardware requirements as Vulkan 1.0 and 1.1; all of the implementation is in the SoC-specific graphics driver, not the framework.

The most important Vulkan 1.2 feature for Android is support for 8-bit storage.

Vulkan 1.2 also includes several smaller features and API usability enhancements. All changes made to the core Vulkan API with minor revision 1.2 can be found at Core Revisions (Vulkan 1.2).

Vulkan 1.1 Functionality Overview

Vulkan 1.1 includes support for memory/synchronization interop, which enables OEMs to support Vulkan 1.1 on devices. Additionally, memory/synchronization interop enables developers to determine whether Vulkan 1.1 is supported on a device, and use it effectively when it is. Vulkan 1.1 has the same hardware requirements as Vulkan 1.0, but most of the implementation is in the SOC-specific graphics driver, not in the framework.

The most important Vulkan 1.1 features for Android are:

  • Support for importing and exporting memory buffers and synchronization objects from outside Vulkan (for interop with camera, codecs, and GLES)
  • Support for YCbCr formats

Vulkan 1.1 also includes several smaller features and API usability enhancements. All changes made to the core Vulkan API with minor revision 1.1 can be found at Core Revisions (Vulkan 1.1).

Choosing Vulkan Support

Android devices should support the most advanced Vulkan feature set available, provided they support a 64-bit ABI and are not low memory.

Devices that launch with Android 13 and above should support Vulkan 1.3.

Devices that launch through Android 10 should support Vulkan 1.1.

Other devices can optionally support Vulkan 1.3, 1.2, and 1.1.

 

https://source.android.com/docs/core/graphics/implement-vulkan

标签:vulkan,1.1,1.2,1.3,API,android,Vulkan,Android
From: https://www.cnblogs.com/Searchor/p/17412462.html

相关文章

  • Android 动态改变 navigation 的 startDestination, 使得已登录的用户直接跳过 LoginF
    需求:未登录用户打开App,会展示登录页面LoginFragment已登录用户打开App,直接展示MainFragmentnav_graph.xml结构如下:MainActivity.java:@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);......
  • 如何将抓包工具证书(cer,crt, pem)写入到Android系统内置根证书目录中实现 HTTPS 抓包
    0x01前言:在Android6之前,手机系统既信任系统内置的证书,也信任用户自己安装的证书,但是在Android7之后,却发生了变化,手机系统只信任系统内置的根证书。当然了,这是为了手机系统更安全,但是这样一来,我们就无法使用burpsuite,charles,fidder抓包app的HTTPS请......
  • 直播商城源码,Android实现监听Settings值变化的功能
    直播商城源码,Android实现监听Settings值变化的功能先创建一个内部类继承自ContentObserver   classSettingsContentObserverextendsContentObserver{    publicSettingsContentObserver(){      super(newHandler());    }    ......
  • 直播软件开发,Android实现根据进程名杀死特定进程
    直播软件开发,Android实现根据进程名杀死特定进程首先你实现功能的进程必须是系统进程,在AndroidManifest里面加入如下标签。 android:sharedUserId="android.uid.system"​调用ActivityManager的forceStopPackageAsUser方法 ActivityManagermActivityManager=(Activity......
  • Android 获取 USB设备列表
    获取usb列表UsbManagerusbManager=(UsbManager)getSystemService(Context.USB_SERVICE);intsize=usbManager.getDeviceList().size();HashMap<String,UsbDevice>deviceList=usbManager.getDeviceList();for(Map.Entry<String,Us......
  • Duplicate class androidx.lifecycle.ViewModelLazy found in modules lifecycle-view
    AS版本:AndroidStudioBumblebee|2021.1.1Patch1Build#AI-211.7628.21.2111.8139111,builtonFebruary2,2022Runtimeversion:11.0.11+9-b60-7590822amd64VM:OpenJDK64-BitServerVMbyOracleCorporationWindows1010.0GC:G1YoungGeneration,G1OldGene......
  • 【android】Android入门第六篇之ListView
    ListView是一个经常用到的控件,ListView里面的每个子项Item可以是一个字符串,也可以是一个组合控件。先说说ListView的实现:1.准备ListView要显示的数据 ;2.使用 一维或多维 动态数组 保存数据;3.构建适配器 , 简单地来说, 适配器就是 Item数组 , 动态数组 有多少元素就生成......
  • Android数据流程的优化
        第二次阶段开始,对于第一阶段的数据传输线进行优化,因为第一次数据传输入栈activity太多,导致用户使用感不好,人机分离,同时大量activity的入栈,会导致app很卡,所以进行了优化,采用的是向上一个activity/fragment回传数据(一开始以为肯定有一个简洁的方法来实现不同活动的数据共......
  • Android实现人脸识别检测(FaceDetector)
    前言目前网上常规解决这块问题的方案总结了一下有以下五种,当然有更多的暂时还未了解过~1、OpenCV(APIlevel8+)识别效果一般,侧脸无法识别.对识别的距离有限制(2~3米).如果需要做静态图片识别的话,需要对Javalibrary层进行修改.项目里有我编好的动态链接库,拿来就能用......
  • Android QQ登录界面
    布局loginpage.xml:<?xmlversion="1.0"encoding="UTF-8"?><LinearLayoutandroid:orientation="vertical"android:id="@+id/loginRoot" android:layout_width="fill_parent"android:lay......