1
General / Re: SFML 2.3 and GTK bug - related to XCB change
« on: July 13, 2015, 05:04:09 pm »Either way, I can look into whether the visual setting can be changed on already existing windows, although I can't promise this is even doable.Bummer. I was able to work around the 1st problem by doing all of my rendering to a framebuffer object (where I could set my own depth buffer) and then blitting it back. I didn't notice any performance drop, so I can keep that for now.
EDIT : I've found a workaround consisting of recreating the window each time the widget is resized.
That is quite a workaround. I guess resize events aren't frequent enough to impact performance that much, though. I may give that a try.
Draw is called multiple times per second. So the problem doesn't seem to come from there.
By the way, when I resize the window, the view moves a bit : when resized in height, the view seems to be offset to the top by exactly the missing bottom part (watch the red rectangle in attachments). It doesn't happen for the width of the window.
Same here. Draw is being called; everything renders/animates correctly, and the view is being offset on vertical resize. See attached screenshot of my program. The sphere is centered in what should be the drawing area, but only the upper left portion of the screen can be drawn to, and the rest is filled with garbage. (multiple copies of the right sidebar, some other open windows, a bit of the taskbar, etc.)
I should have mentioned earlier: I'm running on an AMD APU chipset (Radeon HD 6209) using the open-source linux driver.