generated from rnentjes/kotlin-server-web-undertow
Refactor BufferedImage logic with WebGL support, update DisplayView for GPU-based rendering, transition timing functions to Double, optimize MTMCClock frame logic, and add dynamic control for update state in ControlView.
This commit is contained in:
@@ -3,7 +3,7 @@ package mtmc.emulator
|
||||
import kotlin.math.min
|
||||
|
||||
class MTMCDisplay(private val computer: MonTanaMiniComputer) {
|
||||
val buffer: BufferedImage = createCanvasImage(COLS, ROWS)
|
||||
val buffer: BufferedImage = createGLImage(COLS, ROWS)
|
||||
private var currentColor: DisplayColor? = null
|
||||
private var graphics: Array<BufferedImage> = arrayOf()
|
||||
private var byteArray: ByteArray = ByteArray(0)
|
||||
|
||||
Reference in New Issue
Block a user