I just added some cool transition effects for presentation mode to  
Skim. However the CoreImage transitions are pretty slow (at least on  
my machine), which is quite annoying. I wonder if someone here knows  
a bit about graphics and how to speed this up.

I found that most of the speed is determined by the standard view  
drawing. It seems that if I use a OpenGL graphics context (through a  
NSOpenGLView for example) it draws much faster.

However I know little if nothing about OpenGL. And i can't get it to  
work properly. I cannot make the SKAnimationView an NSOpenGLView,  
because those cannot have subviews. Also adding a NSOpenGLView as a  
subview has problems, as I'm not able to get back to the usual  
drawing context (including the PDFView) after the animation, and the  
image remains the last image of the animation. Also if I swap in and  
remove an NSOPenGLView to do the animation, the image of the window  
from /before/ the animation is shown in a flashafter the animation.  
Probably this has to do with caching and switching graphics contexts.  
But I can't get rid of it.

Anyone have any experience with graphics, or a better idea how to  
handle this?

Christiaan


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
skim-app-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-develop

Reply via email to