Skip to content

Latest commit

 

History

History
271 lines (166 loc) · 5.93 KB

CHANGELOG.md

File metadata and controls

271 lines (166 loc) · 5.93 KB

0.93.4 - Sep 20, 2021

Added:

  • org.jetbrains.skija.resources.*
    • ResourceProvider
    • FileResourceProvider
    • DataURIResourceProviderProxy
    • CachingResourceProvider
  • AnimationBuilder::setResourceProvider #129

0.93.1 - Aug 11, 2021

Added:

  • ShapingOptions
    • Groups together FontMgr, FontFeature[], leftToRight
    • Adds approximateSpaces and approximatePunctuation
  • FontMgrRunIterator(String, Font)
  • Shaper::shapeLine(String, Font)

Changed:

  • AnimationDisposalMethod -> AnimationDisposalMode

Signature updated from:

  • TextLine::make(String, Font, FontFeature[], boolean)
  • FontMgrRunIterator(ManagedString, boolean, Font, FontMgr)
  • FontMgrRunIterator(String, Font, FontMgr)
  • Shaper::shape(String, Font, boolean, float, Point)
  • Shaper::shape(String, Font, FontMgr, FontFeature[], boolean, float, RunHandler)
  • Shaper::shape(String, Iterator, Iterator, Iterator, Iterator, FontFeature[], float width, RunHandler)
  • Shaper::shape(ManagedString, Iterator, Iterator, Iterator, Iterator, FontFeature[], float width, RunHandler)
  • Shaper::shapeLine(String, Font, FontFeature[], boolean)

to:

  • TextLine::make(String, Font, ShapingOptions)
  • FontMgrRunIterator(ManagedString, boolean, Font, ShapingOptions)
  • FontMgrRunIterator(String, Font, ShapingOptions)
  • Shaper::shape(String, Font, ShapingOptions, float, Point)
  • Shaper::shape(String, Font, FontMgr, ShapingOptions, float, RunHandler)
  • Shaper::shape(String, Iterator, Iterator, Iterator, Iterator, ShapingOptions, float width, RunHandler)
  • Shaper::shape(ManagedString, Iterator, Iterator, Iterator, Iterator, ShapingOptions, float width, RunHandler)
  • Shaper::shapeLine(String, Font, ShapingOptions)

0.93.0 - Aug 10, 2021

Changed:

  • Skia version m92-d9b8efde6d -> m93-87e8842e8c
  • Paint::getHash is no longer structural

Removed:

  • Shader::makeLerp #114 thx @cqjjjzr
  • Paint::getFilterQuality, Paint::setFilterQuality #114 thx @cqjjjzr

0.92.30 - Aug 9, 2021

Changed:

  • Skia version m92-f46c37ba85-2 -> m92-d9b8efde6d
  • Linking freetype dynamically on Linux to avoid conflicts with JavaFX #113

0.92.29 - Aug 7, 2021

Added:

  • RuntimeEffect #120 #124 thx @Vechro

0.92.22 - July 29, 2021

Added:

  • DirectContext::submit(bool syncCPU), thx @EgorOrachyov
  • Direct3D Context #121 thx @EgorOrachyov
  • SkData->ByteBuffer #118 thx @cqjjjzr
  • SkImage bindings for SkPixmap #117 thx @cqjjjzr

0.92.15 - July 16, 2021

Changed:

  • Optimized use of Enum.values() #112
  • Fixed source jar build on non-English Windows

Added:

  • SkPixmap bindings, SkPixmap-related methods for SkSurface #116 thx @cqjjjzr

0.92.12 - June 22, 2021

Lowered minimal required version to Java 9. Support for Java 9 modules (#110 #111 thx @comtel2000):

  • org.jetbrains.skija.shared
  • org.jetbrains.skija.windows
  • org.jetbrains.skija.linux
  • org.jetbrains.skija.macos.x64
  • org.jetbrains.skija.macos.arm64

Code reorganization:

  • removed maven
  • flattened source dirs
    • native/src → platform/cc
    • shared/src/main/java/org/jetbrains/skija → shared/java
    • shared/src/test/java/org/jetbrains/skija → tests/java
    • added platform/java-{platform}

0.92.1 - June 7, 2021

Skia version m92-f46c37ba85 -> m92-f46c37ba85-2

Changed:

Added:

  • SVGDOM::getRoot()
  • SVGSVG (root SVG node)

0.92.0 - June 4, 2021

Skia version m91-b99622c05a -> m92-f46c37ba85

Changed:

  • paragraph.Shadow::blurRadius -> paragraph.Shadow::blurSigma

Removed:

  • PathEffect::computeFastBounds

0.91.8 - June 1, 2021

Fixed:

  • Typeface.getFamilyNames return type (String[] -> FontFamilyName[]) #108
  • Canvas.resetMatrix argument (Matrix33 -> None) #109, thx @AnzerWall

0.91.6 - May 21, 2021

Added:

  • Canvas.drawRectShadow
  • Canvas.drawRectShadowNoclip
  • Rect.inflate
  • Rect.isEmpty
  • Managed.isClosed

Updated:

  • org.jetbrains:annotations from 19.0.0 to 20.1.0

0.91.4 - May 11, 2021

Added:

  • Surface::makeFromMTKView
  • Optionally load dll/so/dylib from current dir

0.91.3 - May 4, 2021

Added:

  • DirectContext::makeMetal
  • BackendRenderTarget::makeMetal

0.91.2 - Apr 29, 2021

Fixed:

  • -Xcheck:jni warnings #70

0.91.1 - Apr 28, 2021

Fixed:

  • NPE in TextLine::getIntercepts

0.91.0 - Apr 28, 2021

Skia version m90-adbb69cd7f-2 -> m91-b99622c05a

Changed:

  • All variants of Picture.makeShader now take extra FilterMode argument

0.90.16 - Apr 23, 2021

Added:

  • Matrix33.rotate(deg, pivot)

0.90.14 - Apr 22, 2021

New FontRunIter for TextLine/TextBlob, groups grapheme clusters together correctly

0.90.9 - Apr 20, 2021

Lombok 1.18.18 -> 1.18.20 (support for Java 16)

0.90.6 - Apr 16, 2021

Added:

  • TextLine.getIntercepts()

0.90.3 - Mar 26, 2021

Skia version m90-adbb69cd7f -> m90-adbb69cd7f-2

Changed:

  • Fixed exception during reporting double close in Managed #102
  • Fixed for locale-dependent SVGCanvas serialization https://skbug.com/11794

0.90.2 - Mar 25, 2021

Changed:

  • Fixed Skottie linking on Linux

0.90.0 - March 19, 2021

Skia version m89-109bfc9052 -> m90-adbb69cd7f

Added:

  • Canvas.drawImageRect(..., SamplingMode, ...)
  • Canvas.drawImageNine()

Changed:

  • SamplingMode.FilterMipmap -> FilterMipmap
  • SamplingMode.CubicResampler -> CubicResampler
  • ImageFilter.makeXfermode() -> ImageFilter.makeBlend()
  • ImageFilter.makeImage(..., FilterQuality -> SamplingMode)
  • ImageFilter.makeMatrixTransform(..., FilterQuality -> SamplingMode)

Removed:

  • Canvas.drawImageIRect()
  • Canvas.drawBitmap()
  • Canvas.drawBitmapRect()
  • Canvas.drawBitmapIRect()

(See https://bugs.chromium.org/p/skia/issues/detail?id=11764#c1)

0.89.39 - March 18, 2021

Lombok 1.18.16 -> 1.18.18

0.89.38 - March 17, 2021

Added:

  • BreakIterator
  • U16String

0.89.37 - March 11, 2021

Added:

  • Codec
  • AnimationFrameInfo
  • AnimationDisposalMethod