71 Commits

Author SHA1 Message Date
Josh Holtrop
cc2edd3a70 move getRandomAxis to Mode superclass 2011-10-12 13:11:45 -04:00
Josh Holtrop
2f88a11652 center logobox when drawing 2011-10-12 12:21:13 -04:00
Josh Holtrop
123951d863 remove some unnecessary GL commands now that we're using shaders 2011-10-11 15:32:33 -04:00
Josh Holtrop
ee2a618de8 remove Flip mode 2011-10-11 14:53:34 -04:00
Josh Holtrop
afd1d1a7b8 Merge branch 'shaders' 2011-10-11 12:18:11 -04:00
Josh Holtrop
4207934753 fix line endings on LogoBox sources 2011-10-11 12:12:28 -04:00
Josh Holtrop
d556ef69bf fill out LogoBox::draw(), rendering logos with shaders now 2011-10-11 12:11:24 -04:00
Josh Holtrop
4cfa0893f6 fix build using dwss.cc for main() instead of wfobj/driver - whoops 2011-10-11 12:05:26 -04:00
Josh Holtrop
55bf10c282 reorganize source a bit, building but not rendering LogoBoxes 2011-10-11 11:35:23 -04:00
Josh Holtrop
00b9723aac add glslUtil submodule 2011-10-11 10:43:18 -04:00
Josh Holtrop
e0169b779e update build environment to use cfs_gen 2011-10-11 10:34:46 -04:00
Josh Holtrop
9782d105fe add wfobj/cfs_gen submodules 2011-10-11 10:04:53 -04:00
Josh Holtrop
31544a5d4a remove files in preparation for transition to wfobj/cfs_gen submodules 2011-10-11 10:02:53 -04:00
Josh Holtrop
040c7a9412 make Spin the default mode again 2011-05-23 16:42:34 -04:00
Josh Holtrop
5cf3b3f34c create a mode through getMode() interface 2011-03-24 14:53:19 -04:00
Josh Holtrop
937bd8cdf4 update gluPerspective to have more resolution in depth plane 2011-03-24 14:30:47 -04:00
Josh Holtrop
743a964dd3 only use 500 stars 2011-03-24 14:24:11 -04:00
Josh Holtrop
57fc49ea54 create new stars when old ones pass 2011-03-24 14:21:33 -04:00
Josh Holtrop
0b6c19cc0e initialize and draw stars in front of camera! 2011-03-24 14:12:03 -04:00
Josh Holtrop
c10caad2f9 initialize stars; currently behind camera :( 2011-03-24 14:03:51 -04:00
Josh Holtrop
d034c2d667 initialize stars array 2011-03-24 13:44:08 -04:00
Josh Holtrop
605483b41c add Starfield class 2011-03-24 13:27:58 -04:00
Josh Holtrop
c608c75b83 GnomeScreensaver::getTicks() returns uint64_t 2011-03-24 13:16:40 -04:00
Josh Holtrop
07ebea5713 move hgignore to gitignore 2011-01-13 13:42:12 -05:00
Josh Holtrop
95868042f6 seed random number generator with PID and time 2011-01-13 13:40:09 -05:00
Josh Holtrop
ecba9f2c88 Spin: change speed along with axis at switch time 2010-12-09 11:27:24 -05:00
Josh Holtrop
85fabfc6cd Spin: added random speed to per-monitor info 2010-12-08 13:11:24 -05:00
Josh Holtrop
bca90926a0 Spin: random axis duration between 2..5 seconds 2010-12-08 13:06:24 -05:00
Josh Holtrop
34a8729811 Spin: replaced 6 orthogonal directions with a completely random axis 2010-12-08 13:03:38 -05:00
Josh Holtrop
a3936d1e43 Spin: refactored initialization of monitor info; gave each monitor its own random switch time 2010-12-08 11:52:30 -05:00
Josh Holtrop
7d16486f8f replaced directions and rotations array with generic per-monitor info structure array 2010-12-08 11:32:30 -05:00
Josh Holtrop
6136404999 SConstruct: install target also installs .desktop file to ~/.local/share/applications/screensavers 2010-12-07 16:02:52 -05:00
Josh Holtrop
eb5f709d5e Spin: change logo to spin on random axis every 5 seconds 2010-12-07 15:34:18 -05:00
Josh Holtrop
01f530ad8d merge 2010-12-01 10:25:12 -05:00
Josh Holtrop
f31a7ebb7a added Flip mode (in progress) 2010-12-01 09:23:53 -05:00
Josh Holtrop
5a86af6aac Spin mode: every other monitor spins in other direction 2010-11-30 15:23:17 -05:00
Josh Holtrop
6cd00909e0 GnomeScreensaver: aspect ratio is for entire virtual screen, not just one monitor 2010-11-27 17:04:35 -05:00
Josh Holtrop
27e302f126 Spin: spin a logo on each monitor 2010-11-26 23:02:10 -05:00
Josh Holtrop
15dc4f8d75 GnomeScreensaver: fix #monitors calculation, added getNumMonitors() 2010-11-26 23:01:48 -05:00
Josh Holtrop
5eafc52361 actually pass options to gtk_init_with_args() 2010-11-26 22:41:31 -05:00
Josh Holtrop
d87a116957 remove width and height arguments from configure callback; call configure callback after instantiating a new mode 2010-11-26 01:27:25 -05:00
Josh Holtrop
e2dc328996 dwss: only create modes after initializing the OpenGL rendering context 2010-11-25 23:26:29 -05:00
Josh Holtrop
12eb23e8ec LogoBox: more error checking 2010-11-25 23:26:11 -05:00
Josh Holtrop
e236182f9b LoadFile: added warning output if file not found 2010-11-25 23:20:11 -05:00
Josh Holtrop
70e737e78f Spin showing spinning quad but not LogoBox 2010-11-25 23:06:52 -05:00
Josh Holtrop
e423d46c3e added Spin mode -- in progress 2010-11-25 22:43:36 -05:00
Josh Holtrop
2544ff381a avoid circular dependency by moving modes/modes.h to modes.h 2010-11-24 16:38:12 -05:00
Josh Holtrop
7886c42288 added modes/modes.h autogeneration in scons 2010-11-24 16:30:14 -05:00
Josh Holtrop
bb3dad0809 LogoBox: cleaned up and optimized 2010-11-24 16:20:42 -05:00
Josh Holtrop
f2aa2ff908 calculate number of monitors; added Mode.h abstract class 2010-11-24 16:02:02 -05:00