hi ,

Thanks for responding, i have already implemented the overlay hardware
HAL in libhardware.
The overlay engine is created in the surfaceflinger,during
displayhardware init().
After putting some debug prints i found out that this overlay engine
is properly being used during the creation of the Overlay in
LayerBuffer::OverlaySource::OverlaySource. The OverlayRef is also
created and is retured properly.

But my problem is that i am not being able to access the OverlayRef
object in android_surface_output.cpp. The OverlayRef object is created
using the template class sp<>.

I have even included the libraries libutils, libcutils which might be
needed for usage of template class sp, and also the header file "utils/
RefBase.h".

Still i am not able to access the OverlayRef object.

Any help to solve the issue would be greatly appreciated.

Regards
Pramod

On Apr 7, 7:26 am, waterblood <[email protected]> wrote:
> It should be a overlay engine in surfaceflinger which means a you
> should implment a overlay hardware HAL in hardware\libhardware\modules
> \overlay
>
> On 4月6日, 下午2时33分, pramod <[email protected]> wrote:
>
> > hi,
>
> > I am implementing a custom MIO which makes use of Overlay interface.
> > my MIO calls the overlay ref  through the call "mSurface->createOverlay", 
> > then "new Overlay(ref)" call is used to get Overlay
>
> > interface.
>
> > Currently i am facing problem in "mSurface->createOverlay", this is
> > not returning the OverlayRef. Due to this the next call to "new Overlay
> > (ref)" is failing.
>
> > "LayerBuffer::OverlaySource::OverlaySource(LayerBuffer&
> > layer,sp<OverlayRef>* overlayRef, uint32_t w, uint32_t h, int32_t
> > format)"  in LayerBuffer.cpp should return the Overlay ref object.
>
> > am i missing anything??? Is the overlay support fully implemented in
> > current Cupacake branch..?
>
> > Thanks in advance.
>
> > Pramod
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to