9c6696dfcc
quartz: Convert default background drawing to cairo
...
Includes some untested (read: uncompiled) simplifications from Benjamin
Otte.
2010-08-10 21:02:31 +02:00
c9d08d02e5
gdk: Remove data consructors for GdkPixmap
...
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
2010-08-10 21:02:31 +02:00
4f37e6833c
x11: Create empty cursor without old functions
...
In particular, clear the bitmap manually instead of using
create_from_data.
2010-08-10 21:02:31 +02:00
e98f760e9c
x11: Make fallback pixbuf-cursor code not use old constructors
...
These bitmap constructors are about to die. The replacement is painting
with Cairo image surfaces and that's what we do here.
2010-08-10 21:02:30 +02:00
8868e77fa0
x11: Remove display_x11->have_render
...
Also remove setters and getters for the variable and the GdkTristate
enum, as it's the only place where it was used.
2010-08-10 21:02:30 +02:00
7182a2dc19
gdk-xft: Don't call render about the subpixel order
...
Instead assume that the root window property is working properly. This
removes the last real Xrender call from GTK.
2010-08-10 21:02:30 +02:00
c7bd2ad1c9
gdk: Remove picture pointer from X11 drawable
...
It's not used anymore
2010-08-10 21:02:30 +02:00
c4f280651a
gdk: Don't infinite loop when flushing moves
...
Spotted by Kristian Rietvield. Fixes testoffscreen test.
2010-08-10 21:02:30 +02:00
075661d376
generic damage generation for offscreen windows
...
Generating damage from gdk drawing api doesn't help for cairo rendering
...and the gdk drawing api is gone anyway. Bug 621571
2010-08-10 21:02:30 +02:00
7fd148fc59
Cleanup gdk_pixbuf_render_pixmap_and_mask_for_colormap()
2010-08-10 21:02:30 +02:00
d0d2a6f12c
API: remove gdk_colormap_query_color
2010-08-10 21:02:30 +02:00
1308731580
gdk: Don't require allocating window background colors anymore
...
X!! allocates the colors itself now.
2010-08-10 21:02:30 +02:00
c3a59fbfcc
Fix compile warnings
2010-08-10 21:02:30 +02:00
f7a8bac5e6
quartz: Make backend compile again
2010-08-10 21:02:29 +02:00
23c9cee274
quartz: Fix up _gdk_quartz_window_translate
2010-08-10 21:02:29 +02:00
6a48a042c7
API: remove GdkGC
...
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
2010-08-10 21:02:29 +02:00
ef2d37cdaf
API: remove begin/end_direct_draw functions
...
They're not needed without GdkGCs.
FIXME: This breaks the win32 XP theme. Someone gotta fix it.
2010-08-10 21:02:29 +02:00
f7608c33ac
gdk: Move scratch GC handling to X11
...
... and implement it directly instead of using GdkGC, as GdkGC is about
to be deleted, but we need this code.
2010-08-10 21:02:29 +02:00
9c026fb32e
x11: Remove unused code
...
These are function definitions and leftover variabl;es that weren't in
use for a while.
2010-08-10 21:02:29 +02:00
1ac8d80e34
API: remove GdkPangoRenderer
...
Also removes the pango attributes for stipple, emboss and emboss color
2010-08-10 21:02:29 +02:00
4c16995868
gdk: remove get_composite_drawable vfunc
...
The vfunc is not used anymore.
2010-08-10 21:02:29 +02:00
61d4a019f8
API: remove gdk_draw_drawable()
2010-08-10 21:02:29 +02:00
0cef9c2bbe
quartz: Do repeated fill with Cairo
...
Some things are so easy with Cairo...
XXX: I did not compile this, this is just proof of concept.
2010-08-10 21:02:28 +02:00
65ac54bb23
gdk: Make window moves a custom vfunc
...
The window move code needs special attention for multiple reasons:
- invalid areas for expose events need to be modified
- self-copy is not supported by Cairo
- in X11, copying from an overlapped Window might cause unexposed areas
to be copied in, spo expose events for those need to be generated.
This was all special cased in various parts of the code. By making it an
explicit vfunc, we can work around it.
2010-08-10 21:02:28 +02:00
a581401920
API: remove gdk_draw_layout_*()
2010-08-10 21:02:28 +02:00
3fc31e88b0
gdk: Remove _gdk_drawable_get_scratch_gc()
...
The function is unused now.
2010-08-10 21:02:28 +02:00
db5fc43759
gdk: Draw redirected windows using Cairo
2010-08-10 21:02:28 +02:00
56e7abb8a4
gdk: Refactor redirection code
...
This will make future patches easier
2010-08-10 21:02:28 +02:00
755bd51757
gdk: Simplify code
...
Use new Cairo APIs to make the code simpler.
2010-08-10 21:02:28 +02:00
a6fcc75774
gdk: Remove excess variables
2010-08-10 21:02:28 +02:00
3df6726656
gdk: Do end_implicit_paint copy with Cairo
2010-08-10 21:02:28 +02:00
f1620b5ce1
gdk: Implement gdk_window_get_source_drawable() using Cairo
...
Do we have a test case for this?
2010-08-10 21:02:28 +02:00
46206f8bb8
gdk: Implement end_implicit_paint() with Cairo
2010-08-10 21:02:28 +02:00
600fbd3e74
API: remove gdk_draw_rectangle()
2010-08-10 21:02:28 +02:00
9ee5176492
API: remove gdk_draw_point(s)
2010-08-10 21:02:27 +02:00
a9e99e7f5b
API: remove gdk_draw_{line,lines,segments}
...
Those were the 3 intermixed line drawing calls.
2010-08-10 21:02:27 +02:00
e85dfc7cc4
API: remove gdk_draw_polygon()
2010-08-10 21:02:27 +02:00
89d28eb09d
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
2010-08-10 21:02:27 +02:00
92f4882497
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
2010-08-10 21:02:27 +02:00
559ae63f01
API: remove gdk_draw_arc()
2010-08-10 21:02:27 +02:00
9b713fa4fd
gdk: Remove testgdk code
...
The file wasn't build anyway and it's using all the APIs that are
getting removed.
2010-08-10 21:02:27 +02:00
14fe04ec89
API: remove GdkImage
...
It was unused and buggy.
2010-08-10 21:02:26 +02:00
6f5084551a
API: remove gdk_drawable_copy_to_image()
2010-08-10 21:02:26 +02:00
2a72ffd4de
API: remove gdk_drawable_get_image()
2010-08-10 21:02:26 +02:00
a1a1b135ac
API: remove gdk_pixbuf_get_from_image()
2010-08-10 21:02:26 +02:00
84015d4d3f
Implement gdk_pixbuf_get_from_drawable() with Cairo
...
Use gdk_pixbuf_get_from_surface() instead of
gdk_pixbuf_get_from_image().
2010-08-10 21:02:26 +02:00
39b47eaf25
API: Add gdk_pixbuf_get_from_surface()
...
New API to copy any cairo surface into a pixbuf.
2010-08-10 21:02:26 +02:00
b926ce719b
API: remove gdk_draw_image()
2010-08-10 21:02:26 +02:00
d18abf42b7
API: Get rid of GdkRGB
2010-08-10 21:02:26 +02:00
8f19db7565
Replace gdk_rgb_find_color()
...
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00