1. 13 6月, 2018 2 次提交
  2. 11 6月, 2018 1 次提交
  3. 10 6月, 2018 1 次提交
  4. 09 6月, 2018 1 次提交
  5. 08 6月, 2018 1 次提交
    • G
      Fixing image encoding format conversion. (#5489) · 5d2f24aa
      Greg Spencer 提交于
      On a Linux host, we were having to convert the type of the bitmap to N32, but we weren't also fixing the channel order to RGBA, so consequently we were getting BGRA when the API was asking for RGBA. This forces the color format to be RGBA when that is what is asked for.
      
      We weren't needing to do conversion on macOS, so macOS was always getting RGBA.
      5d2f24aa
  6. 07 6月, 2018 2 次提交
  7. 31 5月, 2018 1 次提交
  8. 30 5月, 2018 1 次提交
  9. 23 5月, 2018 2 次提交
  10. 22 5月, 2018 1 次提交
  11. 19 5月, 2018 1 次提交
  12. 18 5月, 2018 3 次提交
  13. 17 5月, 2018 2 次提交
  14. 15 5月, 2018 1 次提交
  15. 12 5月, 2018 1 次提交
  16. 11 5月, 2018 2 次提交
  17. 10 5月, 2018 1 次提交
  18. 02 5月, 2018 2 次提交
  19. 01 5月, 2018 3 次提交
    • C
      Use the GPU object constructor to create a gradient shader. (#5136) · 110bce4f
      Chinmay Garde 提交于
      Fixes build break introduced in 33aaf6fc.
      110bce4f
    • V
      Enable sweep gradients (#4950) · 33aaf6fc
      Victor Choueiri 提交于
      * Enable sweep gradients
      
      * Use _matrix4IsValid
      
      * Add assert for startAngle < endAngle
      
      * Use radians for startAngle and endAngle
      
      * Update AUTHORS
      
      * Better assert on matrix4IsValid
      33aaf6fc
    • G
      Adding Color.alphaBlend (#5119) · cf91f89c
      Greg Spencer 提交于
      This is helpful for some Material Design widgets, which are specified as a semi-transparent color over top of a "material". In some cases, the resulting alpha-blended color can be used instead of compositing an additional shape with an opacity.
      
      This new Color.alphaBlend function mimics the alpha blending function, and creates the resulting combined color. The optimization only works for solid color shapes that have the same geometry, of course.
      cf91f89c
  20. 28 4月, 2018 1 次提交
  21. 27 4月, 2018 1 次提交
    • J
      Create message response external typed data objects as Uint8Lists (#5101) · b6be9377
      Jason Simmons 提交于
      PlatformMessageResponseDart will wrap large responses in Dart external typed
      data objects in order to avoid copying the data into a new buffer.
      
      Previously these objects were created with the Dart_TypedData_kByteData type.
      A weak persistent handle is then associated with the ByteData to provide a
      finalizer that deletes the raw buffer.  However, the Dart VM could call
      finalizer on the ByteData even if references still existed to the Dart ByteBuffer
      object backing the ByteData.  The ByteBuffer would then be referencing a deleted
      raw buffer.
      
      This PR prevents that scenario by creating a Dart_TypedData_kUint8 object,
      attaching the finalizer to that object, and then wrapping it in a ByteData.
      b6be9377
  22. 26 4月, 2018 2 次提交
    • D
      Path metrics/getBounds/combinations again (#4957) · c249b702
      Dan Field 提交于
      * add path measure
      
      * fix typo
      
      * getBound and addPathWithMatrix
      
      * Add myself to Authors, add PathOps
      
      * fix linting issues
      
      * update licenses_flutter to add new files
      
      * Use matrix4 instead of matrix3 for consistency/interop
      
      * put pubspec back
      
      * fix bug in getSegment
      
      * fix typo
      
      * Add return value for PathOp
      
      * refactoring from review
      
      * refactoring from review - still TBD on computeMetrics()
      
      * add doc
      
      * lint issue
      
      * fix computeMetrics, add Path.from
      
      * add missing wireup for clone
      
      * change PathMetrics to iterable, fix bug with angle on Tangent
      
      * prefer std::make_unique
      
      * cleanup docs
      
      * add path measure
      
      * fix typo
      
      * getBound and addPathWithMatrix
      
      * Add myself to Authors, add PathOps
      
      * fix linting issues
      
      * update licenses_flutter to add new files
      
      * Use matrix4 instead of matrix3 for consistency/interop
      
      * put pubspec back
      
      * fix bug in getSegment
      
      * fix typo
      
      * Add return value for PathOp
      
      * refactoring from review
      
      * refactoring from review - still TBD on computeMetrics()
      
      * add doc
      
      * lint issue
      
      * fix computeMetrics, add Path.from
      
      * add missing wireup for clone
      
      * change PathMetrics to iterable, fix bug with angle on Tangent
      
      * prefer std::make_unique
      
      * cleanup docs
      
      * fix iterator bug
      
      * remove unnecessary clone for computeMetrics
      
      * fix some doc issues
      
      * fix PathMeasure iterator, extendWithPath, isClosed, and pubspec.lock
      
      * get rid of orElse; use StateException
      
      * StateError, not StateException
      
      * doc improvements and nits
      
      * add unit tests, fix bugs found during testing
      
      * fix two uncommited doc changes
      
      * one more
      
      * change sign of tangent angle, update docs
      
      * update unit tests for inverted angle
      
      * update tangent to include vector
      
      * Doc fixes
      
      * Fix MSVC compilation and unit test
      c249b702
    • J
      Throw an exception if a secondary isolate tries to send a platform message (#5069) · 8da9398e
      Jason Simmons 提交于
      Platform messages are only support in the UI isolate.  Secondary isolates
      do not have a window that can receive incoming messages, and outgoing messages
      are not tagged with a destination isolate and thus will always be dispatched
      to the UI isolate.
      
      Fixes https://github.com/flutter/flutter/issues/16846
      8da9398e
  23. 24 4月, 2018 3 次提交
  24. 21 4月, 2018 2 次提交
  25. 20 4月, 2018 1 次提交
  26. 19 4月, 2018 1 次提交