- Jan 13, 2022
-
-
Manuel Stoeckl authored
GTK2 has reached end of life, and GTK3 has been available for a almost a decade. Signed-off-by:
Manuel Stoeckl <code@mstoeckl.com> Reviewed-by:
Simon Ser <contact@emersion.fr>
-
- Feb 15, 2013
-
-
Søren Sandmann Pedersen authored
GdkPixbufs are not premultiplied, so when using them to display pixman images, there is some unecessary conversions going on: First the image is converted to non-premultiplied, and then GdkPixbuf premultiplies before sending the result to the X server. These conversions may cause the displayed image to not be exactly identical to the original. This patch just uses a cairo image surface instead, which avoids these conversions. Also make the comment about sRGB a little more concise.
-
- Dec 08, 2012
-
-
Søren Sandmann Pedersen authored
This function uses GdkPixbuf to load various common formats such as .png and .jpg into a pixman image.
-
- Aug 09, 2012
-
-
Søren Sandmann Pedersen authored
This makes show_image() deal with more formats than just a8r8g8b8, in particular, a8r8g8b8_sRGB can now be handled. Images that are passed to show_image with a format of a8r8g8b8_sRGB are displayed without modification under the assumption that the monitor is approximately sRGB. Images with a format of a8r8g8b8 are also displayed without modification since many other users of show_image() have been generating essentially sRGB data with this format. Other formats are also assumed to be gamma compressed; these are converted to a8r8g8b8 before being displayed. With these changes, srgb-test.c doesn't need to do its own conversion anymore.
-
- Apr 02, 2012
-
-
Søren Sandmann Pedersen authored
Instead of inlining a copy of that functionality.
-
Søren Sandmann Pedersen authored
Use pixman_image_get_format() instead of image->bits.format.
-
- Feb 15, 2011
-
-
Søren Sandmann Pedersen authored
This separates the test suite from the random gtk+ using test programs. "demos" is somewhat misleading because the programs there are not particularly exciting (with the possible exception of composite-test which shows off all the compositing operators).
-
- May 05, 2010
-
-
Søren Sandmann Pedersen authored
-
- Nov 17, 2009
-
-
Søren Sandmann Pedersen authored
-
- May 04, 2009
-
-
Søren Sandmann Pedersen authored
-