On Sat, Jan 31, 2009 at 4:54 AM, gan <[email protected]> wrote: > > Hi: > > I add some log in SurfaceFlinger and according to it I think(Thanks > for correct me if something is wrong): > a)Java "SurfaceSession" would create(native side) a > "mSharedHeapAllocator" for each Surface client, > This is done at native Client::Client in the process "system_server" > b)Java "Surface" would access(native side) "mSharedHeapAllocator" to > allocate 2 buffer > for each Normal Surface(not Buffer,Dim or Blur) client. > This is done at native Client::createAllocator in the process > "system_server"'s another threads. > > My question is: > 1) what is the relationship of these buffers created in b) with the > buffers swapped by EGLDisplaySurface::swapBuffers,
These are unrelated. > 2) what is the relationship of these buffers with "/dev/graphics/fbX" > or "/dev/fbX", These are the ones used by EGLDisplaySurface mathias > > Thanks&BstRgds > gan > > > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
