head 1.33; access; symbols; locks; strict; comment @# @; 1.33 date 2005.10.09.02.38.04; author cworth; state Exp; branches; next 1.32; commitid 7dbb4348828c4567; 1.32 date 2005.08.07.22.57.09; author pippin; state Exp; branches; next 1.31; commitid 734542f691c44567; 1.31 date 2005.04.08.10.27.25; author dajobe; state Exp; branches; next 1.30; 1.30 date 2005.04.08.10.22.46; author dajobe; state Exp; branches; next 1.29; 1.29 date 2005.04.01.14.37.17; author cworth; state Exp; branches; next 1.28; 1.28 date 2005.03.30.12.54.34; author pippin; state Exp; branches; next 1.27; 1.27 date 2005.02.22.17.35.03; author davidr; state Exp; branches; next 1.26; 1.26 date 2005.01.25.20.53.11; author davidr; state Exp; branches; next 1.25; 1.25 date 2005.01.20.16.36.11; author cworth; state Exp; branches; next 1.24; 1.24 date 2004.12.11.16.43.55; author pippin; state Exp; branches; next 1.23; 1.23 date 2004.12.11.16.04.42; author pippin; state Exp; branches; next 1.22; 1.22 date 2004.11.14.11.33.36; author davidr; state Exp; branches; next 1.21; 1.21 date 2004.11.12.11.47.46; author davidr; state Exp; branches; next 1.20; 1.20 date 2004.11.11.09.07.58; author pippin; state Exp; branches; next 1.19; 1.19 date 2004.11.11.08.48.10; author pippin; state Exp; branches; next 1.18; 1.18 date 2004.09.21.16.53.43; author pippin; state Exp; branches; next 1.17; 1.17 date 2004.08.24.09.09.29; author pippin; state Exp; branches; next 1.16; 1.16 date 2004.08.09.16.32.40; author pippin; state Exp; branches; next 1.15; 1.15 date 2004.06.29.08.20.48; author pippin; state Exp; branches; next 1.14; 1.14 date 2004.06.20.21.15.29; author pippin; state Exp; branches; next 1.13; 1.13 date 2004.05.23.22.30.21; author pippin; state Exp; branches; next 1.12; 1.12 date 2004.05.20.18.41.16; author pippin; state Exp; branches; next 1.11; 1.11 date 2004.05.20.00.19.12; author davidr; state Exp; branches; next 1.10; 1.10 date 2004.05.13.21.43.19; author pippin; state Exp; branches; next 1.9; 1.9 date 2004.05.13.21.38.22; author pippin; state Exp; branches; next 1.8; 1.8 date 2004.04.20.12.51.02; author pippin; state Exp; branches; next 1.7; 1.7 date 2004.02.22.23.47.30; author pippin; state Exp; branches; next 1.6; 1.6 date 2004.02.21.14.29.36; author pippin; state Exp; branches; next 1.5; 1.5 date 2004.02.15.17.46.28; author pippin; state Exp; branches; next 1.4; 1.4 date 2004.02.12.17.55.22; author pippin; state Exp; branches; next 1.3; 1.3 date 2003.11.25.04.34.20; author martine; state Exp; branches; next 1.2; 1.2 date 2003.11.19.18.57.47; author martine; state Exp; branches; next 1.1; 1.1 date 2003.11.18.15.17.07; author cworth; state Exp; branches; next ; desc @@ 1.33 log @ 2005-10-08 Carl Worth Port to latest glitz (thanks to sunmoon1997 ) * configure.in: Require glitz 0.5.0 or newer. * gtkcairo/gdkcairo.c: (gdkcairo_realize), (gdkcairo_size_allocate): Track glitz API changes. @ text @2005-10-08 Carl Worth Port to latest glitz (thanks to sunmoon1997 ) * configure.in: Require glitz 0.5.0 or newer. * gtkcairo/gdkcairo.c: (gdkcairo_realize), (gdkcairo_size_allocate): Track glitz API changes. 2005-08-06 Bertram Felgenhauer * README: added note about cairo support in upcoming GTK+. 2005-08-02 Bertram Felgenhauer * configure.in: bump cairo requirements * tests/demo.c (paint): replace deprecated functions. * gtkcairo/gtkcairo.c (gtk_cairo_expose): don't save cairo's state here. (gtk_cairo_set_gdk_color): replace deprecated function. * gtkcairo/gdkcairo.c: change to use new cairo_create() semantics (gdkcairo_destroy): free glitz_surface if it was allocated (gdkcairo_size_allocate): make a temporary reference to glitz_surface to prevent it from being freed. (gdkcairo_expose): (xlib backend) use actual drawable width and height for the X11 surface, create new cairo state for every expose. (gdkcairo_expose): (glitz backend) save cairo's state. 2005-04-08 Dave Beckett * autogen.sh: Use LIBTOOLIZE_FLAGS * autogen.sh: Allow libtoolize, aclocal, autoheader, automake and autoconf to be overridden. Keep the defaults the same. 2005-04-01 Carl Worth * README: Remove invalid whitespace from export examples. 2005-03-30 Øyvind Kolås * gtkcairo/gdkcairo.c: include cairo-xlib header, and string.h for strcmp to silence compile time errors. 2005-02-22 David Reveman * gtkcairo/gdkcairo.c (gdkcairo_expose): Don't change the default color when clearing background of GL surface. 2005-01-25 David Reveman * configure.in: Require glitz-glx >= 0.4.0. * gtkcairo/gdkcairo.c (gdkcairo_size_allocate): Track changes to glitz. 2005-01-20 Carl Worth * gtkcairo/gdkcairo.c: Add mising includes for stdio.h and stdlib.h. 2004-12-11 Øyvind Kolås * README: rewrote, removed authors, since almost all that information is available in AUTHORS. 2004-12-11 Øyvind Kolås * */*.[ch]: transformed to GNU coding style. 2004-11-14 David Reveman * gtkcairo/gdkcairo.c (gdkcairo_size_allocate): Don't destroy drawable. (gdkcairo_expose): Flush surface even though drawable is double buffered. 2004-11-12 David Reveman * tests/Makefile.am (AM_CFLAGS): Added -I$(top_srcdir)/gtkcairo, so that demo compiles without gtkcairo already installed. * gtkcairo/gdkcairo.c: Better glitz backend support. Environment variable GTKCAIRO_GL_DOUBLEBUFFER specifies if a double buffered visual should be chosen and GTKCAIRO_GL_SAMPLES specifies if a multi-sample visual should be chosen. * configure.in: Require glitz-glx >= 0.3.0. Made it default to compile with glitz support again. 2004-11-11 Øyvind Kolås * tests/demo.c: remove unused variable. 2004-11-11 Øyvind Kolås * configure.in: default to not compiling with glitz support (since it is bitrotted.) 2004-09-21 Øyvind Kolås * configure.in, gtkcairo/gdkcairo.[ch]: Committed changes from David Reveman , to bring the gl backend back in sync with glitz API. 2004-08-24 Øyvind Kolås * configure.in: incremented version to 0.3 2004-08-09 Øyvind Kolås * gtkcairo/*.[ch], COPYING: Changed license to gtk+ to harmonize with gtk+ and cairo. * AUTHORS, ChangeLog: utf8'ified my name 2004-06-29 Øyvind Kolås * gtkcairo/g[td]kcairo.[ch]: Renamed redraw signal to paint 2004-06-26 Øyvind Kolås * gtkcairo/gtkcairo.c: Added a save/restore pair around the expose 2004-06-20 Øyvind Kolås * gtkcairo/gtkcairo.c: Added a non public function to query whether the glitz backend is used. Need to figure out a better API for this. 2004-05-24 Øyvind Kolås * configure.in: made glitz-glx usage autodetected * gtkcairo/gdkcairo.[ch]: USE_GL define instead of CAIRO_HAS_... 2004-05-20 Øyvind Kolås * gdkcairo/gdkcairo.[ch]: started working on smarter virtualization of backend, by moving all cairo touching parts out into a single file. * gdkcairo/Makefile.am: added above * README: New section about backend selection. 2004-05-20 David Reveman * configure.in: Require glitz-glx >= 0.1.3. * gtkcairo/gtkcairo.c (gtk_cairo_expose): Use glitz_surface_swap_buffers instead of glitz_surface_flush. Thu, 13 May 2004 23:33:46 +0100 Øyvind Kolås * README: Gave some minimal hints about usage, added information about GTKCAIRO_GL variable Thu, 13 May 2004 23:33:46 +0100 Øyvind Kolås * gtkcairo/gtkcairo.[ch]: Added gtk_cairo_set_gdk_color convenience function, added logic for using GTKCAIRO_GL enviroment variable to toggle usage of glitz for rendering when compiled with a cairo library supporting it. Tue, 20 Apr 2004 14:48:20 +0100 Øyvind Kolås Paper for guadec was accepted, work needs to be done brushing up gtkcairo before writing the paper, api changes first. * doc/guadec_abstract_draft.txt: The original abstrast Mon, 23 Feb 2004 00:45:03 +0100 Øyvind Kolås * gtkcairo.c: Fix double free during destruction of GtkCairo instance Sat, 21 Feb 2004 00:07:00 +0100 Øyvind Kolås * gtkcairo.c, gtkcairo.h: Cosmetic cleanup Sun, 15 Feb 2004 18:35:00 +0100 Øyvind Kolås * gtkcairo.c: intitial preparations for gl backend Sat, 14 Feb 2004 18:00:00 +0100 Øyvind Kolås Changes needed to be able to derive new widgets from gtkcairo * gtkcairo.c, gtkcairo.h: Move instance and class struct to header file. Thu, 12 Feb 2004 18:51:57 +0100 Øyvind Kolås Removed cairo-xlib.h include, added gtk_style_attach (), widget now defaults to the current themes, default background color. Compensate for offsets in expose handler. * gtkcairo.c: See above, Cosmetic changes. * demo.c: Change color of box to red for better contrast against bg. Fri, 21 Nov 2003 11:18:06 -0800 Evan Martin * gtkcairo.c, gtkcairo.h: Add a "redraw" signal. Wed, 19 Nov 2003 10:57:38 -0800 Evan Martin Merged local copy with the version Carl checked into CVS: * gtkcairo.c, gtkcairo.h: Cosmetic changes. * demo.c: Work with different sizes of windows. Tue, 04 Nov 2003 22:08:32 -0800 Evan Martin * Initial announcement. Salvaged from original COPYING file, prior to license change: GtkCairo is Copyright © 2003 Evan Martin Based on code from grrobot: grrobot is Copyright © 2003 Carl Worth @ 1.32 log @Sync up with cairo api @ text @d1 9 @ 1.31 log @2005-04-08 Dave Beckett * autogen.sh: Use LIBTOOLIZE_FLAGS @ text @d1 22 @ 1.30 log @2005-04-08 Dave Beckett * autogen.sh: Allow libtoolize, aclocal, autoheader, automake and autoconf to be overridden. Keep the defaults the same. @ text @d3 2 @ 1.29 log @ * README: Remove invalid whitespace from export examples. @ text @d1 5 @ 1.28 log @include more headers @ text @d1 4 @ 1.27 log @Fix GL output @ text @d1 5 @ 1.26 log @Track changes to glitz @ text @d1 5 @ 1.25 log @ * gtkcairo/gdkcairo.c: Add mising includes for stdio.h and stdlib.h. @ text @d1 6 @ 1.24 log @updated README @ text @d1 5 @ 1.23 log @Changed coding style to GNU coding style @ text @d1 6 a6 1 2004-12-11 Øyvind Kolås> @ 1.22 log @Fixed GL resizing @ text @d1 4 @ 1.21 log @Better glitz backend support @ text @d1 6 @ 1.20 log @removed unused variable from demo @ text @d1 13 @ 1.19 log @disable default compiling of glitz support @ text @d3 4 @ 1.18 log @integrating changes from david reveman to get in sync with glitz @ text @d1 7 a7 1 2004-09-21 Øyvind Kolås d12 1 a12 1 2004-08-24 Øyvind Kolås d16 1 a16 1 2004-08-09 Øyvind Kolås d22 1 a22 1 2004-06-29 Øyvind Kolås d26 1 a26 1 2004-06-26 Øyvind Kolås d30 1 a30 1 2004-06-20 Øyvind Kolås d36 1 a36 1 2004-05-24 Øyvind Kolås d41 1 a41 1 2004-05-20 Øyvind Kolås d74 1 a74 1 Mon, 23 Feb 2004 00:45:03 +0100 Øyvind Kolås d78 1 a78 1 Sat, 21 Feb 2004 00:07:00 +0100 Øyvind Kolås d82 1 a82 1 Sun, 15 Feb 2004 18:35:00 +0100 Øyvind Kolås d86 1 a86 1 Sat, 14 Feb 2004 18:00:00 +0100 Øyvind Kolås d91 1 a91 1 Thu, 12 Feb 2004 18:51:57 +0100 Øyvind Kolås @ 1.17 log @incremented version to 0.3 @ text @d1 5 @ 1.16 log @license change to LGPL @ text @d1 4 @ 1.15 log @renamed the redraw signal to paint @ text @d1 7 a7 1 2004-06-29 OEyvind Kolaas d11 1 a11 1 2004-06-26 OEyvind Kolaas d15 1 a15 1 2004-06-20 OEyvind Kolaas d21 1 a21 1 2004-05-24 OEyvind Kolaas d26 1 a26 1 2004-05-20 OEyvind Kolaas d40 1 a40 1 Thu, 13 May 2004 23:33:46 +0100 OEyvind Kolaas d45 1 a45 1 Thu, 13 May 2004 23:33:46 +0100 OEyvind Kolaas d52 1 a52 1 Tue, 20 Apr 2004 14:48:20 +0100 OEyvind Kolaas d59 1 a59 1 Mon, 23 Feb 2004 00:45:03 +0100 OEyvind Kolaas d63 1 a63 1 Sat, 21 Feb 2004 00:07:00 +0100 OEyvind Kolaas d67 1 a67 1 Sun, 15 Feb 2004 18:35:00 +0100 OEyvind Kolaas d71 1 a71 1 Sat, 14 Feb 2004 18:00:00 +0100 OEyvind Kolaas d76 1 a76 1 Thu, 12 Feb 2004 18:51:57 +0100 OEyvind Kolaas d101 8 @ 1.14 log @added a non public, function to query if current backend is "gl", need better interface in the future @ text @d1 8 @ 1.13 log @make gtkcairo compile without glitz installed @ text @d1 6 @ 1.12 log @seperated out the gdkwindow / cairo stuff, to easier support the different backends @ text @d1 5 a80 1 /* vim: set ts=4 noet : */ @ 1.11 log @Use glitz 0.1.3 @ text @d1 7 d76 1 @ 1.10 log @added subtle hints about usage @ text @d1 7 @ 1.9 log @added gtk_cairo_set_gdk_color convenience function, and checking of GTKCAIRO_GL enviroment variable @ text @d3 5 @ 1.8 log @changelog update @ text @d1 7 d13 1 a13 1 * doc/guadec_abstract_draft.txt: The original abstrast @ 1.7 log @Fix double free during destruction of GtkCairo instance @ text @d1 7 @ 1.6 log @Cosmetic cleanup of sources @ text @d1 4 @ 1.5 log @Initial checkin of glx aware cairo code @ text @d1 4 @ 1.4 log @fix expose bug, attach gtk_style, cosemtic changes @ text @d1 9 @ 1.3 log @gtkcairo.c, gtkcairo.h: Add a "redraw" signal. @ text @d1 11 @ 1.2 log @No functionality changed here. Removed INSTALL from CVS (it's generated by automake or whatever). Wed, 19 Nov 2003 10:57:38 -0800 Evan Martin Merged local copy with the version Carl checked into CVS: * gtkcairo.c, gtkcairo.h: Cosmetic changes. * demo.c: Work with different sizes of windows. @ text @d1 4 @ 1.1 log @Initial import of gtkcairo (courtesy of Evan Martin ) @ text @d1 7 a7 1 Tue, 04 Nov 2003 22:08:32 -0800 Evan Martin @