freiling
2a4af6906e
Back Vulkan Rasterizer with Mozart View ( #3568 )
...
This version does not recycle buffers. It is meant only as an initial solution,
and the proper buffer recycling logic has been broken out into a separate change
2017-04-07 17:22:53 -07:00
Chinmay Garde
1c07ea530f
Remove uses of //base from all //flutter projects and replace them with //fml variants. ( #3492 )
2017-03-22 15:42:51 -07:00
Jason Simmons
98063f9d41
Improve the shadow drawing parameters ( #3499 )
...
See https://github.com/flutter/flutter/issues/8929
2017-03-22 14:47:57 -07:00
Jason Simmons
6b9eda4a40
Canvas.drawShadow API based on SkShadowUtils::drawShadow ( #3486 )
2017-03-20 14:17:47 -07:00
Jason Simmons
12c41bdcbb
Update the PhysicalModelLayer child paint bounds to account for the shadow ( #3478 )
...
See https://github.com/flutter/flutter/issues/8635
2017-03-15 14:14:15 -07:00
Jason Simmons
0edcbb7db4
Allow translucent background colors in PhysicalModel ( #3452 )
...
Set the TransparentOccluder shadow flag if the color is not opaque
2017-02-27 16:27:44 -08:00
Chinmay Garde
4562b835ca
Roll Skia revision to 3f81f3703a68755c88f5cc4a87728b98f34c4cd4 ( #3438 )
2017-02-23 17:58:05 -08:00
Jason Simmons
e01d1b39ef
Adapt the physical model layer for Fuchsia ( #3441 )
2017-02-23 16:27:33 -08:00
Chinmay Garde
2868251402
Remove rarely used GLConnection stuff in flow. ( #3440 )
...
I had added this initially as a means of making it easier to deal with OpenGL directly in Flow. However, we are moving away from dealing with the client rendering APIs directly. Instead, delegating everything to Skia. Besides, we only ever used this to log the GPU description in case of context setup failures. This has not proved to be useful so far. Also, having this in place is making it difficult to remove all dependencies on GL in Shell.
2017-02-23 16:02:53 -08:00
Jason Simmons
a44647afac
Physical model layer that can draw shadows for a Material widget ( #3424 )
2017-02-16 17:30:57 -08:00
Chinmay Garde
516b832dbb
Remove texture image. ( #3434 )
2017-02-16 16:26:02 -08:00
Chinmay Garde
d58696936f
Revert ShadowMaskFilter use and roll Skia to 246a3c269d8dc91a47ff27f7b71508bf9e74edf5. ( #3409 )
2017-02-10 16:01:36 -08:00
Adam Barth
847ee8d7a4
Fix Fuchsia build ( #3318 )
2017-01-03 13:25:38 -08:00
Chinmay Garde
8ae2d455be
Display resident memory statistics on the performance overlay. ( #3314 )
2017-01-03 12:27:30 -08:00
Chinmay Garde
37231e749c
Dont override the explicitly set paint bounds in Layer::Preroll. ( #3313 )
2016-12-13 17:14:25 -08:00
Jason Simmons
0c985f8f61
Null check before queueing deletion of Skia objects ( #3298 )
...
Fixes https://github.com/flutter/flutter/issues/7182
2016-12-08 12:43:50 -08:00
Adam Barth
596bc3e9e7
Use initialized memory for composited bounds ( #3291 )
...
SkRect objects need to be manually initialized. Previously, we were using
unintialized memory in our bounds calculations.
2016-12-02 14:18:11 -08:00
Adam Barth
33af5a5644
Rename hittable to hitTestable ( #3275 )
...
Apparently hittable is not politically correct.
2016-11-28 16:09:56 -08:00
Adam Barth
f6547c1df5
Add prune to child scene layers ( #3272 )
...
Also, change the hit testing geometry so that we get our hits at the root.
2016-11-28 12:28:18 -08:00
Adam Barth
8dcac738d8
Fix Mozart blends of child views ( #3248 )
...
We need to compute the paint bounds of ChildViewLayers during Preroll.
Also, we need to allocate a BlendPtr before writing into it.
2016-11-18 23:49:30 -08:00
Adam Barth
21f6aa5270
Composite child views in proper paint order ( #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
Chinmay Garde
036bc0d356
Update Skia and get using its BUILD.gn instead of maintaining own own copy. ( #3233 )
2016-11-17 12:36:16 -08:00
Adam Barth
2a13567a7e
Fix Mozart child views ( #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
Jason Simmons
ac479c4f9f
Move destruction of PictureLayer's SkPicture to the IO thread ( #3219 )
...
The picture may hold references to images backed by GPU textures that must
be deleted on the IO thread.
2016-11-11 13:43:23 -08:00
Chinmay Garde
e1ac3ca650
Randomize the color of the checkerboard pattern per raster cache entry. ( #3218 )
2016-11-10 18:21:12 -08:00
Adam Barth
ced9a91c3a
Switch Flutter to //lib/fidl ( #3206 )
2016-11-07 15:51:42 -08:00
Chinmay Garde
84a060820a
Tell the raster cache when checkerboarding preferences have been updated. ( #3205 )
2016-11-07 15:29:03 -08:00
Chinmay Garde
3164a97645
Allow checkerboarding raster cache entries for debugging purposes (can be toggled from Dart). ( #3200 )
2016-11-03 13:59:57 -07:00
Adam Barth
123e9c8da8
Update Skia ( #3157 )
2016-10-20 13:23:09 -07:00
Adam Barth
8b911be098
Use antialiased clips ( #3124 )
...
The Skia team tells us that these go faster.
2016-10-12 18:28:10 -07:00
Chinmay Garde
fdf13d720e
Make the PlatformView client rendering API agnostic. ( #3099 )
2016-10-06 15:06:21 -07:00
Jeff Brown
e13412bd24
Port Flutter to Mozart. ( #3094 )
...
Example: $ mojo:launcher mojo:spinning_square
2016-10-04 12:54:54 -07:00
Jeff Brown
d755b30ffd
Update skia to e038489a743d6c0ab1cb208862c305180815bc8e. ( #3074 )
2016-09-28 19:39:19 -07:00
Chinmay Garde
94c5be8e6d
When rasterizing to a recorder backed canvas for SKP tracing, don’t attempt to update the raster cache. ( #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
Chinmay Garde
ddc75b854b
Force anti-aliasing on clipRRect calls. ( #2982 )
...
Per recommendation from the Skia team. Benefits from optimizations applied in Skia for Chrome.
2016-08-30 14:11:21 -07:00
Chinmay Garde
dcd3874530
Keep track on the layer tree construction time in the animator. ( #2968 )
2016-08-23 17:03:38 -07:00
Jason Simmons
acb7939404
Scale picture layers to the picture's cull rect ( #2967 )
2016-08-23 14:46:23 -07:00
Chinmay Garde
2e684230fa
Simplify PictureLayer::Paint. ( #2962 )
2016-08-22 15:11:11 -07:00
Chinmay Garde
4eeaa07477
flow::Semaphore for simple platform specific unnamed semaphores. ( #2937 )
2016-08-17 14:28:23 -07:00
Adam Barth
0a439f3f88
Add //flutter/content_handler ( #2923 )
...
We're now producing a flutter_content_handler binary for Fuchsia that
builds and links.
2016-08-12 22:41:54 -07:00
Chinmay Garde
e8fb428a4f
Guard against sysmacros.h pulling in defines for major and minor on some platforms. ( #2900 )
2016-08-10 14:13:01 -07:00
Adam Barth
18e43c93ed
Get //flutter/flow building on Fuchsia ( #2899 )
2016-08-10 14:03:19 -07:00
Chinmay Garde
a413ef0bb0
If GrGLContext setup fails, log OpenGL platform specific information. ( #2897 )
2016-08-10 11:26:26 -07:00
Adam Barth
9c09565712
Update paths to account for buildroot
2016-08-09 13:52:15 -07:00
Adam Barth
c65c32f602
Enable gn --check for more directories ( #2884 )
...
This required us to fix a backwards dependency from flutter/lib/ui to
sky/shell.
2016-08-07 13:52:24 -07:00
Chinmay Garde
65a4c99740
Remove unused checkerboard.cc ( #2865 )
2016-08-05 16:23:12 -07:00
Jason Simmons
adbf037186
Flush image textures before they are bound by the UI thread ( #2873 )
2016-08-05 15:24:29 -07:00
Adam Barth
410bc4c313
Remove skia::RefPtr ( #2851 )
...
Also, remove the hacks that integrate Skia ref counting with WTF. Now we
just use sk_sp everywhere for managing Skia ref counts.
2016-08-01 22:21:37 -07:00
Chinmay Garde
37a1d87317
Fallback to creating Skia managed images on platforms that dont provide a GL context on the resource loader. ( #2849 )
2016-08-01 16:39:02 -07:00
Adam Barth
a415e0e748
Fix Linux build
2016-08-01 16:35:08 -07:00