[Swfdec] Two problems I'm having with swfdec
cakemeister at comcast.net
Thu Feb 26 15:20:44 PST 2009
I am trying to create some code to render a SWF movie to a cairo context,
and later load the image data into a OpenGL texture for display.
I've got two problems.
My first problem is that the previous frame doesn't appear to erase when the
current frame is drawn. This leaves artifacts on the screen. I must be
missing something in the process of rendering each frame.
My second problem is that my application that uses this code is very slow.
Is there some kind of "invalid rect" that I can use to just transfer the
portion of the frame that has changed to the final OpenGL texture? I'm
getting really slow frame rates, like 4 fps.
I have attached the program I have written to illustrate the artifacts. It's
only 200 lines. It uses Glee, SDL, swfdec, and dependencies. My platform is
Win32, but I think everything in the test program should be portable. Frame
rates in this test program aren't as big a problem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Swfdec