LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: z742 on August 02, 2008, 01:17:46

Title: how to render on several graphic adapter?
Post by: z742 on August 02, 2008, 01:17:46
Does lwjgl support more than one monitor?
Title: Re: how to render on several graphic adapter?
Post by: Matzon on August 02, 2008, 06:22:30
yes - though I don't think there is any "special" code to handle it.
Title: Re: how to render on several graphic adapter?
Post by: z742 on August 02, 2008, 07:42:26
Quote from: Matzon on August 02, 2008, 06:22:30
yes - though I don't think there is any "special" code to handle it.

you mean lwjgl can do it,but you don't known how to do,right? are you sure?

Allow me to explain my problem again.

I have two graphic adapter and they connect to two monitor.
I want to write a program to display pictrue1 on monitor1 and display picture2 on monitor2.picture1 and picture2 are different.
Title: Re: how to render on several graphic adapter?
Post by: Matzon on August 02, 2008, 08:12:51
no, what I mean is that you can create a display that can span multiple monitors - but there isn't any code to handle this. Its done on an OS level. The is no way to select which adapter to create the display on.

You cannot create two displays - and have one on each screen/adapter. Unless you use the Display.setParent and use an AWT solution.