Thursday, August 11, 2022
HomeiOS Developmentswift - How do I disable Core Animation compositor in my Metallic...

swift – How do I disable Core Animation compositor in my Metallic iOS (iPadOS) App

I’ve 3 questions referring to one thing from Apple WWDC 2015, extra exactly Session 610, “Metallic efficiency optimisation strategies”, slide 125 (or minute 33:56 within the video), to be discovered at

Here’s a screenshot from the slide I’m referring to:

WWDC 2015, Session 610, Metal performance optimization techniques (slide 125, Drawable Surfaces)

It says there in regards to the drawables (CAMetalDrawable) that they could be utilized by (third bullet) “Core Animation (IF COMPOSITING ENABLED)”.

So “if compositing enabled” is a factor, that means that the compositor may be DISABLED as effectively (?).

I wish to see if it is sensible for me to disable the compositor in my App for efficiency causes. My App is an iOS (iPadOS really) Metallic (Swift) App and I wish to management your entire* display screen. Certainly, I’ve only one single view in your entire App, an MTKView, which covers your entire display screen always).

*If the machine makes use of break up mode in multitasking (so the display screen is shared between mine and one other App), I after all solely management my ‘half’ of the display screen.

My questions:

  1. How can I DISABLE the compositor?

  2. In regards to the ‘standing bar’ within the prime of the display screen (with time, knowledge, battery icons): Is it a mandatory situation to cover it to attain the DISABLING of the compositor? Or what do I’ve to do about it in case it impacts the disabling?

  3. If the machine makes use of break up mode in multitasking, the compositor cannot be disabled or can it?

Any tips to (Apple) documentation about this matter would even be helpful!

Thanks very a lot for assist!



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments