Dear Sir:

    I found the same GPU type(SGX 540) in Nexus S and Galaxy nexus,
the I don't know why the Nexus S can work but Galaxy nexus can not.
Could you give me

some suggestion and commend?

thank you so much,

BRs,

Allen

On 2月15日, 上午5時39分, Dianne Hackborn <hack...@android.com> wrote:
> This has never been guaranteed to work, because GPUs may not be able to
> give access to the frame buffer like that.  Even in the cases when it did
> work, it could be corrupted since there was no control over the state of
> the frame buffer when reading it.
>
> This is why there is a shell command to do this, which DDMS uses, and is
> updated appropriately for the platform.  Use the shell command.
>
> If you are running on 3.0+ and writing system code (which means you are
> posting to the wrong group anyway) you can use the mechanisms for that...
>  but put this discussion in an appropriate group like android-porting.
>
>
>
>
>
> On Tue, Feb 14, 2012 at 1:40 AM, bluestar <bluestar8...@gmail.com> wrote:
> > Dear Sir:
>
> >     I use the source code from frameworks\base\cmds\screencap
> >     to do screen capture
>
> >     If using ScreenshotClient method, it is ok to get correct result
> >     If using to open fb0, some phones will fail to get
>
> >     Nexus S with Android 4.0.3 is OK
> >     Samsung Galaxy S2 with Android 2.3.5 is OK
> >     Galaxy Nexus S with Android 4.0.2 is failure
>
> >     Do you give me some suggestion or hint for how to get right
> > result
> >     by using to open fb0 for all phones?
>
> >     Thank you!
>
> > BR,
> > Alan
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> 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.- 隱藏被引用文字 -
>
> - 顯示被引用文字 -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to