You'll need to report up to the window manager about the new size, so
it can relayout all windows, and make sure that at this time it also
makes all of the windows redraw themselves.

On Wed, Jun 24, 2009 at 7:02 PM, birdy<[email protected]> wrote:
>
> I want to change the screen resolution from 1024x600 to 1024x768 when
> user use VGA out function.
> I had pass the fb_var_screeninfo to the driver at
> EGLDisplaySurface.cpp. Use fini() and init() to free and re-initial
> DisplayHardware in DisplayHardware.cpp. And then I copy a part of
> ReadytoRun() in SurfaceFlinger.cpp to initialize primary screen,
> shared control block and OpenGL|ES. After all I set all
> DisplayHardware bound as dirty region and then composeSurface().
> Are there something I have to do for reinit the display and screen?
> If I want redraw all UI ( title bar, background, menu bar or AP's
> UI…..), How can I do?
>
> >
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support, and so won't reply to such e-mails.  All
such questions should be posted on public forums, where I and others
can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to