diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-03-20 14:34:44 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-03-21 21:31:49 +0100 |
commit | 967cb56275a139942c9df78f46134d3a4e4dd1eb (patch) | |
tree | 4c4bd9a60060d935be1b8544d774796557868452 /tests | |
parent | 9c2a16fb3be9bfe1a4e0e30bc7aa6de298541867 (diff) | |
download | gtk+-967cb56275a139942c9df78f46134d3a4e4dd1eb.tar.gz |
shadow-box: Blur only horizontally/vertically for the non-corner parts
There is no need to e.g. blur in the x-direction for the top part
of a box shadow. Also, there is no need to extend the mask in the
non-blurred direction.
https://bugzilla.gnome.org/show_bug.cgi?id=746468
Diffstat (limited to 'tests')
-rw-r--r-- | tests/blur-performance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/blur-performance.c b/tests/blur-performance.c index c4381f9208..a99e5cd00d 100644 --- a/tests/blur-performance.c +++ b/tests/blur-performance.c @@ -41,7 +41,7 @@ main (int argc, char **argv) { init_surface (cr); g_timer_start (timer); - _gtk_cairo_blur_surface (surface, i); + _gtk_cairo_blur_surface (surface, i, GTK_BLUR_X | GTK_BLUR_Y); msec = g_timer_elapsed (timer, NULL) * 1000; if (j == 1) g_print ("Radius %2d: %.2f msec, %.2f kpixels/msec:\n", i, msec, size*size/(msec*1000)); |