What version of Android?

in Froyo 2.2 there is FramebufferNativeWindow::queueBuffer and
FramebufferNativeWindow::dequeueBuffer
called in SwapBuffers before flip().

I think you can access native buffer there.

On May 24, 8:28 pm, drjunior <[email protected]> wrote:
> I've been digging around SurfaceFlinger service implementation trying
> to understand how it is implemented. I started studying the /
> frameworks/base/services/surfaceflinger/SurfaceFlinger.cpp file and
> the methods handleRepaint() and  composeSurfaces(). What I would like
> to know is how I can access the buffers(if I can do that) that has the
> bitmap of the rectangle changed. I already found where the flip is
> done( /frameworks/base/services/surfaceflinger/DisplayHardware/
> DisplayHardware.cpp::flip() ) and here I could confirm the size of the
> rectangle(within the entire surface) that had changes. Now, I would
> like to access the buffer of the surface that has the content with the
> bitmap changed. There are a lot of files to search and without
> documentation it's really difficult to find how to do that.
>
> Thank you for your help.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to