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 t
().
>
> I think you can access native buffer there.
>
> On May 24, 8:28 pm, drjunior wrote:
>
>
>
>
>
>
>
> > I've been digging around SurfaceFlinger service implementation trying
> > to understand how it is implemented. I started studying the /
>
istent function implemented by the driver that returns the
bitmap).
Is this possible?
On May 25, 5:26 pm, Dianne Hackborn wrote:
> The surface flinger doesn't draw the buffer, the application does.
>
>
>
>
>
>
>
>
>
> On Wed, May 25, 2011 at 7
I am using a samsung galaxy s2 and I am doing a glReadPixels operation
with this parameters:
glReadPixels(0, 0, sw, sh, GL_RGBA, GL_UNSIGNED_BYTE, ptr);
But this is taking more than one second to be performed. So, I think
that it's doing some kind of cast from "something" to
GL_UNSIGNED_BYTE. As
moved a long time ago.
>
> What are you trying to do? I suspect there is a more GPU friendly way
> to achieve the same thing.
>
> Jim
>
> On Sep 6, 10:59 am, drjunior wrote:
>
>
>
>
>
>
>
> > I am using a samsung galaxy s2 and I am doing a glReadPixe
d less useful
> glReadPixels is. This is certainly not a good way to do high frame rate
> video capture. In HC screenshots are implemented by re-rendering the screen
> to a texture.
>
>
>
>
>
>
>
>
>
> On Tue, Sep 13, 2011 at 7:52 AM, drjunior wrote:
> >