Neil Roberts
8681cb249c
Bug 1080 - clutter_stage_read_pixels has upside-down y coordinate
...
* clutter/clutter-stage.c (clutter_stage_read_pixels): Use
OpenGL's coordinate system for the arguments to glReadPixels (so
that y zero is the bottom of the window). Use clutter_redraw
instead of clutter_stage_paint to ensure the right GL context is
selected. Set some of the glPixelStore parameters that might have
been changed by Cogl.
* tests/test-stage-read-pixels.c: Replace with a different test
that gets a sub-region of the stage around the cursor.
2008-09-18 10:24:37 +00:00
..
2008-09-12 12:43:25 +00:00
2007-06-12 10:36:28 +00:00
2008-06-06 16:22:55 +00:00
2008-04-25 13:37:36 +00:00
2008-06-04 16:02:40 +00:00
2008-06-13 15:18:08 +00:00
2008-06-13 15:18:08 +00:00
2008-06-13 15:18:08 +00:00
2008-06-13 15:18:08 +00:00
2008-06-13 15:18:08 +00:00
2008-05-07 16:12:54 +00:00
2008-06-13 15:18:08 +00:00
2008-06-10 06:37:46 +00:00
2008-07-01 13:41:23 +00:00
2008-01-30 12:13:26 +00:00
2008-06-10 10:17:12 +00:00
2008-03-06 12:39:24 +00:00
2008-06-13 15:01:34 +00:00
2008-07-04 10:44:18 +00:00
2008-06-10 17:11:14 +00:00
2007-12-21 15:25:00 +00:00
2008-06-23 16:43:49 +00:00
2008-09-12 10:31:44 +00:00
2008-06-13 15:18:08 +00:00
2008-01-09 14:34:24 +00:00
2008-06-13 15:01:34 +00:00
2007-05-25 10:56:09 +00:00
2008-06-10 17:07:52 +00:00
2008-06-10 06:37:46 +00:00
2007-06-28 08:24:45 +00:00
2008-09-12 12:43:25 +00:00
2008-07-10 15:15:37 +00:00
2008-06-10 17:07:52 +00:00
2008-05-28 14:14:56 +00:00
2008-04-25 13:37:36 +00:00
2008-02-04 22:35:38 +00:00
2008-03-18 22:07:17 +00:00
2008-05-28 12:20:54 +00:00
2008-06-23 15:31:12 +00:00
2008-06-30 14:38:10 +00:00
2008-09-18 10:24:37 +00:00
2008-05-09 10:58:26 +00:00
2008-06-13 15:18:08 +00:00
2008-06-14 22:07:23 +00:00
2008-05-14 17:26:59 +00:00
2008-03-05 16:04:06 +00:00
2008-03-05 16:04:06 +00:00
2008-03-05 16:04:06 +00:00
2008-03-05 16:04:06 +00:00
2008-06-13 15:01:34 +00:00
2007-12-21 15:25:00 +00:00
2008-04-25 13:37:36 +00:00