Revision 5d00100...

Go back to digest for 27th January 2013

Bug Fixes in Office

Dmitry Kazakov committed changes in [calligra/krita-fixed-transform-kazakov] /ui/opengl:

Added a workaround for OpenGL bended lines

There are two reasons why the lines might become bended:
1) swapBuffers() call waits for the display VSync for about 6 ms, all the
events seem to be dropped during this time.
2) When painting very *huge* circles with very small brush
(circles ~ 3000px in diameter, brush ~5px) some another factor
appears. I cannot tell for sure, but this is, probably, texture loading.

This patch fixes only the first (!) reason of line bending.
First, it asks Qt to use single buffered contexts. Then, if a single
buffered context is not available, it asks openGL to disable VSync.

File Changes

Added 1 files
  • krita/ui/opengl/kis_opengl_canvas2_p.h
Modified 1 files
  • krita/ui/opengl/kis_opengl_canvas2.cpp
2 files changed in total