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
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
440
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.3k
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
Findy Team+ Awardを受賞したかった!ベストプラクティス応募内容をふりかえり、開発生産性向上もふりかえる / Findy Team Plus Award BestPractice and DPE Retrospective 2024
honyanya
0
140
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
700
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
ErdMap: Thinking about a map for Rails applications
makicamel
1
640
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
300
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
Androidアプリの One Experience リリース
nein37
0
1.2k
DMMオンラインサロンアプリのSwift化
hayatan
0
190
Featured
See All Featured
Six Lessons from altMBA
skipperchong
27
3.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Site-Speed That Sticks
csswizardry
3
270
For a Future-Friendly Web
brad_frost
176
9.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
It's Worth the Effort
3n
183
28k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Producing Creativity
orderedlist
PRO
343
39k
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.