phosphorus icon indicating copy to clipboard operation
phosphorus copied to clipboard

WIP EGL support

Open kvark opened this issue 5 years ago • 2 comments

Attempt to fix #10

I think the first commit has useful stuff that could be merged. The second commit is garbage, and I don't think it's productive for me to continue.

kvark avatar Nov 09 '20 03:11 kvark

Currently asserts on this line:

"namespace" => assert_eq!(value, "GL"),

EGL spec uses a namespace per enum, so clearly the expectations are different here :/

kvark avatar Nov 09 '20 03:11 kvark

Ah, that's more of a debug assert sort of thing. Feel free to change that if it's giving you trouble. A lot of the checks are just because I was being extra cautious during development as I was building up my own personal understanding of how gl.xml works.

Lokathor avatar Nov 09 '20 05:11 Lokathor