Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 21:13:45 -0500 (CDT)
From:      Joel Ray Holveck <joelh@gnu.org>
To:        dag-erli@ifi.uio.no
Cc:        current@FreeBSD.ORG
Subject:   Re: syscons.c and graphical screensavers
Message-ID:  <199804230213.VAA01114@detlev.UUCP>
In-Reply-To: <xzpvhs8oj74.fsf@gladsheim.ifi.uio.no> (dag-erli@ifi.uio.no)
References:  <xzpra2yhyqt.fsf@hrotti.ifi.uio.no> <199804160353.WAA01213@detlev.UUCP> <xzpvhs8oj74.fsf@gladsheim.ifi.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> I changed current's src/sys/i386/isa/syscons.c to put the "should we
>>> stop the screensaver" check before the "should we just return" check.
>> The screensaver needs to properly handle shutdown before the switch,
>> but that's not hard.  If you're writing a graphical screensaver, talk
>> to me and I'll get you my template.
> OK, I added a call to stop_scrn_saver() right before the switching
> code in switch_scr(). Perhaps it's *too* conservative, but I figured
> it can't hurt.

Okay.  I'll test some stuff out.

> As to your template, I remember you mentioning it way back; I'd love
> to see it. I have written two graphical screensavers (the logo saver
> you've already seen, and a starfield with eight levels of parallax
> scrolling) which would certainly benefit from your code :)

If you could send me your current code, it may give me an idea as to
what is useful to code and what is not.

Best,
joelh

-- 
Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804230213.VAA01114>