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-08-27 12:56:54 +00:00
2008-06-26 21:42:44 +00:00
2008-07-17 11:17:32 +00:00
2008-07-02 13:44:53 +00:00
2008-09-17 13:25:50 +00:00
2008-06-29 10:31:31 +00:00
2008-06-27 14:36:59 +00:00
2008-06-26 21:42:44 +00:00
2008-09-16 16:00:31 +00:00
2008-09-16 11:50:38 +00:00
2008-09-17 10:40:32 +00:00
2008-07-05 15:56:03 +00:00
2008-06-30 16:15:53 +00:00
2008-06-26 21:42:44 +00:00
2008-06-26 21:42:44 +00:00
2008-07-01 10:08:28 +00:00
2008-07-01 10:08:28 +00:00
2008-08-06 10:20:57 +00:00
2008-05-28 13:48:11 +00:00
2008-07-17 10:08:52 +00:00
2008-05-28 14:03:28 +00:00
2008-08-06 10:20:57 +00:00
2008-06-12 11:43:25 +00:00
2008-07-23 12:20:35 +00:00
2008-08-18 15:33:38 +00:00
2008-07-01 11:51:20 +00:00
2008-07-01 11:51:20 +00:00
2008-06-06 13:44:22 +00:00
2008-06-10 17:11:14 +00:00
2008-07-11 10:36:07 +00:00
2008-07-30 15:47:43 +00:00
2008-07-17 10:08:52 +00:00
2008-06-10 06:37:46 +00:00
2008-08-05 10:54:40 +00:00
2008-09-12 10:31:44 +00:00
2008-09-15 14:47:25 +00:00
2008-06-25 16:46:42 +00:00
2008-06-15 12:50:05 +00:00
2008-07-30 10:32:25 +00:00
2008-08-01 12:23:57 +00:00
2008-07-17 10:08:52 +00:00
2008-08-19 10:55:49 +00:00
2008-08-04 16:21:27 +00:00
2008-08-04 16:21:27 +00:00
2008-08-27 12:16:56 +00:00
2008-08-27 12:16:56 +00:00
2008-07-03 12:29:03 +00:00
2008-06-03 20:15:11 +00:00
2008-09-18 10:24:37 +00:00
2008-08-01 12:23:57 +00:00
2008-07-01 10:08:28 +00:00
2008-08-01 11:09:43 +00:00
2008-06-10 06:37:46 +00:00
2008-09-17 10:40:40 +00:00
2008-07-30 15:47:43 +00:00
2008-07-14 13:46:31 +00:00
2008-06-30 15:58:25 +00:00