1
0
Fork 0
mutter-performance-source/clutter
Jonas Ådahl ba194bd19e clutter: Fix capture_into on non-origin view
The capture_into() function wrote out of bounds when capturing from a
non-origin view (not positioned at (0,0)). At the time of
implementation, this API was used to capture pixels across views into a
single data buffer, but the way it's used, and the way views may work
now, makes this impossible to do properly.

So remove the ability to capture into a pre-allocated buffer from
multiple views, and complain if the passed rectantgle overlapps with
multiple views. This removes the broken offset calculation all
together, fixing the bug motivating this change.

https://bugzilla.gnome.org/show_bug.cgi?id=787715
2017-09-20 18:27:57 +08:00
..
build move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00
clutter clutter: Fix capture_into on non-origin view 2017-09-20 18:27:57 +08:00
examples Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
tests tests: Fix actor-anchors test 2017-05-24 21:04:07 +02:00
.gitignore clutter: Remove clutter-build-config.h.in 2016-07-20 14:23:48 +08:00
configure.ac configure: require glib 2.53.2 2017-05-28 11:21:42 +10:00
Makefile.am move everything into a clutter/ directory 2016-04-12 20:04:26 +02:00