Setting the acceleratedRendering to true on startup on Android 7 and Android 8

J. Landman Gay jacque at hyperactivesw.com
Fri Sep 22 14:48:01 EDT 2017


Panos: I just tested Swami's app on my Pixel running Oreo (Android 8) 
and acceleratedRendering seems to be working okay. There is a 
preOpenStack handler in the stack script:

on preopenstack
    wait 100 milliseconds with messages
    set the fullScreenMode of this stack to "ShowAll"
    set the acceleratedRendering of this stack to "true"
end preopenstack

The "wait" was to fix something else, but I wonder if it is allowing 
acceleratedRendering to kick in too. That would seem similar to your 
suggestion to send the message in time.

On 9/21/17 12:48 PM, J. Landman Gay via use-livecode wrote:
> I have a Pixel that was just updated to Oreo (Android 8) and running 
> Swami's app works okay. That's the one app I happen to have installed 
> that uses acceleratedRendering quite a bit.
> 
> He's made some changes recently that turns it on and off after the card 
> has already loaded, but on some cards it loads on preOpenCard or 
> preOpenStack. I guess I should poke around and see where those cards are 
> so I can test it again for you.
> 
> On 9/20/17 5:04 PM, panagiotis merakos via use-livecode wrote:
>> Hi Jacque,
>>
>> Are you on Android 7 or 8? It does not work for me if I set the
>> acceleratedRendering in preopenstack or openstack. I did not check with
>> opencard/preopencard.
>>
>> On Wed, Sep 20, 2017 at 10:13 PM, J. Landman Gay via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>
>>> Does it work if you set acceleratedRendering in preOpenStack or
>>> preOpenCard? It seems to work okay for me that way.
>>>
>>>
>>> On 9/20/17 5:21 AM, panagiotis merakos via use-livecode wrote:
>>>
>>>> Hi folks,
>>>>
>>>> Today I came across this issue, affecting Android 7 and Android 8:
>>>>
>>>> on openStack
>>>>      set the acceleratedRendering of this stack to true
>>>> end openStack
>>>>
>>>>
>>>> This results in black screen when the app starts.
>>>>
>>>>
>>>> Workaround:
>>>>
>>>> on openStack
>>>>     send "fixit" to me in 0 millisec
>>>> end openStack
>>>>
>>>> on fixit
>>>>     set the acceleratedRendering of this stack to true
>>>> end fixit
>>>>
>>>> I'll file a report soon.
>>>>
>>>> Hope this helps,
>>>> Panos
>>>>>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>>
>>>
>>> -- 
>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>> HyperActive Software           |     http://www.hyperactivesw.com
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> 
> 


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com





More information about the Use-livecode mailing list