View / SurfaceView / GLSurfaceView


SurfaceView 는 SurfaceHolder를 통해 접근

GLSurfaceView는 Renderer를 통해 접근


Activity -> View(View Group)


View 

OnMeasure() - 크기 지정

OnLayout() - 위치 지정

OnDraw() -> Canvas -> Bitmap - 그린다


Canvas -> Bitmap -> Surface -> Windows -> FrameBuffer -> Display

                              SurfaceFlinger


SurfaceFlinger 는 app들의 surface를 조합하여 Window에 표현


FrameBuffer


View와 SurfaceView와 GLSurfaceView 간들의 차이 (내부적으로 차이)

왜 이것들을 써야하는가

SurfaceHolder와 Renderer는 왜 ?

왜 이것들을 통해 Surface에 접근해야하는가?


JNI

javah 명령어 사용법 명확히 숙지


NDK 빌드 시

C Style과 C++ Style의 차이

extern "C" 선언과 JNIEXPORT와 JNICALL 

Name Decoration(Name Mangling)을 꼭 사용해야함!


Name Mangling에 대한 조사

http://thepassion.tistory.com/61