02-10-2013 09:57 AM
A very interesting fact to come out of the Optimization Lab @ JamSterdam was that you can switch on hardware scrolling for a div
Say you've got a div that currently looks like this...
Change it to this....
The BB10 (not sure about others) use that CSS switch to enable hardware scrolling of the given div
It'd be cool to find out if there are any other similar similar hardware tweaks - sorry, this is the only one I know about
02-10-2013 01:01 PM
02-11-2013 09:05 AM
Just wanted to point out that we have a DevBlog post on this as well for those who might have missed it - http://devblog.blackberry.com/2013/01/overflow-scr
02-11-2013 03:44 PM
Here is another one to add to your list:
This will trick the GPU into doing the computation and should be much smoother and faster. a warning though: there are side effects in most browsers when doing this since it creates a new CSS stacking context which can effect Z index values and some other strange cases.
02-12-2013 02:41 PM
02-12-2013 02:48 PM
I'm fairly sure the hardware switches are for BB10 (which will eventally hit the PB)
Makes a big difference on a Dev Alpha - not surprising it's hardly affecting a Sim as it won't have the GPU
At the session I attended we were measuring FPS (took a while to realize what we were seeing owing to the nature of the test code - all text)
02-12-2013 03:01 PM
02-12-2013 03:09 PM
They've taken webjit and modified it heavily - this prob explains why you may see some small difference on a Sim on a PC with a decent GPU I guess
If you check html5test for mobiles you'll see it beats everything going (and that's not checking for stuff like this I guess)
[Adam - can you jump in here + explain what's going on pls]