<html>
<body>
  <div id="body" style="background-color:#ffffff;" >
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head" style="border-bottom-width:1px;border-bottom-style:solid;" ><td class="headtd" style="padding:0;padding-top:.2em;" colspan="4">Commit in <b><tt>lxdream/src/drivers</tt></b></td></tr>
<tr><td><tt><a href="#file1">gl_fbo.c</a></tt></td><td></td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-4</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">7dc1c71ece76 -> dc60a0987db9</td></tr>
</table>
<pre class="comment" style="white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd;" >
Remove unnecessary (and slow) glFinish() calls from the FBO driver
</pre>
<hr /><a name="file1" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src/drivers</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>gl_fbo.c</b></big> <small id="info" style="color: #888888;" >7dc1c71ece76 -> dc60a0987db9</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/drivers/gl_fbo.c
+++ lxdream/src/drivers/gl_fbo.c
@@ -294,7 +294,6 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > 
 static gboolean gl_fbo_set_render_target( render_buffer_t buffer )
 {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    glFinish();
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     glGetError();
     int fb = gl_fbo_get_framebuffer( buffer->width, buffer->height );
     gl_fbo_attach_texture( fb, buffer->buf_id );
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -317,21 +316,18 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >  */
 static void gl_fbo_display_render_buffer( render_buffer_t buffer )
 {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    glFinish();
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     gl_fbo_detach();
     gl_display_render_buffer( buffer );
 }
 
 static void gl_fbo_load_frame_buffer( frame_buffer_t frame, render_buffer_t buffer )
 {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    glFinish();
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     gl_fbo_detach();
     gl_load_frame_buffer( frame, buffer->buf_id );
 }
 
 static void gl_fbo_display_blank( uint32_t colour )
 {
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    glFinish();
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     gl_fbo_detach();
     gl_display_blank( colour );
 }
</pre></div>
<center><small>Chaos Theory</small></center>
</div></body></html>