Hi Elvise,
        Thanks for ur valuable input , I have applied your patch to the
cupcake and tried but still  the flicker problem
continues for me.

Thanks & Regards

Manju

On Mon, Apr 27, 2009 at 7:01 PM, Elvis Dowson <elvis.dow...@gmail.com>wrote:

> Hi,
>
> Modify EGLDisplaySuface::swapBuffers to use FBIOPAN_DISPLAY.
>
>
>
> diff --git a/libs/ui/EGLDisplaySurface.cpp b/libs/ui/EGLDisplaySurface.cpp
>
> index d06c98b..e6f4a6e 100644
>
> --- a/libs/ui/EGLDisplaySurface.cpp
>
> +++ b/libs/ui/EGLDisplaySurface.cpp
>
> @@ -175,8 +175,8 @@ uint32_t EGLDisplaySurface::swapBuffers()
>
>      mIndex = 1 - mIndex;
>
>      mInfo.activate = FB_ACTIVATE_VBL;
>
>      mInfo.yoffset = mIndex ? mInfo.yres : 0;
>
> -    if (ioctl(egl_native_window_t::fd, FBIOPUT_VSCREENINFO, &mInfo) == -1)
> {
>
> -        LOGE("FBIOPUT_VSCREENINFO failed");
>
> +    if (ioctl(egl_native_window_t::fd, FBIOPAN_DISPLAY, &mInfo) == -1) {
>
> +        LOGE("FBIOPAN_DISPLAY failed");
>
>          return 0;
>
>      }
>
>
>
> @@ -395,10 +395,10 @@ status_t EGLDisplaySurface::mapFrameBuffer()
>
>      info.activate = FB_ACTIVATE_NOW;
>
>
>
>      uint32_t flags = PAGE_FLIP;
>
> -    if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) {
>
> +    if (ioctl(fd, FBIOPAN_DISPLAY, &info) == -1) {
>
>          info.yres_virtual = info.yres;
>
>          flags &= ~PAGE_FLIP;
>
> -        LOGW("FBIOPUT_VSCREENINFO failed, page flipping not supported");
>
> +        LOGW("FBIOPAN_DISPLAY failed, page flipping not supported");
>
>      }
>
>
>
>      if (info.yres_virtual < info.yres * 2) {
>
>
> Best regards,
>
>
> Elvis
>
> On Mon, Apr 27, 2009 at 3:35 PM, manju <hallima...@gmail.com> wrote:
>
>>
>> Hi, i am porting cupcake to a board with 320X480 lcd. Board boots and
>> when i click icons, the launching of new application flickers and
>> comes.
>> I have increased the DMA size to 8MB, and trying with both TI's and
>> TOMI's display framework., any suggestions are appriciated.
>>
>>
>
> >
>


-- 
Regards
Manjunatha H

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to