gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] [PATCH] Initial implementation of a cairo renderer


From: Paul Smedley
Subject: Re: [Gnash-dev] [PATCH] Initial implementation of a cairo renderer
Date: Fri, 05 May 2006 02:32:44 +0930
User-agent: Mail/News 3.0a1 (OS/2/20060403)

Hi All,

Bastiaan Jacques wrote:
On Tuesday 02 May 2006 09:45, Timothy Lee wrote:
    m_texture_id = (unsigned int)cairo_pattern_create_for_surface(m_image);

This is a cast from a pointer to 32-bit integer, which is 64-bit unsafe. I've added an m_pattern member to replace m_texture_id.

I've added a configure option --enable-renderer=[renderer], where renderer is either opengl or cairo (the default is still opengl).

This work increases the importance of a cleanup of gnash.cpp (which is already underway in the form of a frontend library) - when the cairo backend is enabled, currently two windows are created. Fixing that is nontrivial due to the goop in gnash.cpp.

I got Gnash mostly compiling on OS/2 - however the Cairo backend depends on cairo-xlib.h which isn't available on OS/2 as OS/2 doesn't use X.

Is there a more platform independent way of implementing a Cairo backend?

Cheers,

Paul.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]