CopyRegion() with direct windows broken
|Reported by:||axeld||Owned by:||stippi|
Two easily see the problem, enable transparent background in src/kits/opengl/GLView.cpp, line 206. Then move a GLTeapot window around, and see that the original window contents are copied over and over; instead of actually copying the window CopyRegion() only invalidates everything which causes the back buffer to be copied, but that doesn't contain the right data in case of a direct window.
If there is a direct window on the screen, either acceleration must be used to move the window around, or it needs to be copied manually.
Maybe double buffering should simply work view based, not screen based.