From: Dennis S. <den...@gm...> - 2006-11-14 22:02:37
|
It is most certainly possible since 0.4.0. lvdisplay is currently not maintained. Check out the module libvisual-hackground and look into the standalone directory. It supports the gl attribs stuff as well, for an example on how this works on the plugin side, check the plugin madspin (lv-plugins/plugins/actor/madspin/) We plan on redoing lvdisplay in the beginning of 2007, however for now just copy the stuff in lv-hackground/standalone... If you have any more questions please feel free to ask! I CCed you to this reply because gmail and sf.net are not really going hand in hand lately, just to be sure, sorry if the reply lands double in your mailbox! Cheers, Dennis On 11/14/06, pl...@ip... <pl...@ip...> wrote: > > Hi, > > I took a look at libvisual CVS (mostly because I want to get rid of > that xmms-1.x dependency). I'm planning to port both gmerlin_visualizer > and lemuria to libvisual. This means, I'll need libvisual on both the > application level as at plugin level. > > Some questions (Copy & Paste from ViewCVS): > > /libvisual-display/lvdisplay/lv_display.h: > > 94 LvdFPSControl *sleep26_fps_control_init(); > 95 LvdFPSControl *null_fps_control_init(); > 96 LvdFPSControl *tod_fps_control_init(); > > Shouldn't this be just one function, which tests for supported > sleep/timing modes at runtime? > > /libvisual-display/drivers/glx/glx.c: > > 249 attr[i++] = GLX_RED_SIZE; attr[i++] = 5; > 250 attr[i++] = GLX_GREEN_SIZE; attr[i++] = 5; > 251 attr[i++] = GLX_BLUE_SIZE; attr[i++] = 5; > 252 attr[i++] = GLX_DOUBLEBUFFER; attr[i++] = True; > 253 attr[i++] = GLX_DRAWABLE_TYPE; attr[i++] = GLX_WINDOW_BIT; > > This is, what lemuria needs: > > int attr_list[] = { > GLX_RGBA, > GLX_DEPTH_SIZE, 16, > GLX_ALPHA_SIZE, 8, > GLX_DOUBLEBUFFER, > None > }; > > Would it be possible for plugins to request their own GLX Attributes? > > Cheers > > Burkhard > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Libvisual-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libvisual-devel > |