초반은

graphic engine이 좋아진다는 얘기


10분 쯤에는 개발자 옵션 중 GPU관련 얘기

GPU에서 시간을 얼마나 쓰는지 즉시 그래프로 보여준다.

각 영역에 대해 몇 번을 redraw하는지 가르쳐주는 option도 있다. 이게 좋네.

red 3번, deep red(갈색) 4번 redraw한다는 의미.

Developer options

Show GPU overdraw

Blue 1x

Green 2x

Red 3x

Deep Red 4x


Profile GPU rendering

On screen as bars




20분 쯤부터 개발할 때 도움이 되는 얘기를 한다.

android는 기본적으로 windowBackground를 그리기 때문에

ListView에 background를 지정하면, redraw가 발생한다.

ListView에 android:background를

style에서 theme 색깔을 바꾸면, overdraw를 1번 줄일 수 있다.

<style name="AppTheme" parent="android:Theme.Light">

<item name="android:windowBackground">@color/dark/background</item>

</style>


for big bitmap

b.setHasMipMap(true);

<bitmap

 android:mipMap="true"

 android:src="@drawable/my_drawable" />



alpha를 쓰면, 부담이 되므로, 대안이 있으면 대안을 쓰기


alpha를 직접 계산할 수 있으면 직접 미리 계산해서 계산된 값을 쓰기

ImageView에서 setAlpha보다는 setImageAlpha를 쓰기

그 외에도 3가지 정도 방법이 있다.


canvas에서 rotation, clipping 등을 할 때, 사각형 모양으로 clip되게 하는 것이 더 좋다. (?)





성능을 높이기 위해서 한 번 이상 보고 모든 것을 다 익혀 놓는 것이 좋겠다.


마지막에 6개 정도 다른 link를 가르쳐준다. 이것들도 봐두면 좋겠다.


by 언제나19 2013. 12. 15. 13:34

itunesu

Graphics Architecture - Tracks http://deimos3.apple.com/WebObjects/Core.woa/Feed/ucdavis-public.3159642031.03159642044

이것도 보류. 나중에 필요할 때 다시 봐야지.

Introduction / Course Overview 1:10:16 10. 2. 13. John Owens UC Davis
만 오래 전에 봤는데, 유익했었던 것 같다.
 

 

'공부 > Computers' 카테고리의 다른 글

wwdc 2011 중 interface builder tutorial 인상적  (0) 2011.09.16
Effective cpp 시작  (0) 2011.09.09
ios push notification  (0) 2011.09.02
wwdc web 중 앞부분  (1) 2011.08.31
developer apple com video  (0) 2011.08.31
Standford machine learning  (0) 2011.08.26
The 3n+1 problem 부터도 실패  (1) 2011.08.15
WWDC2011 iBooks  (0) 2011.08.07
중소기업 직원 교육 훈련의 기회  (0) 2011.05.31
opengl 동영상 강의 찾기  (0) 2011.05.12
by 언제나19 2011. 8. 26. 14:40
| 1 |