Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I am glad that Apple is going down this route. I recently had the chance to use a Pixel Book for an extended time, and the high latency of the pen in third-party apps was a distinct problem.
 
  • Like
Reactions: coolfactor
Does anyone know if the latency improvements include the 1st gen iPad pros without the 120hz display? Or is it limited to the newest iPad Pros and apple pencil?
 
  • Like
Reactions: Coby1man
Does anyone know if the latency improvements include the 1st gen iPad pros without the 120hz display? Or is it limited to the newest iPad Pros and apple pencil?
I’m hoping it’s both. The latency with the original Apple Pencil on my 1st gen iPad Pro is terrible while using Pages. I also have a new iPad Pro and Apple Pencil 2 and have no issues while working on the same document in Pages.
 
  • Like
Reactions: dabotsonline
I love that he gets into such detail. That’s interesting about the 4ms improvement they got using something they apparently can’t expose as a public method without some risk.

Now I’m curious about “mid-frame event processing”, but googling it hasn’t immediately got me anything.
Now I’m not sure so take this with a grain of salt, but as an engineer I’m inclined to believe “mid-frame event processing” means they are updating some pixel information (likely just the pixels associated with the pencil) in between frame updates in which all pixel information is updated and displayed. In other words, in between hardware detections of the pencil location, software would update where it presicts the pencil to be on the next update, and it can start looking for the pencil there instead of looking arbitrarily, mean the location can (usually) be found quicker. What I’m not sure about is if these pixels are actually being updated mid-frame or if the processing is simply keeping this information stored until the next frame is ready to update. I can’t see how the pixels could be updated mid-frame unless they had an individual refresh rate, so I’m inclined to believe the second case. If it’s the second case, it would make sense why Apple doesn’t want to give developers access to this, as this could quickly lead to timing errors between the software and hardware interrupts, such that it would only work within Apple’s framework and not an arbitrary code framework.
 
I would have expected that was automatically exposed from the OS. I'm a bit surprised that they had to explicitly make some of those capabilities available to third party developers.
It is, if you use the appropriate control. But developer’s may want to integrate it into their own canvas or controls. In which case it is harder to expose it since things you do in your own code can interfere with the ability of the pen code to get the cycles it needs from the GPU and CPU.
 
[...] if the processing is simply keeping this information stored until the next frame is ready to update. [...] it would make sense why Apple doesn’t want to give developers access to this, as this could quickly lead to timing errors between the software and hardware interrupts.
I think that makes sense. It is probably used for more accurate prediction, and it is probably extremely timing sensitive. Another commenter asked why this isn't just baked into the existing APIs, and the answer is probably that Apple will rewrite it to do just that for next year.
 
How nice of Apple. You would think they would limit functionality improvements to their own apps.

I think you don’t know how development works. When you start creating code you can’t always abstract it in a way that’s usable by third party devs through an API. What Federighi meant is right now the code that allow for that part of delay reduction is split between different of Apple software technologies. To be made safely accessible to others devs it needs to be abstracted, made indipendent, because private frameworks can’t be exposed for security reasons. You build these frameworks after you have the working feature, it’s simply impossible to abstract a solution that doesn’t exist. And this sort of work can require a massive rewrite of some parts of the relevant underlying technologies, and it requires time.
 
I would have expected that was automatically exposed from the OS. I'm a bit surprised that they had to explicitly make some of those capabilities available to third party developers.

Private vs. Public Frameworks. Apple bangs on them until they are confident enough these APIs are for general consumption, without compromising any underpinning APIs still private.
 
Now I’m not sure so take this with a grain of salt, but as an engineer I’m inclined to believe “mid-frame event processing” means they are updating some pixel information (likely just the pixels associated with the pencil) in between frame updates in which all pixel information is updated and displayed. In other words, in between hardware detections of the pencil location, software would update where it presicts the pencil to be on the next update, and it can start looking for the pencil there instead of looking arbitrarily, mean the location can (usually) be found quicker. What I’m not sure about is if these pixels are actually being updated mid-frame or if the processing is simply keeping this information stored until the next frame is ready to update. I can’t see how the pixels could be updated mid-frame unless they had an individual refresh rate, so I’m inclined to believe the second case. If it’s the second case, it would make sense why Apple doesn’t want to give developers access to this, as this could quickly lead to timing errors between the software and hardware interrupts, such that it would only work within Apple’s framework and not an arbitrary code framework.

I actually am a software engineer, but not in anything like this tech, much more mundane stuff. I like your predictive pencil location idea, it seems highly likely and would account for improved latency. I bet you’re also right about keeping the information stored until the next update. As long as they can ensure that the stored information of where the pencil was and where it’s predicted to be next is kept inaccessible (security concerns), I bet they’ll eventually expose this in the public API.
 
I’m watching this new Pencil functionality with anticipation. I’m hoping that we’ll be able to use the iPad as an editing tablet for Photoshop and Lightroom — similar to the Wacom tablets now, but better.
 
How nice of Apple. You would think they would limit functionality improvements to their own apps.
They had to, they dont have a drawing app. Markup is ****. However it’s nice they included the original apple pencil. Apple has changed lately for the better with ipados and this....
 
Awesome, a great product gets even better. Would be nice if this emphasis on driving out latency and lags would be applied elsewhere in iOS. And for that matter on most non-Apple products, too, seems like accepting laggy performance is just the norm on so many products.
 
Does anyone know if the latency improvements include the 1st gen iPad pros without the 120hz display? Or is it limited to the newest iPad Pros and apple pencil?

It has been mentioned that even the 1gen pencil is getting improved so yes 1st gen iPad Pro as newer ipad pros use the 2gen
 
  • Like
Reactions: mihike
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.