Robert Bragg
63461c0f8b
framebuffer: Add explicit buffer discard API
...
This adds cogl_framebuffer_discard_buffers API that allows applications
to explicitly discard depth and stencil buffers which really helps when
using a tile based GPU architexture by potentially avoiding the need to
save the results of depth and stencil buffer changes to system memory
between frames since these can usually be handled directly with on-chip
memory instead.
The semantics for cogl_framebuffer_swap_buffers and
cogl_framebuffer_swap_region are now documented to include an implicit
discard of all buffers, including the color buffer.
We now recommend that all rendering to a CoglOffscreen framebuffer
should be followed by a call like:
cogl_framebuffer_discard_buffers (fb,
COGL_BUFFER_BIT_DEPTH|
COGL_BUFFER_BIT_STENCIL);
Reviewed-by: Neil Roberts <neil@linux.intel.com>
2011-10-28 19:10:16 +01:00
..
2011-08-01 14:05:09 +01:00
2011-10-17 17:33:42 +01:00
2011-04-11 15:28:53 +01:00
2011-03-10 13:05:43 +00:00
2011-09-09 15:06:31 +01:00
2011-09-21 15:27:03 +01:00
2011-05-06 12:12:08 +01:00
2011-09-09 15:06:31 +01:00
2011-05-05 17:32:28 +01:00
2011-09-21 15:27:03 +01:00
2011-07-08 15:35:51 +01:00
2011-03-14 18:18:15 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-09-21 15:39:46 +01:00
2011-09-21 15:50:13 +01:00
2011-05-16 14:32:37 +01:00
2011-02-15 12:40:11 +00:00
2011-07-25 22:45:24 +01:00
2011-07-25 22:45:24 +01:00
2011-07-25 22:45:24 +01:00
2010-12-13 17:28:29 +00:00
2011-04-20 18:20:10 +01:00
2011-09-05 17:54:46 +01:00
2011-09-19 16:40:06 +01:00
2011-02-15 12:10:54 +00:00
2011-08-12 15:28:43 +01:00
2011-07-11 12:57:38 +01:00
2011-08-12 15:28:43 +01:00
2011-09-19 16:40:06 +01:00
2011-08-12 15:28:43 +01:00
2011-08-12 15:28:43 +01:00
2011-08-12 15:28:43 +01:00
2011-03-10 13:05:43 +00:00
2011-06-01 20:44:41 +01:00
2011-04-11 17:54:36 +01:00
2011-08-12 15:28:42 +01:00
2011-08-12 15:28:42 +01:00
2011-09-21 17:28:32 +01:00
2011-09-21 17:28:32 +01:00
2011-09-05 17:54:46 +01:00
2011-10-14 13:56:51 +01:00
2011-10-14 13:56:51 +01:00
2011-08-12 15:28:42 +01:00
2011-06-01 20:44:42 +01:00
2011-05-16 18:45:51 +01:00
2011-06-14 14:40:27 +01:00
2011-06-14 17:09:55 +01:00
2011-07-29 11:50:15 +01:00
2011-09-05 19:02:05 +01:00
2011-09-06 11:19:20 +01:00
2011-05-16 14:12:42 +01:00
2011-05-16 14:12:49 +01:00
2011-10-28 19:10:16 +01:00
2011-07-27 16:10:02 +01:00
2011-07-27 16:10:02 +01:00
2011-07-27 18:46:36 +01:00
2011-04-20 18:20:10 +01:00
2011-09-21 15:27:03 +01:00
2011-10-28 19:10:16 +01:00
2011-10-28 19:10:16 +01:00
2011-06-30 14:34:33 +01:00
2011-07-27 16:10:02 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-09-21 17:03:10 +01:00
2011-09-21 15:27:03 +01:00
2011-09-21 15:27:03 +01:00
2011-06-09 16:21:15 +01:00
2011-06-09 16:21:15 +01:00
2011-07-04 15:31:50 +01:00
2011-07-11 12:57:38 +01:00
2010-12-13 17:29:13 +00:00
2011-08-12 15:28:44 +01:00
2011-08-12 15:28:44 +01:00
2011-09-21 17:03:10 +01:00
2011-09-21 17:03:10 +01:00
2011-06-14 12:14:02 +01:00
2011-06-14 12:14:02 +01:00
2011-06-14 12:14:02 +01:00
2011-09-21 15:27:03 +01:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-05-16 13:28:17 +01:00
2011-05-16 14:31:31 +01:00
2011-04-11 15:18:12 +01:00
2010-12-22 09:52:35 +00:00
2011-09-26 15:53:30 +01:00
2011-07-13 12:30:07 +01:00
2011-09-21 17:03:10 +01:00
2011-07-13 12:30:07 +01:00
2011-10-24 14:29:02 +01:00
2011-09-26 15:53:30 +01:00
2010-12-13 17:22:57 +00:00
2011-09-26 15:53:30 +01:00
2011-09-21 17:03:10 +01:00
2011-09-21 17:03:10 +01:00
2011-09-26 15:53:30 +01:00
2011-09-21 15:27:03 +01:00
2011-09-26 15:53:30 +01:00
2010-12-13 17:22:57 +00:00
2011-09-21 15:27:03 +01:00
2011-09-21 17:03:10 +01:00
2011-01-21 16:24:14 +00:00
2011-10-24 14:29:02 +01:00
2011-09-19 16:40:07 +01:00
2011-09-19 16:40:07 +01:00
2011-09-19 16:35:59 +01:00
2010-12-13 17:22:57 +00:00
2011-09-26 15:53:30 +01:00
2010-12-13 17:28:28 +00:00
2011-09-26 15:53:30 +01:00
2011-10-12 15:29:07 +01:00
2011-09-21 17:03:10 +01:00
2011-05-16 14:31:31 +01:00
2011-07-08 15:35:46 +01:00
2011-05-16 14:31:31 +01:00
2011-03-07 13:26:19 +00:00
2011-03-07 13:26:19 +00:00
2011-09-21 15:50:08 +01:00
2011-09-21 15:50:08 +01:00
2011-05-16 14:32:37 +01:00
2011-09-21 15:27:03 +01:00
2011-09-19 16:40:06 +01:00
2011-10-14 13:56:51 +01:00
2010-12-13 17:22:57 +00:00
2011-07-11 12:57:38 +01:00
2011-05-16 14:11:47 +01:00
2011-07-27 18:21:27 +01:00
2011-05-16 17:08:30 +01:00
2011-07-01 17:52:55 +01:00
2011-05-17 15:24:54 +01:00
2011-07-27 18:46:36 +01:00
2011-09-05 17:54:46 +01:00
2011-09-05 17:54:46 +01:00
2011-07-11 12:57:38 +01:00
2011-07-11 12:57:38 +01:00
2011-07-11 12:57:38 +01:00
2011-10-21 12:24:01 +01:00
2011-09-21 15:27:03 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-06-01 20:44:42 +01:00
2011-09-21 15:27:03 +01:00
2011-09-05 19:02:04 +01:00
2011-09-05 19:02:05 +01:00
2011-07-11 12:57:38 +01:00
2011-07-08 15:35:51 +01:00
2011-09-21 15:27:03 +01:00
2011-09-05 19:02:04 +01:00
2011-09-21 15:27:03 +01:00
2011-09-21 17:03:10 +01:00
2011-09-19 16:40:06 +01:00
2011-04-11 17:54:36 +01:00
2011-01-10 16:55:00 +00:00
2011-05-16 14:31:31 +01:00
2011-06-13 17:48:23 +01:00
2011-02-09 19:12:12 +00:00
2011-06-30 14:34:46 +01:00
2011-06-30 14:33:13 +01:00
2011-06-30 14:34:46 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:33 +01:00
2011-06-01 20:44:42 +01:00
2011-06-30 14:34:33 +01:00
2011-09-08 15:48:07 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:33 +01:00
2011-04-20 18:17:06 +01:00
2011-09-21 15:27:03 +01:00
2011-09-21 15:27:03 +01:00
2011-09-27 10:27:19 +01:00
2011-08-12 15:28:42 +01:00