18 Commits

Author SHA1 Message Date
Chinmay Garde
63fbe60fa6 Display resident memory statistics on the performance overlay. (flutter/engine#3314) 2017-01-03 12:27:30 -08:00
Adam Barth
6e603372ba Composite child views in proper paint order (flutter/engine#3243)
We push a bit up the tree during preroll to learn whether there system
composited layers below each layer. During update scene, we squash down
to paint tasks, which we execute after publishing the new scene.
2016-11-18 12:54:54 -08:00
Adam Barth
c693907f61 Fix Mozart child views (flutter/engine#3232)
When we pipelined the drawing commands we caused UpdateScene to be called
before Preroll, which isn't allowed. Now we call Preroll, UpdateScene, and
Paint separately.
2016-11-16 15:30:57 -08:00
Chinmay Garde
b09b35cc06 Tell the raster cache when checkerboarding preferences have been updated. (flutter/engine#3205) 2016-11-07 15:29:03 -08:00
Chinmay Garde
20ad790b7f Allow checkerboarding raster cache entries for debugging purposes (can be toggled from Dart). (flutter/engine#3200) 2016-11-03 13:59:57 -07:00
Jeff Brown
82d8a27854 Port Flutter to Mozart. (flutter/engine#3094)
Example: $ mojo:launcher mojo:spinning_square
2016-10-04 12:54:54 -07:00
Chinmay Garde
332de9c7d2 When rasterizing to a recorder backed canvas for SKP tracing, don’t attempt to update the raster cache. (flutter/engine#2983)
We could get into a situation where the second time we rasterize a picture for an SKP, the raster cache detects that the same picture is being repeated in subsequent onscreen frames and then proceeds to rasterize the contents to an offscreen texture. This not only causes an unnecessary cache entry, but also shows the cached image in the final SKP trace (which is not what was originally displayed on screen).
2016-08-30 14:52:39 -07:00
Adam Barth
16584a5a4e Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
Adam Barth
2eb635524d Finish removing //base dependency from //flow (flutter/engine#2848)
This patch introduces a //glue library that isolates our dependency on //base.
This will let us clean up our //base dependencies ahead of actually being able
to fully remove them.
2016-08-01 16:27:48 -07:00
Adam Barth
9586997a02 Port //flow to //lib/ftl (flutter/engine#2847)
This patch removes almost all //base dependency of //flow. The only dependency
left is on tracing.
2016-08-01 15:11:56 -07:00
Adam Barth
bd5781371c Revert "Record layer tree to an SkPicture before rasterization (#2628)"
This reverts commit 73790140e751ebc4dd57802a63e06bd694fc97a3.

This commit appears to have caused
https://github.com/flutter/flutter/issues/3658
2016-05-01 14:23:13 -07:00
Adam Barth
73790140e7 Record layer tree to an SkPicture before rasterization (flutter/engine#2628)
This lets Skia run an optimization pass over the SkPicture before actually
issuing GL commands.
2016-04-28 10:15:38 -07:00
Adam Barth
75b5912bd2 Break dependency from Layer to PaintContext (flutter/engine#2609)
Instead, make Layer::Paint take a new PaintContext that has just exactly
the state that it needs, mirroring PrerollContext. Also, rename
PaintContext to CompositorContext because it holds the context for the
whole compositor.
2016-04-21 23:05:41 -07:00
Adam Barth
785c11d6d9 Fix style in //flow/instrumentation (flutter/engine#2608)
This patch makes these files better match Google C++ style.

Also, add the engine lap time when running on Mojo.
2016-04-21 22:36:46 -07:00
Jason Simmons
c1b21af2c5 Fix a typo ("threshold") (#2583) 2016-04-07 10:37:33 -07:00
Adam Barth
1bdaa49f9a Update code to account for Mozart changes
The layout protocol in Mozart changed. Now we need to pipe a scene version
through the system to the compositor.
2016-03-30 15:13:58 -07:00
Adam Barth
9dbf3d72f8 Include child scenes when uploading to Mozart
Previously we just dropped child scenes on the floor. Now we upload them
to Mozart. However, we just draw them on top of all the other content
and don't apply any clips or blends.
2016-02-03 14:16:09 -08:00
Adam Barth
e9171f9608 Move Flow layers to //flow/layers 2016-01-30 23:35:22 -08:00