Hi

I'm porting Android 2.1 on a tablet pc (ARM processor) and I have a problem
with my screen.

My screen is a 640x480 32bpp. It works well under Linux.

I patched Android 2.1 for using 32bpp with this patch :
http://groups.google.com/group/android-porting/browse_thread/thread/b1cc32e289a60ddf/08439fcb87e7eaec?show_docid=08439fcb87e7eaec<https://mail.altran.com/exchweb/bin/redir.asp?URL=http://groups.google.com/group/android-porting/browse_thread/thread/b1cc32e289a60ddf/08439fcb87e7eaec?show_docid=08439fcb87e7eaec>

I also patched the "Amba-clcd" driver for "page flipping"

But I always have a problem, my screen keeps the default configuration
(320x240 16bpp) and I don't know why !

my logcat :
I/SurfaceFlinger(  650): SurfaceFlinger is starting
I/SurfaceFlinger(  650): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/SurfaceFlinger(  650): Couldn't open /sys/power/wait_for_fb_sleep or
/sys/power/wait_for_fb_wake
I/gralloc (  650): using (fd=22)
I/gralloc (  650): id           = CLCD FB
I/gralloc (  650): xres         = 640 px
I/gralloc (  650): yres         = 480 px
I/gralloc (  650): xres_virtual = 640 px
I/gralloc (  650): yres_virtual = 960 px
I/gralloc (  650): bpp          = 32
I/gralloc (  650): r            = 16:8
I/gralloc (  650): g            =  8:8
I/gralloc (  650): b            =  0:8
I/gralloc (  650): width        = 102 mm (159.372543 dpi)
I/gralloc (  650): height       = 76 mm (160.421051 dpi)
I/gralloc (  650): refresh rate = 66.43 Hz
D/libEGL  (  650): egl.cfg not found, using default config
D/libEGL  (  650): loaded /system/lib/egl/libGLES_android.so
I/SurfaceFlinger(  650): EGL informations:
I/SurfaceFlinger(  650): # of configs : 8
I/SurfaceFlinger(  650): vendor    : Android
I/SurfaceFlinger(  650): version   : 1.4 Android META-EGL
I/SurfaceFlinger(  650): extensions: EGL_KHR_image EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer
EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
I/SurfaceFlinger(  650): Client API: OpenGL ES
I/SurfaceFlinger(  650): EGLSurface: 5-6-5-0, config=0x1000000
I/SurfaceFlinger(  650): flags     : 001c0000
I/SurfaceFlinger(  650): OpenGL informations:
I/SurfaceFlinger(  650): vendor    : Android
I/SurfaceFlinger(  650): renderer  : Android PixelFlinger 1.2
I/SurfaceFlinger(  650): version   : OpenGL ES-CM 1.0
I/SurfaceFlinger(  650): extensions: GL_OES_byte_coordinates
GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format
GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get
GL_OES_query_matrix GL_OES_EGL_image GL_ARB_texture_compression
GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane
GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap

You can see my screen here if you don't understand well its state :
http://www.djramzy.fr/img.jpg<https://mail.altran.com/exchweb/bin/redir.asp?URL=http://www.djramzy.fr/img.jpg>

Regards

Jean-Marie

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

Reply via email to