View Single Post
Old 14th July 2011, 11:49   #11  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by Youka View Post
It's mysterious that for every frame in avisynth the same context has to be make the current again. You know why?
I found that this was not necessary, per se. Perhaps something in the Lua part (which I don't have) screws with the context? However, in order to support multiple calls to FLuaG in the same script, it would be necessary to re-establish the current context for each frame anyway.

Quote:
Never heard of such a case.
The OpenGL spec allows rendering of non-visible pixels to be skipped (the "pixel ownership test"). And I found I had to change to using a pbuffer to see anything on my laptop (NVidia GeForce FX Go5200).
__________________
GScript and GRunT - complex Avisynth scripting made easier

Last edited by Gavino; 14th July 2011 at 11:53.
Gavino is offline   Reply With Quote