"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "glamor/glamor.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.c  (xorg-server-1.20.7.tar.bz2):glamor.c  (xorg-server-1.20.8.tar.bz2)
skipping to change at line 131 skipping to change at line 131
pixmap->drawable.height, format, tex, 0); pixmap->drawable.height, format, tex, 0);
if (fbo == NULL) { if (fbo == NULL) {
ErrorF("XXX fail to create fbo.\n"); ErrorF("XXX fail to create fbo.\n");
return; return;
} }
glamor_pixmap_attach_fbo(pixmap, fbo); glamor_pixmap_attach_fbo(pixmap, fbo);
} }
_X_EXPORT void
glamor_clear_pixmap(PixmapPtr pixmap)
{
ScreenPtr screen = pixmap->drawable.pScreen;
glamor_screen_private *glamor_priv;
glamor_pixmap_private *pixmap_priv;
glamor_priv = glamor_get_screen_private(screen);
pixmap_priv = glamor_get_pixmap_private(pixmap);
assert(pixmap_priv->fbo != NULL);
glamor_pixmap_clear_fbo(glamor_priv, pixmap_priv->fbo);
}
uint32_t uint32_t
glamor_get_pixmap_texture(PixmapPtr pixmap) glamor_get_pixmap_texture(PixmapPtr pixmap)
{ {
glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap); glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap);
if (!pixmap_priv) if (!pixmap_priv)
return 0; return 0;
if (!pixmap_priv->fbo) if (!pixmap_priv->fbo)
return 0; return 0;
 End of changes. 1 change blocks. 
0 lines changed or deleted 15 lines changed or added

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