acceleratedRendering

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

acceleratedRendering

Clarence Martin via use-livecode
Hi All,

Given what we’re heard about iOS12 problems with LC apps… and the suggestion that setting acceleratedRendering  to true in preOpenStack “solves” that issue with iOS12, I’ve been messing around with acceleratedRendering for the current LC project I’m developing for iOS. I have not used acceleratedRendering in so long, consider me unknowledgeable about its use.

I’m working with LC 9.0.1 RC1 with MacOS 10.12.6 and Xcode 9.2. But, I've seen essentially the same results when building with LC8.1.8, 9.0.0

When setting acceleratedRendering to true in preOpenStack as shared in an earlier message, the IDE slows to a crawl. When setting acceleratedRendering to false, the IDE returns to normal responsiveness.
— is that the expected behavior?

When loaded on my iPad, the app I’m working on has shown partial screen updates with acceleratedRendering on… and with some aspects has actually slowed to a crawl when loaded onto an iPad.

To check this out, I’ve included buttons to set acceleratedRendering to true and false so I can change the setting when the app is loaded on my iPad… when set to false, the app responds as I would expect, but when set to true again one portion of the app slows down to unusable speeds.

The fact that the IDE slows to a crawl… and that only some aspects of the new app I’m building slow down when loaded on an iPad has made this very confusing.

Is there some element that goes hand-in-hand with acceleratedRendering that I’ve overlooked?

be well,
randy
www.classroomFocusedSoftware.com


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1.

Disables "touch" messages in some contexts...

Bug report is in, confirmed.

I've struggling for 2 Years with this (!)

Now on iOS?  Yikes!

I am sure it is a priority with team. Keep fingers crossed.

BR
 

On 8/1/18, 4:07 AM, "use-livecode on behalf of Randy Hengst via use-livecode" <[hidden email] on behalf of [hidden email]> wrote:

    Is there some element that goes hand-in-hand with acceleratedRendering that I’ve overlooked?

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
Hi Brahma
>
> I am sure it is a priority with team. Keep fingers crossed.


Yes I just patched it https://github.com/livecode/livecode/pull/6620 <https://github.com/livecode/livecode/pull/6620>

> FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1.
>
> Disables "touch" messages in some contexts…

^ is not a very good description of the issue. The touches are fine. It’s groups not redrawing when scrolled under some circumstances.

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
Aloha Monte

You are wonderful! "it groups not redrawing..."

Right, it's not "touch". Though from a user perspective, suddenly "my swiping doesn't work..."

And thank you for fixing the returnField error also  [Bug 18395] ReturninField error on android app)

@team-- would it possible to send a new build out this week?  Even it has only this patch

It is the one thing in Android that is blocking. Everything else you have accomplished on 9.0.1 is fantastic, and I really *need* get an Android version that works one on Google Play asap.   So I need to get this out to beta tester asap

BR

PS...

would it would also be nice if get the home screen icon to load in iOS at the same time, in an interim patch release.

https://quality.livecode.com/show_bug.cgi?id=21451
 
On 8/1/18, 5:02 PM, "use-livecode on behalf of Monte Goulding via use-livecode" <[hidden email] on behalf of [hidden email]> wrote:

    Yes I just patched it https://github.com/livecode/livecode/pull/6620 <https://github.com/livecode/livecode/pull/6620>
   
    >FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1.
    >Disables "touch" messages in some contexts…
   
    ^ is not a very good description of the issue. The touches are fine. It’s groups not redrawing when scrolled under some circumstances.

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
All,

I’ve been messing with this slowdown issue … there is a connection between having acceleratedRendering set to true… and my objects that move set to dynamic. I see the slowdown in the IDE and on the iPad.

Using LC 9.0.1 RC1 still.

The “catch” is that I haven’t been able to reproduce the same problem for a demo stack… so, still investigating. If anyone has a thought for something I can check out, please share.

be well,
randy
classroomFocusedSoftware.com

> On Aug 2, 2018, at 8:48 AM, Sannyasin Brahmanathaswami via use-livecode <[hidden email]> wrote:
>
> Aloha Monte
>
> You are wonderful! "it groups not redrawing..."
>
> Right, it's not "touch". Though from a user perspective, suddenly "my swiping doesn't work..."
>
> And thank you for fixing the returnField error also  [Bug 18395] ReturninField error on android app)
>
> @team-- would it possible to send a new build out this week?  Even it has only this patch
>
> It is the one thing in Android that is blocking. Everything else you have accomplished on 9.0.1 is fantastic, and I really *need* get an Android version that works one on Google Play asap.   So I need to get this out to beta tester asap
>
> BR
>
> PS...
>
> would it would also be nice if get the home screen icon to load in iOS at the same time, in an interim patch release.
>
> https://quality.livecode.com/show_bug.cgi?id=21451
>
> On 8/1/18, 5:02 PM, "use-livecode on behalf of Monte Goulding via use-livecode" <[hidden email] on behalf of [hidden email]> wrote:
>
>    Yes I just patched it https://github.com/livecode/livecode/pull/6620 <https://github.com/livecode/livecode/pull/6620>
>
>> FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1.
>> Disables "touch" messages in some contexts…
>
>    ^ is not a very good description of the issue. The touches are fine. It’s groups not redrawing when scrolled under some circumstances.
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
In reply to this post by Clarence Martin via use-livecode
Panos asked me to file a bug report on what I was experiencing, but I  
haven't been able to nail down the formula yet.

Simply enabling acceleratedRendering would allow my app to launch, but  
things weren't moving or responding as they should have. It does seem  
like some mouseUp messages are getting ignored, but I'm also dealing  
with screen redraw issues when moving objects and groups in time as  
well as using mobileControls (a side navigation that opens up from off  
screen and hides mobile browser).

I'm currently redesigning the navigation so I can get an update out  
the door quickly as users are already complaining about iOS 12  
compatibility. You've given me some insight into the possible problem  
so I can try to work out a proper bug report formula.

--Andrew Bell


> From: Sannyasin Brahmanathaswami <[hidden email]>
> To: How to use LiveCode <[hidden email]>
> Subject: Re: acceleratedRendering
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="utf-8"
>
> FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1.
>
> Disables "touch" messages in some contexts...
>
> Bug report is in, confirmed.
>
> I've struggling for 2 Years with this (!)
>
> Now on iOS?  Yikes!
>
> I am sure it is a priority with team. Keep fingers crossed.
>
> BR
>
>
> ?On 8/1/18, 4:07 AM, "use-livecode on behalf of Randy Hengst via  
> use-livecode" <[hidden email] on behalf of  
> [hidden email]> wrote:
>
>     Is there some element that goes hand-in-hand with  
> acceleratedRendering that I?ve overlooked?
>




_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
In reply to this post by Clarence Martin via use-livecode
> @team-- would it possible to send a new build out this week?  Even it has only this patch
>
> It is the one thing in Android that is blocking. Everything else you have accomplished on 9.0.1 is fantastic, and I really *need* get an Android version that works one on Google Play asap.   So I need to get this out to beta tester asap

Given it’s Friday and these patches have yet to be reviewed I very much doubt we will be releasing an RC 2 with them in this week. We do have a service providing access to nightly builds I believe but I don’t know the full details (cost ect) so you could contact support about that if it is of interest.

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
Next week will be fine __

Brahmanathaswami
 

On 8/2/18, 1:23 PM, "use-livecode on behalf of Monte Goulding via use-livecode" <[hidden email] on behalf of [hidden email]> wrote:

    Given it’s Friday and these patches have yet to be reviewed I very much doubt we will be releasing an RC 2 with them in this week. We do have a service providing access to nightly builds I believe but I don’t know the full details (cost ect) so you could contact support about that if it is of interest.
   
    Cheers
   
    Monte

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: acceleratedRendering

Clarence Martin via use-livecode
In reply to this post by Clarence Martin via use-livecode
I don't know if it would work on a iOS 12, but we has an issue with a complex dynamic "draw" on screen..

So we turned of acceleratedRendering  to false temporarily

Then set to back when the drawing was finish

on createWordPuzzle
   if (the acceleratedRendering of this stack is true ) then
      set the acceleratedRacceleratedRendering on createWordPuzzle
   end if
   stopTimer
   hide widget "context"
   loadNewBgImg
   [snip]

# later

set the acceleratedRendering  of this stack to true

end createWordPuzzle


Brahmanathaswami
 

 Randy Hengst wrote:

    I’ve been messing with this slowdown issue … there is a connection between having acceleratedRendering set to true… and my objects that move set to dynamic. I see the slowdown in the IDE and on the iPad.
   
    Using LC 9.0.1 RC1 still.

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode