[PD] os x gem fullscreen

Ralf Baecker ralf at no-surprises.de
Sun Oct 26 20:29:08 CET 2003


Hey all,

I'm using os x 10.2.8 and the "secondscreen 1" message works very well 
for me. hmm

thanks,
ralf



cgc at humboldtblvd.com wrote:

> Quoting "B. Bogart" <ben at ekran.org>:
> 
> 
>>Hey all,
>>
>>If you use "secondscreen 1" you can't use the full screen message, you
>>just
>>use the create message as normal.
>>
>>Also for Gem you have to set most the window properties BEFORE you
>>create
>>the window! This goes for dimen, fullscreen, secondscreen, offset. I
>>think
>>color and rendering are the only things you can change after having
>>created
>>the window.
>>
> 
> 
> some more info about the 'secondscreen' message:
> 
> - it will attempt to resize the attached display to the size 'dimen x y' is set
> to, but I have set the minimum/default to a 'safe' 640x480 since most displays
> will do VGA resolution.
> - if you set something smaller than 640 on x or 480 on y it will use the default 
> - there is no checking done in GEM for valid display dimensions, but the OS
> should handle bad dimensions gracefully.
> - GEM will not set the refresh rate
> - secondscreen is primarily designed for easy setup in performance environments.
>  both Jamie and I have powerbooks and regularly use them in that role.
> 
> It might be better to roll this functionality into the 'fullscreen' message by
> adding another argument for the display number.  The message would look like this:
> 
> [fullscreen on/off display# (
> 
> So 'fullscreen 1 0' would display fullscreen on the main monitor (also omitting
> the arg for display would default to the main screen), and 'fullscreen 1 1'
> would use an atached monitor.
> 
> 
>>See if that helps with the crashes at all. I've never had gem crash
>>when
>>creating windows.
>>
> 
> 
> The code used for secondscreen is right out of the Apple docs, and I personally
> haven't had any problems with it after adding the checks for minimum display
> bounds.  All other errors have been handled by the OS just fine.
> 
> cgc
> 
> 
>>Ben
>>
>>----- Original Message -----
>>From: "doktorp" <doktorp at mac.com>
>>To: "Ralf Baecker" <ralf at no-surprises.de>
>>Cc: <pd-list at iem.at>
>>Sent: Sunday, October 26, 2003 9:53 AM
>>Subject: Re: [PD] os x gem fullscreen
>>
>>
>>
>>>I have gotten the offset to work, and forced gem to make an 800/600
>>>window and have my second monitor at that setting. if I offset it
>>
>>just
>>
>>>right it seemed to work.
>>>
>>>but using the second monitor flag and the fullscreen one would
>>>consitantly crash me. =(
>>>
>>>
>>>its best to init the settings before you create and start rendering
>>>(with using the offset).
>>>otherwise it seems to get unstable for me =\
>>>
>>>-dok
>>>
>>>On Oct 26, 2003, at 6:37 AM, Ralf Baecker wrote:
>>>
>>>
>>>>hi there,
>>>>
>>>>i'm new to the pd and gem thing. so my first problem/question is,
>>
>>if
>>
>>>>it is possible to get the gem windows fullscreen on a second
>>
>>display?
>>
>>>>i tried some messages... but most of them didn't work. like
>>>>"fullscreen 1" ,i also tried to move it with a "x offset -1024" on
>>
>>the
>>
>>>>other screen...
>>>>
>>>>thanx,
>>>>
>>>>ralf
>>>>
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>PD-list mailing list
>>>>PD-list at iem.at
>>>>http://iem.at/cgi-bin/mailman/listinfo/pd-list
>>>
>>>
>>>_______________________________________________
>>>PD-list mailing list
>>>PD-list at iem.at
>>>http://iem.at/cgi-bin/mailman/listinfo/pd-list
>>
>>
>>_______________________________________________
>>PD-list mailing list
>>PD-list at iem.at
>>http://iem.at/cgi-bin/mailman/listinfo/pd-list
>>
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
> 
> 






More information about the Pd-list mailing list