summaryrefslogtreecommitdiff
path: root/libmetacity/meta-draw-op.c
Commit message (Collapse)AuthorAgeFilesLines
* libmetacity: use POS_EXPR_INT for POS_TOKEN_VARIABLEAlberts Muktupāvels2017-02-051-0/+2
| | | | | | | | | | Commit 90f64f2ba50413c3fd20a7049162736e2eb98811 changed POS_TOKEN_VARIABLE type from POS_EXPR_INT to POS_EXPR_DOUBLE. Unfortunately this breaks existing themes. Use POS_EXPR_DOUBLE only on HiDPI screens (scale > 1) to restore previous behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=778209
* libmetacity: add scale to MetaDrawInfoAlberts Muktupāvels2016-11-281-2/+1
|
* libmetacity: redo image scalingAlberts Muktupāvels2016-08-071-32/+81
|
* libmetacity: rename scale_surface to get_surface_from_pixbufAlberts Muktupāvels2016-08-071-20/+20
|
* libmetacity: improve image scalingAlberts Muktupāvels2016-07-141-30/+31
|
* libmetacity: replace ints with doubles in few placesAlberts Muktupāvels2016-07-091-32/+30
| | | | | | | | | When we draw decorations we scale down client width and height. This causes problem when client width or height is odd number - decorations is not drawn in full size. Replace ints with doubles to make sure that cairo scales decorations to correct size. Improves HiDPI support.
* libmetacity: use cairo to scale imagesAlberts Muktupāvels2016-07-081-236/+76
|
* libmetacity: use cairo to apply alphaAlberts Muktupāvels2016-07-071-43/+60
|
* libmetacity: use cairo to draw tintAlberts Muktupāvels2016-07-071-37/+4
|
* libmetacity: use cairo to render gradientAlberts Muktupāvels2016-07-071-20/+4
|
* libmetacity: remove bogus commentJasper St. Pierre2016-07-071-11/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662962
* libmetacity: consolidate unused opsJasper St. Pierre2016-07-071-21/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662962
* libmetacity: remove unused RECTANGLE codeJasper St. Pierre2016-07-071-14/+0
| | | | | | draw_op_as_pixbuf is not not used with META_DRAW_RECTANGLE. https://bugzilla.gnome.org/show_bug.cgi?id=662962
* libmetacity: don't use get_window_scale_factor in meta-draw-op.cAlberts Muktupāvels2016-06-031-10/+6
| | | | Require that all info here is always passed with correct values.
* libmetacity: scale window decorations on HiDPI displaysAlberts Muktupāvels2016-03-241-6/+11
| | | | | | | | | As we opt out of GTK+/Clutter's HiDPI handling, we need to apply the window scaling factor manually to decorations, both the geometry and when drawing. Based on mutter commit: https://git.gnome.org/browse/mutter/commit/?id=57c1078ee742d9f01e80e7fe05c88adfec4b4ac3
* libmetacity: don't expose MetaDrawOp and MetaDrawOpListAlberts Muktupāvels2016-02-071-1/+1
|
* libmetacity: add meta-draw-op.[c/h]Alberts Muktupāvels2016-01-291-0/+1417