검색결과 리스트
tuning에 해당되는 글 1건
- 2013.12.15 Google io 2003 Android graphics performance
초반은
graphic engine이 좋아진다는 얘기
10분 쯤에는 개발자 옵션 중 GPU관련 얘기
GPU에서 시간을 얼마나 쓰는지 즉시 그래프로 보여준다.
각 영역에 대해 몇 번을 redraw하는지 가르쳐주는 option도 있다. 이게 좋네.
red 3번, deep red(갈색) 4번 redraw한다는 의미.
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를 가르쳐준다. 이것들도 봐두면 좋겠다.
ios cocoa auto layout wwdc videos (0) | 2014.05.29 |
---|---|
dart tips tutorials playlist (2) | 2014.05.24 |
google io 2013 google plus sign-in android api tutorial (0) | 2014.02.10 |
Google maps android api videos Google io 2013 등 (0) | 2014.02.08 |
코스라 강의 Malicious Software and its Underground Economy: Two Sides to Every Story (0) | 2013.12.15 |
Google io 2013 android custom views (0) | 2013.12.15 |
워싱턴대 컴퓨터 네트워크 동영상 강의 (0) | 2013.12.13 |
건조한 현장 Designing and Executing Information Security Strategies (0) | 2013.12.11 |
c programming video lectures 찾기 (0) | 2013.09.04 |
android battery를 아껴쓰려면 통신 빈도를 줄이기 (0) | 2013.05.30 |
RECENT COMMENT