Author: tml Date: Fri Feb 8 15:36:13 2008 New Revision: 11539 URL: http://svn.gnome.org/viewvc/ooo-build?rev=11539&view=rev
Log: 2008-02-08 Tor Lillqvist <[EMAIL PROTECTED]> * patches/cairo/cairo-canvas-win32.diff: Add patch to canvas/source/cairo/cairo_spritecanvas.cxx that bypasses use of HasXRender() unless CAIRO_HAS_XLIB_SURFACE. Modified: trunk/ChangeLog trunk/patches/cairo/cairo-canvas-win32.diff Modified: trunk/patches/cairo/cairo-canvas-win32.diff ============================================================================== --- trunk/patches/cairo/cairo-canvas-win32.diff (original) +++ trunk/patches/cairo/cairo-canvas-win32.diff Fri Feb 8 15:36:13 2008 @@ -643,3 +643,17 @@ cairo_matrix_t aOrigMatrix; cairo_get_matrix( pCairo, &aOrigMatrix ); dummy line to avoid confusing diff-mode +--- canvas/source/cairo/cairo_spritecanvas.cxx ++++ canvas/source/cairo/cairo_spritecanvas.cxx +@@ -100,9 +100,11 @@ + CHECK_AND_THROW( pOutputWindow != NULL, + "SpriteCanvas::SpriteCanvas: invalid Window pointer" ); + ++#ifdef CAIRO_HAS_XLIB_SURFACE + bool bHasXRender = HasXRender( cairocanvas::GetSysData(pOutputWindow) ); + CHECK_AND_THROW( bHasXRender == true, + "SpriteCanvas::SpriteCanvas: No RENDER extension" ); ++#endif + + Size aPixelSize( pOutputWindow->GetOutputSizePixel() ); + const ::basegfx::B2ISize aSize( aPixelSize.Width(), _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want. Module maintainer? It is possible to set the reply-to to your development mailing list. Email [EMAIL PROTECTED] if interested.