http://openparadigm.tistory.com/49
I had some confusion among view, canvas, surfaceview and etc.
When I check the SPen’s sdk, I should understand them before.
So, how the view windows are shown to us? At first, we should do down to GDI thread. What is GDI(Graphic device interface)? It’s drawing surface buffer to the screen. There are many sufaces which is delivered to the FrameBuffer by a SuffaceFlinger.
View ( a set of surface views ) -> using canvas -> the image is passed to the FrameBuffer by the SurfaceFlinger
Surface view is drawn by not GDI but another thread.
( it’s drawn by double buffering )
http://www.matrix44.net/old/sdl/sdlnet.html
* Double buffering:
When Double Buffering is enabled (Default) we end up with two Surface in the Background - from which only one is shown on the Screen and the other one is used as a Back Buffer to draw into. Without Double Buffering we would encounter Flickering on the Screen when Drawing to our Surface.
'잡담' 카테고리의 다른 글
You've got to keep it in respective. (0) | 2013.05.05 |
---|---|
I've got to go (0) | 2013.05.05 |
Why are “Executable files” operating system dependent? (0) | 2013.05.02 |
BlackBerry 사장은 태블릿 카테고리에 의문을 나타낸다 (0) | 2013.05.01 |
윌리엄 알렉산더가 네덜란드 왕으로 취임선서하다 (0) | 2013.05.01 |