What's new

New Video Extension API


Emulator Developer
I have just published another piece of the Mupen64Plus v2.0 API on the Mupen64Plus Emuwiki. It's called the Video Extension API, and what it does is remove the SDL dependency from the video plugins. Rather than the video plugin calling the SDL functions directly for things like opening a rendering window and flipping front/back buffers, it will instead call into special core functions. These functions by default will call SDL, but the front-end can also override these functions to supply its own functions. This will allow a front-end to use its own video API; for example a GUI front-end may use an embedded video window rather than a separate SDL window.

The new API consists of 2 pieces; one function has been added to the "Front-End functions" section. The remaining functions have been added to a new section called "Video Extension API".