summaryrefslogtreecommitdiff
path: root/gdk/gdkoffscreenwindow.c
Commit message (Collapse)AuthorAgeFilesLines
* gdk: Don't use clear_area_e() in offscreenwindowBenjamin Otte2010-09-261-2/+4
| | | | Instead, call gdk_window_invalidate_rect() ourselves.
* Remove deprecated gdk_window_get_deskrelative_origin() and its implementationsJavier Jardón2010-09-091-36/+0
|
* generic damage generation for offscreen windowsMatthias Clasen2010-08-101-39/+0
| | | | | Generating damage from gdk drawing api doesn't help for cairo rendering ...and the gdk drawing api is gone anyway. Bug 621571
* gdk: Don't require allocating window background colors anymoreBenjamin Otte2010-08-101-2/+0
| | | | X!! allocates the colors itself now.
* API: remove GdkGCBenjamin Otte2010-08-101-13/+0
| | | | | XXX: Some traces in the win32 code are left. I suppose they'd best be replaced using Cairo.
* gdk: remove get_composite_drawable vfuncBenjamin Otte2010-08-101-15/+0
| | | | The vfunc is not used anymore.
* API: remove gdk_draw_drawable()Benjamin Otte2010-08-101-33/+0
|
* gdk: Make window moves a custom vfuncBenjamin Otte2010-08-101-6/+32
| | | | | | | | | | | 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.
* API: remove gdk_draw_rectangle()Benjamin Otte2010-08-101-20/+0
|
* API: remove gdk_draw_point(s)Benjamin Otte2010-08-101-38/+0
|
* API: remove gdk_draw_{line,lines,segments}Benjamin Otte2010-08-101-63/+0
| | | | Those were the 3 intermixed line drawing calls.
* API: remove gdk_draw_polygon()Benjamin Otte2010-08-101-38/+0
|
* API: remove gdk_draw_arc()Benjamin Otte2010-08-101-27/+0
|
* API: remove gdk_drawable_copy_to_image()Benjamin Otte2010-08-101-21/+0
|
* API: remove gdk_draw_image()Benjamin Otte2010-08-101-28/+0
|
* API: Remove gdk_draw_pixbuf()Benjamin Otte2010-08-101-36/+0
|
* offscreenwindow: Copy old to new pixmap using CairoBenjamin Otte2010-07-261-7/+6
|
* gdk/: fully remove gdkalias hacksJavier Jardón2010-07-101-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* s/GdkRegion/cairo_region_t/ in all of gtkBenjamin Otte2010-06-291-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=613284
* Deprecate the GdkRegion APIBenjamin Otte2010-06-291-2/+2
| | | | | | | | | | Includes fixing all callers to use the cairo region API instead. This is usually just replacing the function names, the only difference is gdk_region_get_rectangles() being replaced by cairo_region_num_rectangles() and cairo_region_get_rectangle() which required a bit more work. https://bugzilla.gnome.org/show_bug.cgi?id=613284
* Remove deprecated GdkDrawable functionsJavier Jardón2010-06-191-52/+0
| | | | | | Remove gdk_drawable_get_data(), gdk_drawable_set_data(), gdk_drawable_ref(), gdk_drawable_unref(), gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
* Merge the xi2-for-master branchMatthias Clasen2010-05-251-28/+7
|
* Fix a thinko in computing damage for segmentsMatthias Clasen2009-12-181-1/+1
| | | | | The code was not taking the endpoint of the first segment into account. This was reported in bug 604747.
* Set colormap of offscreen pixmapsMatthias Clasen2009-12-081-0/+1
| | | | This fixes problems in clutter-gtk. See bug 603619.
* Fix damage report for lines drawn on offscreen windowsAlexander Larsson2009-12-071-13/+35
| | | | | | | | | | | All kinds of lines (lines, segments, arcs, etc) need to take into account the line properties (width, miter limit, joins, caps, etc) to get proper damage extents. This is not really possible to do, but we can make it likely to work with some ad-hoc estimates. Fixes bug 603904.
* CleanupsMatthias Clasen2009-09-101-8/+0
| | | | This commit removes dead code, mostly pointed out by clang.
* Documentation fixesMatthias Clasen2009-09-011-0/+2
|
* Improve CSW docsMatthias Clasen2009-08-311-0/+7
|
* Ensure that queue_translation is paired with the right X operationAlexander Larsson2009-08-131-0/+1
| | | | | | | | | | | | The X11 queue_translation operation uses NextRequest to get the serial of the XCopyArea operation where the translation should end. However, if the gc passed to gdk_draw_drawable has a non-flushed clip region (which it commonly has now for the window clipping) then the next operation will be the GC flush, not the XCopyArea. To handle this right we now pass in the GC to be used to queue_translation and ensure that it is flushed before calling NextRequest().
* Use g_object_unref instead of deprecated gdk_pixmap_unrefKjartan Maraas2009-07-081-1/+1
|
* Add doc stubsMatthias Clasen2009-07-031-5/+23
|
* Make GdkDrawable draw_drawable backwards compatAlexander Larsson2009-07-011-1/+1
| | | | | | Turns out pygtk build broke due to the argument addition to draw_drawable. So, we now add a new vfunc for the new draw_drawable and are thus backwards compat.
* Move new draw_drawable argument to end to make it more backwards compatAlexander Larsson2009-07-011-2/+2
|
* Clean up embedding apiclient-side-windowsAlexander Larsson2009-07-011-51/+85
| | | | | | | | | | | | | | we now use gdk_offscreen_window_set_embedder() instead of a signal to get the parent. This also replaces set_has_offscreen_changes. Rename "parent" in all embedding related names to "embedder" to make it more obviously different than the normal parent. Rename gdk_window_get_offscreen_pixmap to gdk_offscreen_window_get_pixmap to match the other offscreen calls. Rename gdk_window_offscreen_children_changed to gdk_window_geometry_changed as this is more descriptive.
* Fix spelling of synthesizeAlexander Larsson2009-06-181-5/+5
|
* Add gdk_window_get_root_coordsAlexander Larsson2009-06-081-17/+19
| | | | | | | | We want to be able to map any window coordinate to a root coordinate, not just the origin, because you can't rely anymore on a simple translation from window coordinates to parent with offscreen windows. This lets us e.g. pop up menus in the right place even if they are popped up from a no-window widget.
* Update event emulation to handle offscreen childrenAlexander Larsson2009-06-081-12/+84
| | | | | | | | | | | We use the offscreen signals for getting parent, picking children at a point and mapping coordinates between windows embedding offscreens and offscreens. This means we have two hierarchies more or less, one visible to apps via the standard APIs and for drawing where the offscreens are their own separate toplevels, and another one for event handling where embedded offscreens appear as if they were children of the embedding window.
* Implement offscreen get_pointer with offscreen signalsAlexander Larsson2009-06-081-1/+59
|
* Add signals for offscreen window embeddingAlexander Larsson2009-06-081-44/+39
| | | | | | | | | | | | | | | | | | | | | | | | 3 signals are for offscreen windows get-offscreen-parent: Get the parent window an offscreen is embedded in to-parent: Convert coordinates from offscreen to parent from-parent: Convert coordinates from parent to offscreen 1 signal is for the window embedding offscreens: pick-offscreen-child: This picks what (if any) offscreen is at a specific position The last signal is only used if you call gdk_window_set_has_offscreen_children to tell gdk that the window has embedded offscreen children. Add get-pointer signal for offscreen window pointer getting Apps using offscreen windows can connect to get-pointer on offscreen windows in order to make gdk_window_get_pointer() return correct values. Add get-offscreen-parent signal Add signals for from-parent and to-parent coordinate mapping Add pick-offscreen-child signal
* Make window_get_pointer a window impl virtualAlexander Larsson2009-06-051-0/+16
|
* Update GdkOffscreenWindow to new draw_drawable prototypeAlexander Larsson2009-06-041-0/+1
| | | | | All rendering of drawables on offscreen was broken due to this change which had not been implemented fully in offscreen windows.
* Remove offscreen hooks supportAlexander Larsson2009-04-021-28/+0
| | | | | | In the new world offscreen windows are not put in the hierarchy, but are rather toplevels for themselves. Offscreen hooks don't make any sense in this model.
* New approach for grab tracking codeAlexander Larsson2009-04-021-1/+4
| | | | | We try to track the exact grab state, i.e. whats valid on the client now and whats comming soon via the xserver roundtrip (and when).
* Ensure that we're properly hiding impl window if one of its parent non-impl ↵Alexander Larsson2009-04-021-71/+1
| | | | | | windows are hidden Also, add some debug printing code to list the GdkWindow tree
* Implement input shapesAlexander Larsson2009-04-021-8/+5
|
* Remove shape_combine_mask from backend. Make X11 backend use ↵Alexander Larsson2009-04-021-9/+0
| | | | XShapeCombineMask directly to unset region
* Make gdk_windowing_window_destroy a GdkWindowImpl methodAlexander Larsson2009-04-021-3/+5
|
* Make _gdk_windowing_window_queue_translation a GdkWindiwImpl callAlexander Larsson2009-04-021-0/+10
|
* Remove unnecessary clear_area method in GdkWindowImplAlexander Larsson2009-04-021-45/+0
|
* Move _gdk_gc_remove_drawable_clip from after each time its set to before ↵Alexander Larsson2009-04-021-11/+19
| | | | | | each pixmap set and when adding a new different region This means we can avoid changing the clip if we're drawing with the same gc to the same clip region