This is experimental extension of WASI for basic graphics.
This article introduces the need for a framebuffer abstraction for WASI: https://medium.com/wasmer/wasmer-io-devices-announcement-6f2a6fe23081
Note: I/O devices is not part of the WASI standard yet.