gtk3/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
3DRings.xpm
check-n.xpm
check-y.xpm
circles.xbm
FilesQueue.xpm
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
Modeller.xpm
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
simple.c
test.xpm
testcalendar.c
testdnd.c Fix problem with g_return_if_fail return value. 2001-10-22 04:34:42 +00:00
testgtk.1
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
testinput.c
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
testsocket_common.c
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
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
testtreesort.c Add my cool list of integers. 2002-01-04 00:47:29 +00:00
testtreeview-plan.txt
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