[android-porting] Re: SurfaceFlinger implementation

2011-09-27 Thread Girish
Dear all, Is it possible to tap the composed data which is given to framebuffer at android framework level ? In which format it will be RGB565 ? I tried doing the same at FramebufferNativeWindow.cpp -> int FramebufferNativeWindow::queueBuffer(ANativeWindow* window,android_native_buffer_t* buffer

[android-porting] Re: SurfaceFlinger implementation

2011-09-27 Thread Girish
Hi, Can some help me with the query ? Regards Girish On Sep 27, 2:51 pm, Girish wrote: > Dear all, > > Is it possible to tap the composed data which is given to framebuffer > at android framework level ? In which format it will be RGB565 ? > > I tried doing the same at > > FramebufferNativeWind

[android-porting] Re: Porting to 2.6.39

2011-09-27 Thread Nandi
Hi, I have already mounted the fs in rw mode. Thanks On Sep 27, 5:35 am, chris wrote: > Hi, > > Maybe you can try mount rootfs from "ro" to "rw" in init.rc. > > On 9月26日, 下午6时47分, Nandi wrote: > > > > > > > > > Hi, > > > Please find the log below. I am trying to boot from the SD Card. > > > [

[android-porting] application to call /system/bin/ts_calibrate

2011-09-27 Thread Manoj Kumar
Hey, I am working on android 2.1 version for my SMDK6410 board. I wanted to do touch calibration on my device so i used "android- tslib" code available online and made the necessary changes. I am able to create the "ts_calibrate" file in /system/bin and it is working fine. Now my requirement is

[android-porting] Re: SurfaceFlinger, Frame buffer device, Overlays

2011-09-27 Thread Girish
Hi Steve, Is it not possible to tap the composed screen data at the framework ? If yes where exactly in the framework i can tap this data !! Regards Girish -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Android build commands

2011-09-27 Thread Pratik Prajapati
While building any module in android, its build infrastructure does not show what make commands it is firing. e.g. while building opencore I see target thumb C++: libandroidpv <= external/opencore/android/playerdriver.cpp target thumb C++: libandroidpv <= external/opencore/android/mediascanner.cp

[android-porting] Re: SurfaceFlinger implementation

2011-09-27 Thread Dianne Hackborn
No. And there is no guarantee about what the format will be, in fact it may not be anything you coud possibly interpret (such as non-planar). On Tue, Sep 27, 2011 at 2:51 AM, Girish wrote: > Dear all, > > Is it possible to tap the composed data which is given to framebuffer > at android framewo

[android-porting] dalvik heap realted query

2011-09-27 Thread HV
I have a plug-in that fails to load a website and just crashes. When I check the crash log the pc & ra point to a memset routine. Using gdb did not give me enough info as it doesn't have the call trace. I suspected this had to do with the heap size and increased it and now the problem is gone. H

[android-porting] dalvik heap issue

2011-09-27 Thread HV
I have a plug-in that fails to load a website and just crashes. When I check the crash log the pc & ra point to a memset routine. Using gdb did not give me enough info as it doesn't have the call trace. I suspected this had to do with the heap size and increased it and now the problem is gone. H

[android-porting] Re: SurfaceFlinger implementation

2011-09-27 Thread Girish
Thanks Dianne, So where do you think this composed data can be read, suppose i want to read screenshot of the device programatically. As i can see only 2 possibilities. 1.Use something like droidscreen - Java app 2.Direct access framebuffer .. I wanted to know if there exists any 3rd opportunit

Re: [android-porting] Re: SurfaceFlinger implementation

2011-09-27 Thread Dianne Hackborn
Generally, you can't. Like I said increasingly on hardware the framebuffer is not in a format that you can feasibly read, just like the situation on modern GPUs on the desktop. On Wed, Sep 28, 2011 at 12:21 AM, Girish wrote: > Thanks Dianne, > > So where do you think this composed data can be r