sharkbaitbobby2
July 4th, 2009, 09:01 PM
Hi,
I have an application that can be viewed in full screen. When it's in full screen, I use Cairo to draw a nice border so it's not too ugly. (See first screenshot.) But, when the size changes where the border would be extended up and down, the image is corrupted. (See second screenshot.) Changing back to a smaller size still leaves corruption.
This happens both in full screen and normal size. In full screen, changing the workspace or exiting and re-entering full screen fixes the corruption. In normal size, only minimizing and unminimizing the window fixes the corruption. Hovering over the buttons to force a re-expose doesn't fix it.
This occurs on both Intel graphics with Intrepid's driver and ATI graphics with Jaunty. It is just a coincidence that it's corrupted for both, or am I doing something wrong somewhere?
This is the .c file (http://bazaar.launchpad.net/~memorizer/memorizer/trunk/annotate/head:/src/mem-flash.c). Here is a PPA (https://launchpad.net/~memorizer/+archive/ppa) if you want to try it.
Thanks.
I have an application that can be viewed in full screen. When it's in full screen, I use Cairo to draw a nice border so it's not too ugly. (See first screenshot.) But, when the size changes where the border would be extended up and down, the image is corrupted. (See second screenshot.) Changing back to a smaller size still leaves corruption.
This happens both in full screen and normal size. In full screen, changing the workspace or exiting and re-entering full screen fixes the corruption. In normal size, only minimizing and unminimizing the window fixes the corruption. Hovering over the buttons to force a re-expose doesn't fix it.
This occurs on both Intel graphics with Intrepid's driver and ATI graphics with Jaunty. It is just a coincidence that it's corrupted for both, or am I doing something wrong somewhere?
This is the .c file (http://bazaar.launchpad.net/~memorizer/memorizer/trunk/annotate/head:/src/mem-flash.c). Here is a PPA (https://launchpad.net/~memorizer/+archive/ppa) if you want to try it.
Thanks.