简体   繁体   English

可以关闭Metal中的多缓冲/双缓冲吗?

[英]Possible to turn off multibuffering/doublebuffering in Metal?

In reading about the PowerVR alpha drivers for Vulkan, they note that multibufering needs to be performed explicitly. 他们在阅读有关Vulkan的PowerVR alpha驱动程序时,注意到需要显式执行多重缓冲。 Since Vulkan and Metal are so similar, can I actually turn off multibuffering altogether? 由于Vulkan和Metal非常相似,我是否可以完全关闭多缓冲? I am willing to sacrifice throughput for low latency. 我愿意牺牲吞吐量以降低延迟。

http://blog.imgtec.com/powervr/trying-out-the-new-vulkan-graphics-api-on-powervr-gpus http://blog.imgtec.com/powervr/trying-out-the-new-vulkan-graphics-api-on-powervr-gpus

As a bonus, is it possible to avoid double buffering? 作为奖励,是否有可能避免双重缓冲? I know racing the beam is coming back into style on the desktop but I don't know if mobile display tech supports simple single-buffering. 我知道在台式机上风靡一时,但我不知道移动显示技术是否支持简单的单缓冲。

Double buffering is not about throughput and in fact for most modern GPUs the latency increases in single buffered operation. 双缓冲与吞吐量无关,实际上,对于大多数现代GPU,单缓冲操作的等待时间会增加。

I know racing the beam is coming back into style on the desktop 我知道赛车光束重新回到了台式机的风格

Most certainly not, because racing the beam works only if you can build your image scanline by scanline. 最肯定的不是,因为只有在您可以逐个扫描线构建图像扫描线的情况下,才能进行光束扫描。 However realtime graphics these days operate by sending triangles to the GPU to rasterize and the GPU has some leeway in the order in which it is touching the pixels. 然而,这些天的实时图形通过将三角形发送到GPU进行栅格化来进行操作,并且GPU在触摸像素的顺序方面有一定的余地。 Also the order of the triangles relative to the screen continuously changes. 三角形相对于屏幕的顺序也不断变化。

Last but not least all modern graphics systems these days are composited, which goes contrary to racing the beam. 最后但并非最不重要的是,这些天所有现代图形系统都是合成的,这与竞速相反。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 可以在IOS Webview中关闭指令性文字吗? - Possible to turn off predective text in IOS Webview? iPhone:可以在应用中打开/关闭定位服务吗? - iPhone: Possible to turn on/off Location Services in app? 可以在MKMapView中关闭动态文本吗? - Possible to turn off dynamic text in MKMapView? 离屏渲染金属 - Off Screen Rendering Metal 是否可以从iOS上的不同应用程序打开/关闭通知 - Is it possible to turn on/off notification from different applications on ios 是否可以在应用程序中提供设置以让用户打开或关闭Braze通知? - Is it possible to provide setting in app to let user turn on or off Braze notification? Swift 4中的代码是否可以关闭wifi或将iPhone切换为离线模式? - is it possible to turn off wifi or switch iPhone to offline mode in codes in swift 4? 是否可以通过应用程序中的关闭设备(iPhone / iPad)? - Is it possible to turn off the device (iPhone/iPad) from with in the app? 是否可以在SceneKit中关闭抗锯齿功能以使像素艺术图像更清晰? - Is it possible to turn off antialiasing in SceneKit to make pixel art images sharp? 是否可以从iPhone应用程序中关闭漫游? - Is it possible to turn off roaming from within an iPhone app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM