- 26 Sep, 2010 40 commits
-
-
Benjamin Otte authored
Colormaps are about to be removed, so not using them sounds like an awesome idea.
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
Now that we don't create pixmaps anymore, this function is not needed anymore. The indirection it did previously is now basically moved to gdk_window_create_similar_surface()
-
Benjamin Otte authored
There's no need for them anymore now that we render with Cairo.
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
And of course, gtk_widget_pop_colormap() is gone, too. No replacement is necessary, the function is basically unused.
-
Benjamin Otte authored
It's not used anywhere anymore.
-
Benjamin Otte authored
All iusers of it are gone, so it's now time to let go. cairo_surface_t is a full replacement, combined with gdk_window_create_similar_surface().
-
Kristian Rietveld authored
-
Benjamin Otte authored
It's not used anymore. (Was it ever?)
-
Benjamin Otte authored
-
Kristian Rietveld authored
-
Benjamin Otte authored
-
Benjamin Otte authored
Replace them with the correct term, usually "surface".
-
Benjamin Otte authored
The fallback code for when XCursor wasn't available was still using GdkPixmap to create the bitmaps.
-
Benjamin Otte authored
Since deletion of GdkImage, shm is no longer in use.
-
Benjamin Otte authored
It's unused now.
-
Benjamin Otte authored
There's no need to write our own upload function when the cursor format is identical to CAIRO_FORMAT_ARGB32.
-
Benjamin Otte authored
That's what it's used for now.
-
Benjamin Otte authored
-
Benjamin Otte authored
The same effect can be achieved with gdk_window_set_background_pattern().
-
Benjamin Otte authored
-
Benjamin Otte authored
This way, we don't need hacks to not set the background.
-
Benjamin Otte authored
The 3 functions in question were: - gdk_pixbuf_render_threshold_alpha() - gdk_pixbuf_render_pixmap_and_mask() - gdk_pixbuf_render_pixmap_and_mask_for_colormap() All of them can be replaced using Cairo if they have to. The functionality is only needed to talk to old X interfaces and normal apps do fine without them.
-
Benjamin Otte authored
No more GdkPixmap to store the icon and its mask, but instead use cairo surfaces. Also render the icon into the surfaces using Cairo instead of gdk_pixbuf_render_threshold_alpha().
-
Benjamin Otte authored
This requires changes to all the offscreen surface getters that used to return a GdkPixmap before.
-
Benjamin Otte authored
Don't use pixmaps anymore. Also use subsurfaces for implicit paints and correcly set device offsets.
-
Benjamin Otte authored
With Cairo 1.10 now having cairo_surface_create_for_rectangle(), we can use them. No need to create multiple native surfaces for the same X window (ugh) anymore.
-
Benjamin Otte authored
This function should not exist in public API, it exposes too many internals.
-
Benjamin Otte authored
As the source drawable is only used for creating pixmaps these days, we don't have to keep a real drawable around, but can just use the root window.
-
Benjamin Otte authored
The notion of a source drawable does not make a lot of sense for windows that are not backed by a drawable, such as GdkOffscreenWindow after converting it to cairo_surface_t.
-
Benjamin Otte authored
Instead, actually use the create_cairo_surface vfunc on the implementation drawable. D'oh.
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
-