On Oct 18, 8:40 pm, allstars <
allstars....@gmail.com> wrote:
> hi
> you said you use double buffer
>
> but the MemoryHeapBase is allocated for only 1 buffer
> right?
>
> On Oct 17, 10:19 am, Liu Huadong <
liuhuadon...@gmail.com> wrote:
>
>
>
> > Hi friends,
> > I am using SurfaceView to render a image buffer.
> > The image buffer is generated by a interval timer, what I need to
> > do is to show the image data in phone.
>
> > Surface can finish this work, the following is my steps to show
> > the image.
>
> > in java layer, create a view, which will driver from SurfaceView,
> > and get the created surface, set the type as
> > SURFACE_TYPE_PUSH_BUFFERS, pass the surface to JNI.
>
> > then register two buffer to this surface, when the data is