JayFoxRox / xqemu

Personal development repository for XQEMU (original Xbox Emulator)
14 stars 1 forks source link

Switch from GLEW to epoxy #1

Closed JayFoxRox closed 6 years ago

JayFoxRox commented 6 years ago

This implements epoxy as backend for glo (which used to use GLEW). As epoxy does not do context management, I decided to stick to glo (QEMU uses EGL exclusively)

I did not integrate epoxy directly in our codebase yet due to unfamiliarity with their API, and because I didn't want to delay fixing master.

The display flickers with Gtk, but works fine with SDL. As I can't run XQEMU without this patch, I don't know if this change is responsible for that problem or not.


As I'm almost exclusively Linux (GLX) user. Therefore I depend on test results by macOS (CGL) and Windows (WGL) users. Please confirm that XQEMU compiles and runs fine on those platforms with these changes.


TODO:

JayFoxRox commented 6 years ago

This alone will break windows. Moved upstream immediately, bundled with another patch for GL debug extension checking.