Skip to content

Commit

Permalink
Fixed Swing interop in Metal when we have multiple nested SkiaLayers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rsedaikin committed Apr 30, 2021
1 parent bdc91b5 commit 3927409
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ internal class MetalContextHandler(layer: SkiaLayer) : ContextHandler(layer) {
try {
if (context == null) {
context = metalRedrawer.makeContext()
metalRedrawer.syncSize()
if (System.getProperty("skiko.hardwareInfo.enabled") == "true") {
println(rendererInfo())
}
Expand Down

0 comments on commit 3927409

Please sign in to comment.