Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Everything You Never Wanted to Know About Core ...
Search
Josh Abernathy
February 03, 2012
Programming
5
450
Everything You Never Wanted to Know About Core Animation
Josh Abernathy
February 03, 2012
Tweet
Share
More Decks by Josh Abernathy
See All by Josh Abernathy
Functions, A Love Story
joshaber
7
1.1k
Better Code for a Better World
joshaber
18
3.7k
Stealing for Fun and Profit! PDX
joshaber
1
410
ReactiveCocoa for a Better World
joshaber
18
1.2k
Stealing for Fun and Profit!
joshaber
5
810
Other Decks in Programming
See All in Programming
EventSourcingの理想と現実
wenas
6
2.3k
Jakarta EE meets AI
ivargrimstad
0
150
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
290
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
220
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
Macとオーディオ再生 2024/11/02
yusukeito
0
370
Realtime API 入門
riofujimon
0
150
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
190
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
100
CSC509 Lecture 11
javiergs
PRO
0
180
Featured
See All Featured
Statistics for Hackers
jakevdp
796
220k
Side Projects
sachag
452
42k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
BBQ
matthewcrist
85
9.3k
Navigating Team Friction
lara
183
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
What's new in Ruby 2.0
geeforr
343
31k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
A designer walks into a library…
pauljervisheath
203
24k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Transcript
(Hola.)
Story time.
Josh goes to WWDC
Cool story bro.
Josh Abernathy @joshaber
None
None
None
None
Everything You wanted to know about NEVER Core Animation
None
Docs
Docs Headers
Docs Headers
History.
HOW DO THEY WORK? Window Managers
None
Stacking Window Manager
None
Draw window A to buffer
Draw window A to buffer ...
Draw window A to buffer ... Draw window N to
buffer
Draw window A to buffer ... Swap buffer to screen
Draw window N to buffer
aka
aka
None
None
None
None
None
None
jk, guys
None
None
None
None
Draw dirty rect to buffer
Draw dirty rect to buffer Swap buffer to screen
None
Compositing Window Manager
Quartz Compositor
None
None
None
None
Core Animation.
None
...not just animation
Compositing Window Manager
Compositing Window Manager ...in your window
aka
aka
Buffers, How do they work?
Buffers are OpenGL textures
Live demo!
Buffers are OpenGL textures
None
Instruments
CA_COLOR_OPAQUE Instruments
CA_COLOR_OPAQUE OpenGL Profiler Instruments
Minimize
Minimize Minimize Minimize
Minimize re-draw Minimize Minimize
Minimize re-draw Minimize Minimize blending
Minimize re-draw Minimize Minimize blending hierarchy
Using Core Animation.
Super nice! OMG KILL ME NOW
Subpixel anti-aliased Standard anti-aliasing
Super nice! OMG KILL ME NOW
Super nice! Still super nice!
TwUI Pronounced: two- eeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeee e
None
fram ew ork
TwUI More Animation github.com/twitter/twui github.com/joshaber/MoreAnimation Chameleon github.com/BigZaphod/Chameleon
The End.