2854 Commits

Author SHA1 Message Date
Chinmay Garde
a2d13124de Merge pull request #349 from abarth/vsync_provider
Drive frames from the vsync provider on Android
2015-07-29 09:59:59 -07:00
Viktor Lidholt
e73f94e225 Merge pull request #346 from vlidholt/master
Adds star field to game start screen
2015-07-29 07:34:53 -07:00
Adam Barth
f81d96e1dd Drive frames from the vsync provider on Android
Instead of using back pressure from swap buffers to drive the engine, this
patch using the vsync signal from the Android framework. We still respect
back pressure from swap buffers if we get too far ahead.
2015-07-28 22:32:36 -07:00
Chinmay Garde
df5c6f1db5 Merge pull request #348 from chinmaygarde/master
Increase the log level of syslog messages from dart
2015-07-28 18:14:36 -07:00
Chinmay Garde
3c3528afd9 Increase the log level of syslog messages from dart 2015-07-28 18:10:16 -07:00
Chinmay Garde
0e3cb9bdc4 Merge pull request #347 from chinmaygarde/master
Enable multiple touches on SkySurface on iOS
2015-07-28 18:10:01 -07:00
Chinmay Garde
0ca1c20fea Enable multiple touches on SkySurface on iOS 2015-07-28 18:08:41 -07:00
Viktor Lidholt
acececc43f Adds star field to game start screen 2015-07-28 17:34:39 -07:00
Viktor Lidholt
306ba1c5cb Merge pull request #345 from vlidholt/master
Fixes analyzer warnings in sprites
2015-07-28 17:34:02 -07:00
Viktor Lidholt
1ace7181ed Fixes compilation error in demo game and adds auto scrolling star field 2015-07-28 17:21:06 -07:00
Viktor Lidholt
248fc1c4e2 Fixes compilation errors in sprites 2015-07-28 17:19:56 -07:00
Chinmay Garde
30980b6a4f Merge pull request #344 from chinmaygarde/master
Fix release builds on iOS
2015-07-28 17:10:59 -07:00
Chinmay Garde
9f536abb49 Fix release builds on iOS 2015-07-28 17:07:44 -07:00
Chinmay Garde
c3c5c418f8 Merge pull request #342 from chinmaygarde/master
Avoid cancelling touches on views on gesture recognition on iOS
2015-07-28 17:07:08 -07:00
Adam Barth
25fcb18cb0 Merge pull request #343 from abarth/fix_analyzer
Fix analyzer warnings
2015-07-28 17:06:11 -07:00
Adam Barth
b4db5ee64d Fix analyzer warnings 2015-07-28 17:05:30 -07:00
Chinmay Garde
9df6383b4d Avoid cancelling touches on views on gesture recognition on iOS 2015-07-28 17:05:09 -07:00
Hans Muller
397810122e Merge pull request #340 from HansMuller/animate-selected-tab-indicator
Animated selected tab indicator
2015-07-28 17:02:55 -07:00
Hans Muller
94132e779e Animated selected tab indicator 2015-07-28 17:01:15 -07:00
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