desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #65810
[Bug 916196] Re: gdk_cairo_region_create_from_surface() broken on big endian
** Attachment added: "Example program"
https://bugs.launchpad.net/bugs/916196/+attachment/2673105/+files/shape.c
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/916196
Title:
gdk_cairo_region_create_from_surface() broken on big endian
Status in “gtk+3.0” package in Ubuntu:
New
Bug description:
When using gdk_cairo_region_create_from_surface() on a big endian
system, the points in the resulting region get reversed in horizontal
groups of 8. I've attached an example program that clearly shows the
problem, and I'll attach screenshots from running it on amd64 (little
endian, works) and ppc (big endian, does not work).
The output from the program when running on ppc is
R 0: 0
R 1: 0
R 2: 0
R 3: 0
R 4: 0
R 5: 0
R 6: 0
R 7: 8
R 8: 8
R 9: 8
but the expected output is
R 0: 1
R 1: 2
R 2: 3
R 3: 4
R 4: 5
R 5: 6
R 6: 7
R 7: 8
R 8: 9
R 9: 10
Since the text output is wrong, my conclusion is that the bug is in
gdk_cairo_region_create_from_surface(), and not in
gtk_widget_shape_combine_region().
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/916196/+subscriptions
References