Hello,
I am trying to create surface object directly from native
using following method:
1>First i am creating a SurfaceComposerClient
2>Then calling the createSurface() of the SurfaceComposerClient to
get SurfaceControl.
3>Then i am calling getSurface() of SurfaceControl to get the
surface.
4>From this surface i am getting the ISurface handle.
5>Using this ISurface handle, I am trying to register buffers. So, as
to be able to render directly from native.
6>But I am getting an error in ISurface::registerBuffer() with error
code 38.
My Queries:
1>Is it feasible to achieve what i am trying to do ? ie. directly
instantiate surface from native and render data onto it using push
buffer mechanism.
2>can somebody throw light on, what does this error code 38
indicates .
Any short of help is appreciated.
Regards
AKS
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en