1. 19 7月, 2017 1 次提交
  2. 14 7月, 2017 1 次提交
  3. 28 6月, 2017 1 次提交
  4. 24 6月, 2017 2 次提交
  5. 15 6月, 2017 1 次提交
  6. 09 6月, 2017 1 次提交
    • M
      Run Flutter on iOS and Android with color correct Skia (#3743) · ffe8181f
      mattsarett 提交于
      * Run Flutter on iOS and Android with color correct Skia (#3716)
      
      ***Turns on color correct rendering for Android and iOS
      ***Communicates dst color space to raster cache
      ***Turns on color space aware image decoding
      
      Test:
      ***color_testing_demo on Pixel XL
      ***flutter_gallery on iPad Mini and iPad Pro (haven't figured out how to run manual_tests on iOS)
      
      TODO:
      I needed to split up this CL somewhere. These are follow-up tasks.
      ***Make desktop backends color correct
      ***Make debugging tools (ex: encoding frames to png) preserve color space
      ***Investigate using UIKit API to allow iOS to fine tune color space of rendered content
      ffe8181f
  7. 06 6月, 2017 3 次提交
    • C
      Rework raster cache to fix numerous issues. (#3717) · 1c6a531e
      Chinmay Garde 提交于
      * Fix pixel rounding error in the picture layer by first ensuring that
        the texture for the image is at least as big as the next integer size
        along each dimension and using kStrict_SrcRectConstraint while
        drawing the same image. We already select the source subset by
        looking at the cull rect of the picture.
      * Decompose the transformation matrix into a series of operations that
        generated the same to calculate the scale at which to rasterize the
        picture. This make the rasterization scale resilient to
        transformations that introduce a perspective component to the
        resultant matrix.
      * The scale in the decomposed matrix is now part of the key in the
        cache.
      * Raster cache images that could never be rasterized were still taking
        part in the cache. Now, those entries are rejected early on. This
        leads to the sweep after the frame iterating over fewer items.
      * Added a unit test target.
      1c6a531e
    • C
    • M
      Run Flutter on iOS and Android with color correct Skia (#3716) · fe827576
      mattsarett 提交于
      ***Turns on color correct rendering for Android and iOS
      ***Communicates dst color space to raster cache
      ***Turns on color space aware image decoding
      
      Test:
      ***color_testing_demo on Pixel XL
      ***flutter_gallery on iPad Mini and iPad Pro (haven't figured out how to run manual_tests on iOS)
      
      TODO:
      I needed to split up this CL somewhere. These are follow-up tasks.
      ***Make desktop backends color correct
      ***Make debugging tools (ex: encoding frames to png) preserve color space
      ***Investigate using UIKit API to allow iOS to fine tune color space of rendered content
      fe827576
  8. 09 12月, 2016 1 次提交
  9. 19 11月, 2016 1 次提交
    • A
      Composite child views in proper paint order (#3243) · 21f6aa52
      Adam Barth 提交于
      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.
      21f6aa52
  10. 12 11月, 2016 1 次提交
  11. 31 8月, 2016 1 次提交
    • C
      When rasterizing to a recorder backed canvas for SKP tracing, don’t attempt to... · 94c5be8e
      Chinmay Garde 提交于
      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).
      94c5be8e
  12. 24 8月, 2016 1 次提交
  13. 23 8月, 2016 1 次提交
  14. 10 8月, 2016 1 次提交
  15. 06 8月, 2016 1 次提交
  16. 02 8月, 2016 1 次提交
  17. 23 7月, 2016 1 次提交
    • A
      Add a way to hint the compositor (#2816) · 9eb5df41
      Adam Barth 提交于
      The code that draws the picture knows more about the picture (and the future)
      than we do. This patch gives them a way to hint us about what's going to
      happen with the picture in the future.
      9eb5df41
  18. 13 5月, 2016 1 次提交
  19. 22 4月, 2016 2 次提交
  20. 31 1月, 2016 1 次提交
  21. 13 1月, 2016 2 次提交
  22. 12 1月, 2016 1 次提交
  23. 11 1月, 2016 1 次提交
  24. 09 1月, 2016 5 次提交
    • A
      Compute paint bounds from cull rects · f7d1856b
      Adam Barth 提交于
      Rather than relying upon the rects passed in from Dart, the compositor
      should compute the paint bounds of layers from the cull rects of the
      underlying SkPictures. This approach is better because it will handle
      effects like shadows that paint outside the incorrect paint bounds we
      use today (as well as shrinking around empty space).
      f7d1856b
    • A
      Make RasterCache responsible for prerolling the image · 8f283823
      Adam Barth 提交于
      8f283823
    • A
      Use the cull rect to select the rasterize size · 21305459
      Adam Barth 提交于
      Using the picture's cull rect to select the size of the texture is more
      accurate than using the paint bounds. The cull rect captures shadows and
      other "out of bounds" drawing as well as shrinks down around empty space
      in the recording.
      21305459
    • A
      Preroll rasterization · 2e5d3c49
      Adam Barth 提交于
      Prerolling the rasterization tasks reduces the number of render target
      switches because we don't interrupt the main render target.
      2e5d3c49
    • A
      Experiment with caching rasterized layers · 3de2e1cf
      Adam Barth 提交于
      This patch adds back (and tweaks) some code that we previously removed
      for caching rasterized layers. Now that our layerization code in the
      framework is more sophisticated, we should be able to get more value out
      of this mechanism.
      3de2e1cf
  25. 19 9月, 2015 1 次提交
  26. 12 9月, 2015 2 次提交
  27. 11 9月, 2015 2 次提交
  28. 10 9月, 2015 2 次提交