Sumit Tiwari

Results 16 comments of Sumit Tiwari

So on Windows (with WGL) what might be happening is that the function `choose_arb_pixel_format` returns `true` for sRGB (since `WGL_EXT_framebuffer_sRGB` is available on my machine; maybe it's the same on...

There's definitely something funky going on here, although my cursory knowledge of OpenGL/glutin may not be enough to figure it out and @ZeGentzy might have to help me out in...

@ZeGentzy So here's some more interesting stuff. `with_srgb` set to `false` returns this descriptor: `[8193, 1, 8208, 1, 8211, 8235, 8195, 8231, 8212, 24, 8219, 8, 8226, 24, 8227, 8,...

> Nvm, didn't read hard enough, you said it still doesn't work in the end... hmmmm. We'd still need to modify it anyway, since if it's left unspecified it's **somehow**...

Available pixel formats seem right to me. And I did my investigation on an Nvidia Quadro with recent-ish drivers (although theirs have been known to be shitty as well, so...

@ZeGentzy Here's an interesting link that chronicles similar oddities: https://devtalk.nvidia.com/default/topic/776591/opengl/gl_framebuffer_srgb-functions-incorrectly/ Note that while the thread itself is from 2014, the last post (by which time the issue hadn't been resolved...

@ZeGentzy Not that I can find. `glview` doesn't list out alpha-bits, and `visualinfo` (from `glew`) doesn't list out `SRGB_EXT`. I was able to combine information from the two for my...

@ZeGentzy I'll have that PR ready by tomorrow. It was fun investigating this; I hope to be able to contribute more to the project! @LukasKalbertodt With my PR, sRGB rendering...

@ZeGentzy Well that's the thing: I tested this with Nvidia, Intel and AMD and got the same results on all three when testing with Windows 10 (with the latest drivers)....

Yeah, that looks about right. `CommandLine::Parse` has this loop where we get the value of each property specified, and we do this by moving forward on the string, one character...