yeah this looks good to me.<div><br></div><div>- Robert</div><div><br><div class="gmail_quote">On Fri, Mar 16, 2012 at 5:43 PM, Neil Roberts <span dir="ltr"><<a href="mailto:neil@linux.intel.com">neil@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In theory none of the journal flushing code should be using anything<br>
that relies on the global framebuffer stack because it should all be<br>
using the new 2.0-style API which explicitly mentions the target<br>
framebuffer. Eventually we want to get rid of the framebuffer stack so<br>
we might as well remove the push and pop now.<br>
---<br>
cogl/cogl-journal.c | 4 ----<br>
1 files changed, 0 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/cogl/cogl-journal.c b/cogl/cogl-journal.c<br>
index 59a9fd8..8670471 100644<br>
--- a/cogl/cogl-journal.c<br>
+++ b/cogl/cogl-journal.c<br>
@@ -1381,8 +1381,6 @@ _cogl_journal_flush (CoglJournal *journal)<br>
* that the timer isn't started recursively. */<br>
COGL_TIMER_START (_cogl_uprof_context, flush_timer);<br>
<br>
- cogl_push_framebuffer (journal->framebuffer);<br>
-<br>
if (G_UNLIKELY (COGL_DEBUG_ENABLED (COGL_DEBUG_BATCHING)))<br>
g_print ("BATCHING: journal len = %d\n", journal->entries->len);<br>
<br>
@@ -1465,8 +1463,6 @@ _cogl_journal_flush (CoglJournal *journal)<br>
<br>
_cogl_journal_discard (journal);<br>
<br>
- cogl_pop_framebuffer ();<br>
-<br>
COGL_TIMER_STOP (_cogl_uprof_context, flush_timer);<br>
}<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.7.3.16.g9464b<br>
<br>
_______________________________________________<br>
Cogl mailing list<br>
<a href="mailto:Cogl@lists.freedesktop.org">Cogl@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/cogl" target="_blank">http://lists.freedesktop.org/mailman/listinfo/cogl</a><br>
</font></span></blockquote></div><br></div>