Hans Petter Jansson
a8e04a7d6b
Add API to control per-framebuffer depth writing
...
Add framebuffer methods cogl_framebuffer_[gs]et_depth_write_enabled()
and backend bits to pass the state on to glDepthMask().
This allows us to enable or disable depth writing per-framebuffer, which
if disabled saves us some work in glClear(). When rendering, the flag
is combined with the pipeline's depth writing flag using a logical AND.
Depth writing is enabled by default.
https://bugzilla.gnome.org/show_bug.cgi?id=709827
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 71406438c5357eb4e0ef03e940c5456a536602a0)
2013-10-28 16:34:58 +00:00
..
2013-10-28 16:34:57 +00:00
2013-01-22 17:48:06 +00:00
2013-01-22 17:48:06 +00:00
2013-07-29 17:56:07 +01:00
2013-08-19 22:44:44 +01:00
2013-07-29 17:56:07 +01:00
2013-07-29 18:31:36 +01:00
2013-07-09 22:52:49 +01:00
2013-08-19 22:44:44 +01:00
2013-10-28 16:34:57 +00:00
2013-03-19 17:53:43 +00:00
2013-08-19 22:44:45 +01:00
2013-10-28 16:34:58 +00:00
2013-01-22 17:48:06 +00:00
2013-05-28 21:36:03 +01:00
2012-03-20 12:33:40 +00:00
2012-03-20 12:33:40 +00:00
2013-08-19 22:44:44 +01:00
2013-08-19 22:44:44 +01:00
2013-07-29 17:56:07 +01:00
2013-01-22 17:48:06 +00:00
2013-07-30 15:08:39 +01:00
2013-07-29 17:56:07 +01:00
2013-07-29 17:56:07 +01:00
2013-07-04 11:50:31 +01:00
2013-07-29 17:56:07 +01:00
2012-03-20 12:33:40 +00:00
2013-08-19 22:44:44 +01:00
2013-08-19 22:44:35 +01:00
2013-04-04 13:37:51 +01:00
2013-10-28 16:34:57 +00:00
2013-01-22 17:48:06 +00:00
2013-01-22 17:48:06 +00:00
2013-01-22 17:48:09 +00:00
2013-07-29 18:31:36 +01:00
2013-07-29 18:31:36 +01:00
2013-09-02 16:22:08 +01:00
2013-01-22 17:48:06 +00:00
2013-07-29 18:31:36 +01:00
2013-07-29 18:31:36 +01:00
2013-01-22 17:48:06 +00:00
2013-08-19 22:44:44 +01:00
2013-07-29 17:56:07 +01:00
2013-01-22 17:48:06 +00:00
2013-01-22 17:48:06 +00:00
2013-07-29 18:31:36 +01:00
2013-07-29 17:56:07 +01:00
2013-07-29 17:56:07 +01:00
2013-07-29 17:56:07 +01:00
2012-08-06 14:27:39 +01:00
2013-07-29 17:56:07 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-08-19 22:44:44 +01:00
2013-07-29 17:56:07 +01:00
2013-02-21 15:20:55 +00:00
2013-01-22 18:00:11 +00:00