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
420
ReactiveCocoa for a Better World
joshaber
18
1.3k
Stealing for Fun and Profit!
joshaber
5
820
Other Decks in Programming
See All in Programming
AIコーディングの理想と現実
tomohisa
36
39k
一緒に働きたくなるプログラマの思想 #QiitaConference
mu_zaru
80
21k
読書シェア会 vol.4 『ダイナミックリチーミング 第2版』
kotaro666
0
110
On-the-fly Suggestions of Rewriting Method Deprecations
ohbarye
3
5.2k
UMAPをざっくりと理解 / Overview of UMAP
kaityo256
PRO
3
1.5k
実践Webフロントパフォーマンスチューニング
cp20
45
10k
ASP.NETアプリケーションのモダナイゼーションについて
tomokusaba
0
260
KANNA Android の技術的課題と取り組み
watabee
0
210
Contribute to Comunities | React Tokyo Meetup #4 LT
sasagar
0
600
The Missing Link in Angular’s Signal Story: Resource API and httpResource
manfredsteyer
PRO
0
140
ComposeでのPicture in Picture
takathemax
0
130
In geheimer Mission: AI Agents entwickeln
joergneumann
0
110
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
560
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
4 Signs Your Business is Dying
shpigford
183
22k
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.7k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
GraphQLとの向き合い方2022年版
quramy
46
14k
Designing for humans not robots
tammielis
253
25k
Unsuck your backbone
ammeep
671
57k
The World Runs on Bad Software
bkeepers
PRO
68
11k
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.