Files
Elijah Semyonovanddima.avdeev ee58078e4f Fix MetalRedrawer being a source of leak (#771)
* Break strong cycle

* Add test proving it

* Remove dead code

* Explain test

* Add remark about two passes

* Add temporary ignore on test

* Use assertTrue instead of assertEquals

* Update test to ignore CI failure on Metal not supported

* Update test

* Refactor to reflect insight about memory model

* Add contract comment.

* Break strong reference from CADisplayLink -> MetalRedrawer

* Bind logical lifetime of MetalRedrawer to caDisplayLink

* Bind logical lifetime of MetalRedrawer to caDisplayLink

* Close skia context on MetalRedrawer dispose.

* Use `check`

* Fix tests on iOS with Metal on GitHub Actions (#783)

* iOS simulator warmup

* comment redundant for now

* sim ID

* iPhone 8

* iPhone 14

* env.IOS_SIM_UUID

* remove redundant

* one line cmd

* one line cmd

* device

* device

* property

* retry 3 times

* retry 3 times

* retry 5 times

* retry 10 times

* testMetalIosX64

* test test fails

* kotlin 1.8.20

* success test

* success test

* temp fail

* success test

* simplify

* simplify

* simplify

* Added iOS Metal tests only on MacOS

* Gradle, check targets before adding iosX64TestWithMetal task

---------

Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
2023-08-07 12:29:21 +02:00
..