gtk2/tests
Owen Taylor d12c9702a4 Private function to tell if we have RENDER extension.
Thu Jan  3 22:18:15 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h
	(_gdk_x11_have_render): Private function to tell if we have RENDER
	extension.

	* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return
	None if we don't have RENDER extension.

	* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't
	use Xft unless we have render extension.

	* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
	Handle missing render extension.

	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c
	gdk/gdkinternals.h: Add a private copy_to_image() virtual function
	to the GdkDrawable vtable that extends get_image() to allow
	copying onto existing images.  Make the default implementation of
	get_image() use this so that backends don't have to implement
	both. Add private wrapper _gdk_drawable_copy_to_image().

	* gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c
	gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement
	copy_to_image() semantics, speed up by using ShmPixmaps and
	XCopyArea when possible, XFlush() after ungrabbing the server,
	generally redo the logic once again.

	* gdk/gdkinternals.h gdk/x11/gdkimage-x11.c
	_gdk_windowing_bits_per_depth(): Function to convert from depth to
	bits-per-pixel. (We assume only one bpp per depth - X requires
	this.)

	* gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB
	scratch image code into a generic _gdk_image_get_scratch() chunk
	of code that we can use other places we need scratch images.

	* gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h:
	Add _gdk_image_new_for_depth() as the backend
	to _gdk_image_new() to allowing creating images with
	a depth and no visual.

	* gdk/gdkpixbuf-drawable.c: Fix so that getting
	parts of images not at 0,0 actually works.

	* gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
	gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c:
	 - Add a new GdkDrawableClass vfunc _draw_pixbuf, and
	  _gdk_draw_pixbuf() [ will be made public later ], to allow
	  backends to accelerate drawing pixbufs.
	 - Move the implementation of gdk_pixbuf_render_to_drawable_alpha()
	   to be the default implementation.
	 - Update docs for gdk_pixbuf_render_to_drawable_alpha().
	 - Optimize the default implementation by using
	   _gdk_image_copy_to_pixmap() and scratch shared images, and
	   special casing the compositing.

	* gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf()
	with alpha using the RENDER extension.

        * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
	Optimize by _gdk_image_copy_to_pixmap() and scratch images.

	* tests/testrgb.c: Add test for speed of alpha composition,
	reduce the number of iterations since alpha composition
	can be a bit slow.

	* gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap):
	Private function to get a ShmPixmap for an image, if possible.
2002-01-04 05:58:01 +00:00
..
.cvsignore correct docs for use_align 2001-10-19 20:46:43 +00:00
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
check-n.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
check-y.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
circles.xbm gtk/gtktext.c 1998-02-27 06:13:22 +00:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am fixed a small typo 2001-10-26 18:12:34 +00:00
makefile.msc use g_strcasecmp(), some poor platforms don't have strcasecmp() 2001-11-09 21:52:52 +00:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
prop-editor.c Version 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore to 2001-11-23 21:46:44 +00:00
prop-editor.h Block against redundant changes. 2001-05-14 19:14:57 +00:00
simple.c marshaller fixes. 2001-03-07 14:49:21 +00:00
test.xpm Initial revision 1997-11-24 22:37:52 +00:00
testcalendar.c Call setlocale (LC_ALL, ""). (#60606) 2001-10-10 16:56:54 +00:00
testdnd.c Fix problem with g_return_if_fail return value. 2001-10-22 04:34:42 +00:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
testgtk.c Only draw for events on the bin window. 2001-12-12 00:23:45 +00:00
testgtkrc added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
testgtkrc2 Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
testinput.c Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
testrgb.c Private function to tell if we have RENDER extension. 2002-01-04 05:58:01 +00:00
testselection.c Fix problem with g_return_if_fail return value. 2001-10-22 04:34:42 +00:00
testsocket_child.c For XEMBED embedding add a _XEMBED_INFO property to the client with 2001-07-03 14:14:30 +00:00
testsocket_common.c Extended to test different type of adding plugs to sockets 2001-07-03 16:07:15 +00:00
testsocket.c Patch from Murray Cumming to add "message_type" and "buttons" CONSTRUCT 2001-11-15 17:58:35 +00:00
testtext.c propagate exposes to no window children not in the buffer window. 2002-01-02 03:49:09 +00:00
testtextbuffer.c bulk of the tests were commented out, oops. 2001-11-14 18:58:26 +00:00
testthreads.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
testtreecolumns.c Add a "resizable" property, to get rid of the 2001-11-19 21:18:22 +00:00
testtreeedit.c Add a "resizable" property, to get rid of the 2001-11-19 21:18:22 +00:00
testtreeflow.c get logic right, #66249 2001-12-08 01:10:52 +00:00
testtreefocus.c Make a GtkCellEditable (get_widget_window_size): Change to let it honor 2001-09-25 16:44:39 +00:00
testtreesort.c Add my cool list of integers. 2002-01-04 00:47:29 +00:00
testtreeview-plan.txt handle case where there are no rows in the model 2001-01-09 17:45:34 +00:00
testtreeview.c raise event window afte children, in order for the input pnly window to 2001-11-21 23:49:17 +00:00
treestoretest.c more changes in an attempt to get it right. It's not yet ready for general 2001-10-24 18:36:50 +00:00