Re: More CRUT breakage

Mike Houston <[email protected]> Tue, 11 Jan 2005 17:46:01 -0800
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
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
>>>> [email protected]
>>>> 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
>> [email protected]
>> 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