"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "glamor/glamor_fbo.c" between
xorg-server-1.20.7.tar.bz2 and xorg-server-1.20.8.tar.bz2

About: The X.Org X Server component of the X Window System architecture.

glamor_fbo.c  (xorg-server-1.20.7.tar.bz2):glamor_fbo.c  (xorg-server-1.20.8.tar.bz2)
skipping to change at line 242 skipping to change at line 242
cleanup: cleanup:
for (i = 0; i < block_wcnt * block_hcnt; i++) for (i = 0; i < block_wcnt * block_hcnt; i++)
if (fbo_array[i]) if (fbo_array[i])
glamor_destroy_fbo(glamor_priv, fbo_array[i]); glamor_destroy_fbo(glamor_priv, fbo_array[i]);
free(box_array); free(box_array);
free(fbo_array); free(fbo_array);
return NULL; return NULL;
} }
void
glamor_pixmap_clear_fbo(glamor_screen_private *glamor_priv, glamor_pixmap_fbo *f
bo)
{
glamor_make_current(glamor_priv);
assert(fbo->fb != 0 && fbo->tex != 0);
glamor_set_destination_pixmap_fbo(glamor_priv, fbo, 0, 0, fbo->width, fbo->h
eight);
glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(GL_COLOR_BUFFER_BIT);
}
glamor_pixmap_fbo * glamor_pixmap_fbo *
glamor_pixmap_detach_fbo(glamor_pixmap_private *pixmap_priv) glamor_pixmap_detach_fbo(glamor_pixmap_private *pixmap_priv)
{ {
glamor_pixmap_fbo *fbo; glamor_pixmap_fbo *fbo;
if (pixmap_priv == NULL) if (pixmap_priv == NULL)
return NULL; return NULL;
fbo = pixmap_priv->fbo; fbo = pixmap_priv->fbo;
if (fbo == NULL) if (fbo == NULL)
 End of changes. 1 change blocks. 
0 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)