Ideally yes, but if copybit returns an error then it falls back to software 
rendering.

Matt


On Wednesday, June 27, 2012 1:10:11 PM UTC-4, Ventanas wrote:
>
> thank you!
> I have reached the same conclusion.
> the animation process loads the opengl the second time, so that does the 
> copybit have to be designed to be loaded multiple times?
>
> 2012/6/27 Matt Reimer <[email protected]>
>
>> I think what's happening (at least on boot) is that surfaceflinger loads 
>> it, and then bootanim loads it too. The OpenGL demos in APIDemos might also 
>> cause it to be loaded.
>>
>> Matt
>>
>> On Friday, June 22, 2012 7:01:08 AM UTC-4, Ventanas wrote:
>>>
>>> actually this happens because OpenGL|ES loader is called twice: I see in 
>>> the logcat two times:
>>>
>>> D/libEGL  (   67): egl.cfg not found, using default config
>>> D/libEGL  (   67): loaded /system/lib/egl/libGLES_**android.so
>>> ...
>>> my copybit is loaded correctly
>>> ...
>>> D/libEGL  (   79): egl.cfg not found, using default config
>>> D/libEGL  (   79): loaded /system/lib/egl/libGLES_**android.so
>>> ..
>>> ..
>>> my copybit fails to be loaded 
>>> ..
>>> ..
>>>
>>> the Loader is implemented in <gingerbread_code>/frameworks/**
>>> base/opengl/libs/EGL/
>>>
>>> does it make sense? why loaded /system/lib/egl/libGLES_**android.so is 
>>> loaded twice?
>>>
>>> Marco
>>>
>>> Il giorno venerdì 22 giugno 2012 00:01:25 UTC+2, Ventanas ha scritto:
>>>>
>>>> I am porting my platform dependent code from donut to gingerbread and I 
>>>> am facing this problem: copybit doesn't work and I have to use it as my 
>>>> CPU 
>>>> doesn't have GPU.
>>>>
>>>> My copybit open_device function is called twice by gingerbread grahpic 
>>>> system, does it make sense?
>>>>
>>>> why? anyone knows why copybit is loaded twice??
>>>>
>>>> MArco
>>>>
>>>  -- 
>> unsubscribe: [email protected]
>> website: http://groups.google.com/group/android-kernel
>>
>
>

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

Reply via email to