From: Mike H. <mho...@gr...> - 2005-01-11 23:07:30
|
Window resizing is no longer working correctly. Try crut_fan.conf with resizable set to 1. It seems that the changes to render/readback have slightly borked CRUT, or at least the some of the feedback paths. Raptor now no longer runs correctly, so I'm starting with the simple cases first. -Mike |
From: Mike H. <mho...@gr...> - 2005-01-11 23:15:23
|
psubmit_crut might be a bad example since we should probably handle reshape via CRUT/GLUT... Still trying to track why Raptor is broken. -Mike Mike Houston wrote: > Window resizing is no longer working correctly. Try crut_fan.conf > with resizable set to 1. It seems that the changes to render/readback > have slightly borked CRUT, or at least the some of the feedback > paths. Raptor now no longer runs correctly, so I'm starting with the > simple cases first. > > -Mike > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Chromium-dev mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chromium-dev |
From: Mike H. <mho...@gr...> - 2005-01-11 23:22:08
|
Hrmm. Calling glParametervCR(GL_WINDOW_SIZE_CR, GL_INT, 2, winsize) seems to have no effect anymore on the render/readback spu. -Mike Mike Houston wrote: > psubmit_crut might be a bad example since we should probably handle > reshape via CRUT/GLUT... Still trying to track why Raptor is broken. > > -Mike > > Mike Houston wrote: > >> Window resizing is no longer working correctly. Try crut_fan.conf >> with resizable set to 1. It seems that the changes to >> render/readback have slightly borked CRUT, or at least the some of >> the feedback paths. Raptor now no longer runs correctly, so I'm >> starting with the simple cases first. >> >> -Mike >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Chromium-dev mailing list >> Chr...@li... >> https://lists.sourceforge.net/lists/listinfo/chromium-dev > > > |
From: Brian P. <bri...@tu...> - 2005-01-12 00:55:27
|
OK, Looking at the code, glParametervCR(GL_WINDOW_SIZE_CR, GL_INT, 2, winsize) will only work for resizing the default window. Note that the crHashtableSearch() call's last parameter is zero. Yet another example of the old default window/context cruft. You should probably use crWindowSize(windowID, width, height) instead. Where are you making that call? Do you have a Chromium window ID at that point? -Brian Mike Houston wrote: > Hrmm. Calling glParametervCR(GL_WINDOW_SIZE_CR, GL_INT, 2, winsize) > seems to have no effect anymore on the render/readback spu. > > -Mike > > Mike Houston wrote: > >> psubmit_crut might be a bad example since we should probably handle >> reshape via CRUT/GLUT... Still trying to track why Raptor is broken. >> >> -Mike >> >> Mike Houston wrote: >> >>> Window resizing is no longer working correctly. Try crut_fan.conf >>> with resizable set to 1. It seems that the changes to >>> render/readback have slightly borked CRUT, or at least the some of >>> the feedback paths. Raptor now no longer runs correctly, so I'm >>> starting with the simple cases first. >>> >>> -Mike >>> >>> >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Chromium-dev mailing list >>> Chr...@li... >>> https://lists.sourceforge.net/lists/listinfo/chromium-dev >> >> >> >> > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Chromium-dev mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chromium-dev > |
From: Mike H. <mho...@gr...> - 2005-01-12 01:45:15
|
CrWindowSize is a new call since the 1.6 CR release Raptor and the CRUT examples were written against. glParam should do the right thing. I guess this is a question of what the right way to do this for a remote Chromium app. crutWindowCreate is NOT quite doing the right thing. I get the renderspu window AND the crut window, i.e run crut_fan.conf and you'll get 5 total windows (1 crutserver, 2 app windows, and 2 render windows). If I enable render_to_app _window, bad bad things happen if everything is run on the local host. Everything renders into the crut_window. Now I have a strange situation where things work great now on the local host, but magically segfaults or SIGABRT (!), when run remote. I'll try to dig this out tomorrow. -Mike Brian Paul wrote: > > OK, Looking at the code, glParametervCR(GL_WINDOW_SIZE_CR, GL_INT, 2, > winsize) will only work for resizing the default window. Note that > the crHashtableSearch() call's last parameter is zero. Yet another > example of the old default window/context cruft. > > You should probably use crWindowSize(windowID, width, height) instead. > > Where are you making that call? Do you have a Chromium window ID at > that point? > > -Brian > > > Mike Houston wrote: > >> Hrmm. Calling glParametervCR(GL_WINDOW_SIZE_CR, GL_INT, 2, winsize) >> seems to have no effect anymore on the render/readback spu. >> >> -Mike >> >> Mike Houston wrote: >> >>> psubmit_crut might be a bad example since we should probably handle >>> reshape via CRUT/GLUT... Still trying to track why Raptor is broken. >>> >>> -Mike >>> >>> Mike Houston wrote: >>> >>>> Window resizing is no longer working correctly. Try crut_fan.conf >>>> with resizable set to 1. It seems that the changes to >>>> render/readback have slightly borked CRUT, or at least the some of >>>> the feedback paths. Raptor now no longer runs correctly, so I'm >>>> starting with the simple cases first. >>>> >>>> -Mike >>>> >>>> >>>> ------------------------------------------------------- >>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>> _______________________________________________ >>>> Chromium-dev mailing list >>>> Chr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/chromium-dev >>> >>> >>> >>> >>> >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Chromium-dev mailing list >> Chr...@li... >> https://lists.sourceforge.net/lists/listinfo/chromium-dev >> > |
From: Mike H. <mho...@gr...> - 2005-01-12 18:16:57
|
Ignoring the window resize problem for now, I seem to be having problems with glGenPrograms, but only when running applications are running remote with the readback SPU. When running locally, everything is happy, but moving to running the application remotely causes a segfault when calling glGenPrograms. Has anyone seen this behavior recently? I'm going to try to get a simple test case with arbfraglight misbehaving. -Mike Brian Paul wrote: > > OK, Looking at the code, glParametervCR(GL_WINDOW_SIZE_CR, GL_INT, 2, > winsize) will only work for resizing the default window. Note that > the crHashtableSearch() call's last parameter is zero. Yet another > example of the old default window/context cruft. > > You should probably use crWindowSize(windowID, width, height) instead. > > Where are you making that call? Do you have a Chromium window ID at > that point? > > -Brian > > > Mike Houston wrote: > >> Hrmm. Calling glParametervCR(GL_WINDOW_SIZE_CR, GL_INT, 2, winsize) >> seems to have no effect anymore on the render/readback spu. >> >> -Mike >> >> Mike Houston wrote: >> >>> psubmit_crut might be a bad example since we should probably handle >>> reshape via CRUT/GLUT... Still trying to track why Raptor is broken. >>> >>> -Mike >>> >>> Mike Houston wrote: >>> >>>> Window resizing is no longer working correctly. Try crut_fan.conf >>>> with resizable set to 1. It seems that the changes to >>>> render/readback have slightly borked CRUT, or at least the some of >>>> the feedback paths. Raptor now no longer runs correctly, so I'm >>>> starting with the simple cases first. >>>> >>>> -Mike >>>> >>>> >>>> ------------------------------------------------------- >>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>> _______________________________________________ >>>> Chromium-dev mailing list >>>> Chr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/chromium-dev >>> >>> >>> >>> >>> >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Chromium-dev mailing list >> Chr...@li... >> https://lists.sourceforge.net/lists/listinfo/chromium-dev >> > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Chromium-dev mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chromium-dev |
From: Brian P. <bri...@tu...> - 2005-01-11 23:46:22
Attachments:
patch
|
Mike Houston wrote: > Window resizing is no longer working correctly. Try crut_fan.conf with > resizable set to 1. It seems that the changes to render/readback have > slightly borked CRUT, or at least the some of the feedback paths. > Raptor now no longer runs correctly, so I'm starting with the simple > cases first. Mike, give this patch a try. I'd have to go back through my recent check-ins to know exactly why this stopped working. But, the patch below fixes an oversight that's been present all along. I'm tempted to add a 'track_window_size' option to the readback/binaryswap SPUs to supplement the 'resizable' option. These two options would really control two distinct things. -Brian |