gtk/gdk
Owen Taylor 485fd85179 Fill in unused bits so they can be used for the depth-32 target case.
2005-05-09  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkrgb.c (gdk_rgb_convert_0888_br, gdk_rgb_convert_8880_br):
        Fill in unused bits so they can be used for the depth-32 target case.
        Rewrite so that that gives a marginal speedup rather than a
        marginal slowdown. (on x86)

        * gdk/gdkscreen.h gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkvisual-x11.c:
        Add gdk_screen_get_rgba_colormap/visual to get a visual for
        windows with an alpha channel, if one exists.

        * gdk/win32/gdkscreen-win32.c gdk/linux-fb/gdkscreen-fb.c:
        Stub out gdk_screen_get_rgba_colormap/visual.

        * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): computation of
        "unused" wasn't right for depth == 32, since it depended on
        shifting by 32.

        * gdk/gdkrgb.c: Fill in alpha bits with 1s. (Based on patch from
        Keith Packard,
        http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00080.html)

        * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
        Implement again, without using Xft.

        * tests/testgtk.c: Add a test for windows with an alpha channel.
2005-05-09 22:54:10 +00:00
..
linux-fb Fill in unused bits so they can be used for the depth-32 target case. 2005-05-09 22:54:10 +00:00
win32 Fill in unused bits so they can be used for the depth-32 target case. 2005-05-09 22:54:10 +00:00
x11 Fill in unused bits so they can be used for the depth-32 target case. 2005-05-09 22:54:10 +00:00
.cvsignore Shut up CVS 2005-03-16 04:36:05 +00:00
abicheck.sh Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdk.h Mark as const. 2004-11-28 06:45:52 +00:00
gdk.symbols Fill in unused bits so they can be used for the depth-32 target case. 2005-05-09 22:54:10 +00:00
gdkcolor.c Small documentation additions. 2005-05-08 05:47:52 +00:00
gdkcolor.h Small documentation additions. 2005-05-08 05:47:52 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkcursor.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkcursor.h Small documentation additions. 2005-05-08 05:47:52 +00:00
gdkdisplay.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdisplay.h Remove the accidentally added prototype for this unimplemented 2005-01-23 04:26:41 +00:00
gdkdisplaymanager.c Use canonical names for g_object_notify() as well. 2005-03-26 05:49:15 +00:00
gdkdisplaymanager.h Renames: 2002-06-20 23:59:27 +00:00
gdkdnd.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdnd.h Really fix the initialization of the target list. 2004-08-06 17:03:52 +00:00
gdkdraw.c Small documentation additions. 2005-05-08 05:47:52 +00:00
gdkdrawable.h Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkevents.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkevents.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkfont.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkfont.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkgc.c Get the foreground color, not the background color. 2005-05-07 19:00:36 +00:00
gdkgc.h Fix #105497; constify uses of GdkColor. 2004-01-26 20:21:09 +00:00
gdkglobals.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkimage.h Small documentation additions. 2005-05-08 05:47:52 +00:00
gdkinput.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkinternals.h Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkintl.h Split the gtk translations into the domains gtk20 and gtk20-properties. 2004-01-17 22:15:58 +00:00
gdkkeynames.c gdk_key is a typedef, not a struct tag. 2005-03-17 12:05:16 +00:00
gdkkeys.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkkeys.h Add a keys_changed signal emitted when the keymap changes. (#72148) 2002-09-23 21:35:00 +00:00
gdkkeysyms.h Add dead_hook and dead_horn. 2004-11-29 13:57:53 +00:00
gdkkeyuni.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkpango.c Forgotten fix. 2005-05-08 05:46:45 +00:00
gdkpango.h Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. 2004-11-21 16:24:01 +00:00
gdkpixbuf-drawable.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkpixbuf-render.c Change prototype to match cairo_set_source_surface(). 2005-05-07 18:51:18 +00:00
gdkpixbuf.h Change prototype to match cairo_set_source_surface(). 2005-05-07 18:51:18 +00:00
gdkpixmap.c Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkpixmap.h Fix #105497; constify uses of GdkColor. 2004-01-26 20:21:09 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkprivate.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkproperty.h Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkrectangle.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkregion-generic.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkrgb.c Fill in unused bits so they can be used for the depth-32 target case. 2005-05-09 22:54:10 +00:00
gdkrgb.h Add hidden aliases for exported symbols which are used internally in order 2004-08-09 20:14:43 +00:00
gdkscreen.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkscreen.h Fill in unused bits so they can be used for the depth-32 target case. 2005-05-09 22:54:10 +00:00
gdkselection.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkselection.h docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml 2002-11-08 19:41:50 +00:00
gdkspawn.h Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
gdktypes.h Add a comment about unused bits. 2004-05-14 13:37:07 +00:00
gdkvisual.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkwindow.c Change prototype to match cairo_set_source_surface(). 2005-05-07 18:51:18 +00:00
gdkwindow.h Bug 143330, support update counter spec. 2004-07-11 13:26:57 +00:00
gen-keyname-table.pl Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) 2005-03-08 04:35:29 +00:00
keyname-table.h Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) 2005-03-08 04:35:29 +00:00
keynames.txt Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) 2005-03-08 04:35:29 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
makefile.msc [merged from gtk-2-6 branch] let dash_offset shift the start of the line 2005-04-03 21:03:08 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
testgdk.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00