Refactor awt metal code and provide some basic docs (#699)
* [awt.metal] Extract MetalDevice interface into .h file
* [awt.metal] Move context and renderTarget creation to ContextHandler
ContextHandler shouldn't depend on redrawer, since redrawer depends on ContextHandler
* [awt.metal] Use value class to hold MetalDevice pointer
* [awt.metal] Add docs for MetalDevice
* [awt.metal] Add simple docs for MetalRedrawer and MetalContextHandler
* [awt.metal] Use null instead of artificial pointer to 0
---------
Co-authored-by:
Ivan Matkov <ivan.matkov@jetbrains.com>
Showing
Please register or sign in to comment