2835 Commits

Author SHA1 Message Date
Adam Barth
b82aff3448 Merge pull request #341 from abarth/fix_setup_dart_analyzer
Teach setup_dart_analyzer about workbench
2015-07-28 16:07:42 -07:00
Adam Barth
bfe37ce2dc Teach setup_dart_analyzer about workbench 2015-07-28 16:05:20 -07:00
Adam Barth
d81858f0fc Merge pull request #338 from abarth/improve_pipeline
Improve pipeline accounting
2015-07-28 16:02:03 -07:00
Adam Barth
a836ce05bb Improve pipeline accounting
Previously, there was a race condition whereby we could end up with three
requests in the pipeline. Now we update the number of outstanding requests
synchronously, which avoids the race.
2015-07-28 15:28:27 -07:00
Eric Seidel
f88d017dda Merge pull request #337 from eseidelGoogle/touch_cancel
Treat all UITouchPhaseCancelled on raw touches as pointerUp instead o…
2015-07-28 15:05:59 -07:00
Eric Seidel
ef6c14983d Treat all UITouchPhaseCancelled on raw touches as pointerUp instead of pointerCancel.
On iOS as soon as a gesture recognizer takes over it cancels all outstanding
touches.

R=@abarth
2015-07-28 15:02:28 -07:00
Adam Barth
2f799869d0 Remove DCHECK
This DCHECK is triggering due to my recent change. Remove it while I debug.
2015-07-28 14:59:47 -07:00
Adam Barth
93b7b46ce4 Merge pull request #335 from abarth/pipeline_depth
Increase the graphics pipeline depth to 2
2015-07-28 14:48:54 -07:00
Chinmay Garde
6a3fe825e6 Merge pull request #334 from chinmaygarde/master
Avoid mprotect calls on iOS
2015-07-28 14:46:42 -07:00
Eric Seidel
9a1e1a0a48 Merge pull request #333 from HansMuller/another-sky-analyzer-fix
add --fatal-warnings to dartanalyzer command line
2015-07-28 14:44:35 -07:00
Adam Barth
c1f0e35e3b Increase the graphics pipeline depth to 2
Previously, we weren't overlapping any work between the UI and the GPU threads
because each waited for the other to finish. After this patch, we now have a
pipeline depth of 2, which means we can be working on two frames at once, one
for each thread.  In the future, we should dynamically adjust the pipeline
depth.
2015-07-28 14:42:19 -07:00
Chinmay Garde
ea640f23ab Avoid mprotect calls on iOS 2015-07-28 14:40:21 -07:00
Hans Muller
36813aff27 add --fatal-warnings to dartanalyzer command line 2015-07-28 14:34:54 -07:00
mpcomplete
4d41c2e4f0 Merge pull request #330 from mpcomplete/performance
Add an AnimationStatus to AnimationPerformance
2015-07-28 17:32:46 -04:00
Matt Perry
df6ad4ee05 Merge remote-tracking branch 'upstream/master' into performance 2015-07-28 17:30:58 -04:00
Chinmay Garde
f63c11cabf Merge pull request #331 from chinmaygarde/master
Provide empty group in sky_app template when no Info.plist is specified
2015-07-28 14:30:09 -07:00
Matt Perry
82c13d7ee0 Merge remote-tracking branch 'upstream/master' into performance 2015-07-28 17:23:42 -04:00
Chinmay Garde
6728df6360 Provide empty group in sky_app template when no Info.plist is specified 2015-07-28 14:23:31 -07:00
Matt Perry
f676d29b85 Add an AnimationStatus to AnimationPerformance, and use that in Drawer,
SnackBar, and PopupMenu instead of custom statuses.
2015-07-28 17:23:27 -04:00
Adam Barth
88afbedc0f Merge pull request #328 from abarth/schedule_build
Move build() off microtasks
2015-07-28 14:06:01 -07:00
Adam Barth
f167c43ef0 Move build() off microtasks
Rather than using a microtask to schedule component build functions, instead
use the scheduler. We now tread building just like layout and painting as a
visual update.
2015-07-28 14:05:21 -07:00
Chinmay Garde
6bf652ccfe Merge pull request #320 from chinmaygarde/skyx_review
Load SkyX files on iOS where available
2015-07-28 13:59:38 -07:00
Chinmay Garde
1d44d3ad7f Unbreak shelldb 2015-07-28 13:58:54 -07:00
Chinmay Garde
9a4423b059 Move the game Info.plist to the packages directory 2015-07-28 13:32:53 -07:00
Chinmay Garde
132f30f8eb Address PR feedback on updates for SkyX for iOS 2015-07-28 13:27:46 -07:00
Chinmay Garde
64e29f79ef Load SkyX files on iOS where available 2015-07-28 13:27:46 -07:00
Eric Seidel
a342f441a8 Merge pull request #322 from eseidelGoogle/ios_build
Fix iOS build
2015-07-28 13:05:55 -07:00
Eric Seidel
9ccebe653f Fix iOS build
@chinmaygarde
2015-07-28 12:59:24 -07:00
Viktor Lidholt
e67aa5a05e Merge pull request #321 from vlidholt/master
Updates starfield in game demo to use drawAtlas
2015-07-28 12:53:05 -07:00
Viktor Lidholt
65e85d5312 Updates startled in game demo to use drawAtlas 2015-07-28 12:49:36 -07:00
Adam Barth
f92e594895 Merge pull request #318 from abarth/smaller_apks
Compress assets in APKs
2015-07-28 12:40:23 -07:00
Adam Barth
341f82efc8 Compress assets in APKs
This patch moves us back to compressing assets in APKs. We lost compression
when we updated Chromium recently. This brings typical Sky APKs down to 7.2MB.

Fixes #134
2015-07-28 12:40:09 -07:00
Hans Muller
493a69a113 Merge pull request #319 from HansMuller/fix-skyanalyzer
specify --package-root
2015-07-28 12:37:48 -07:00
Hans Muller
ba99e9582c specify --package-root 2015-07-28 12:35:15 -07:00
Viktor Lidholt
63fe297d50 Merge pull request #315 from vlidholt/master
Optimizations for sprite code
2015-07-28 12:06:38 -07:00
Ian Fischer
a224cbf674 Merge pull request #272 from iansf/T262
Fix #262 -- autolaunch the simulator.
2015-07-28 12:06:33 -07:00
Eric Seidel
a3c3a63250 Merge pull request #317 from eseidelGoogle/mac_testing
Make test_sky work on Mac!
2015-07-28 12:05:40 -07:00
Ian Fischer
8dbc27070c Automatically launch the iOS simulator if it isn’t
already running.

Fixes #262.
2015-07-28 11:32:18 -07:00
Eric Seidel
0eb4c0af8a Make test_sky work on Mac!
We still have a few tests failing, I believe
due to different font metrics.  Otherwise this works!

R=abarth@google.com
2015-07-28 11:31:42 -07:00
mpcomplete
24b6312d01 Merge pull request #303 from mpcomplete/intentions
Refactor AnimationContainer to support drop-in Intentions.

This lets us be flexible in how to animate the properties of the container. Currently used by SnackBar with a SlideIn intention.
2015-07-28 14:12:53 -04:00
Eric Seidel
366d2832b3 Merge pull request #314 from asankah/asankah-fix-readme-typo
Fix typo in README.md
2015-07-28 11:12:27 -07:00
Matt Perry
a079f3adf2 Refactor AnimationContainer to support drop-in Intentions.
This lets us be flexible in how to animate the properties of the container.
Currently used by SnackBar with a SlideIn intention.
2015-07-28 14:12:17 -04:00
Adam Barth
b4d27f5976 Fix typos 2015-07-28 11:05:28 -07:00
Hans Muller
5711853854 Merge pull request #299 from HansMuller/animated-tab-scrolling
Animate selected scrollable TabBar Tab into position
2015-07-28 10:29:19 -07:00
Hans Muller
c0d7ed0be4 When the selected tab changes in a TabBar for which isScrollable:true, animate the selected tab to the center of the viewport, if that's possible.
Added an optional duration: to Scrollable.scrollTo(newOffset, duration: d) which animates the scroll to newOffset.

Refactored the Scrollable implementation a little to make the roles of the "toEnd" and "toOffset" animations clearer.

_handlePointerDown() now stops both animations.

Similarly, we only call settleScrollOffset() from the cancel gesture handlers if the animations aren't already running.
2015-07-28 10:23:34 -07:00
Viktor Lidholt
d9ed5494ee Optimizes sprite performance by minimizing the number of calls to action controllers 2015-07-28 10:16:16 -07:00
Viktor Lidholt
cb5a2e1751 Optimizes sprite performance by reusing Paint objects 2015-07-28 10:16:15 -07:00
Viktor Lidholt
a3649e6a13 Optimizes sprites by replacing save/restore by caching the total matrix 2015-07-28 10:16:14 -07:00
Asanka Herath
96c401b3c1 Fix typo in README.md 2015-07-28 13:05:20 -04:00
Adam Barth
1e8c0816cc Merge pull request #313 from abarth/mv_sky_package
Move sky package into sky/packages/sky
2015-07-28 08:48:13 -07:00