Re: [nouveau] input range
Dawid Gajownik wrote: Hi! Hi, I was told on fedora-devel-list about nouveau project and I would like to help somehow ;) Although I don't have good programming skills, renouveau tool is quite easy to use so I could try to guess how some OpenGL commands work (examples in doc directory are really usefull, too). I've started with glViewport() function. My question is: should I check all possible input data including negative values? Negative values are forbidden by the spec, so the behaviour is to issue an error instead of sending commands. The common codebase in mesa does that already, so we don't need to figure that out. I tried that and it's more complicated than examples in doc/state ;-] Please take a look at file state_NV17 from http://fedora.pl/~gajownik/nouveau/ (it's not finished yet). Is that normal that first glViewport() invocation is run three times (or at least it looks like this - please see glViewport_1 file) and subsequent ones only once? I also noticed that if I pass negative width the second invocation of glViewport() is not run (file glViewport_2). renouveau does not see it or it's really not executed? It's not executed, since it's invalid. I would also like to thank you for trying to make Open Source 3D driver for nVidia cards! I've been waiting so long for it... BTW Can't you move your CVS server somewhere else? Anonymous access on sf.net does not work (actually, it works but files are outdated). I use daily packages but it's not the same :/ Well, the advantage of sf.net is that I can give CVS access to lots of people. Btw, you should really give me your sf.net id so that I can add you to the project. That way you could commit your stuff as well (and you wouldn't have to use anonymous acces any more :) Stephane --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [nouveau] input range
Dnia 04/23/2006 12:55 PM, Użytkownik Stephane Marchesin napisał: Negative values are forbidden by the spec, so the behaviour is to issue an error instead of sending commands. The common codebase in mesa does that already, so we don't need to figure that out. Oh, I did not know that. I've found only that types of glViewport parameters are GLint and GLsizei. In /usr/include/GL/gl.h they are declared as: typedef int GLint; /* 4-byte signed */ typedef int GLsizei;/* 4-byte signed */ so I thought that negative values are possible. Next time I will read more carefully OpenGL specification ;) Btw, you should really give me your sf.net id so that I can add you to the project. That way you could commit your stuff as well (and you wouldn't have to use anonymous acces any more :) Thanks! I'm not sure whether I deserve it... My ID is 856272 (name: gajownik) Regards, Dawid -- ^_* --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[nouveau] input range
Hi! I was told on fedora-devel-list about nouveau project and I would like to help somehow ;) Although I don't have good programming skills, renouveau tool is quite easy to use so I could try to guess how some OpenGL commands work (examples in doc directory are really usefull, too). I've started with glViewport() function. My question is: should I check all possible input data including negative values? I tried that and it's more complicated than examples in doc/state ;-] Please take a look at file state_NV17 from http://fedora.pl/~gajownik/nouveau/ (it's not finished yet). Is that normal that first glViewport() invocation is run three times (or at least it looks like this - please see glViewport_1 file) and subsequent ones only once? I also noticed that if I pass negative width the second invocation of glViewport() is not run (file glViewport_2). renouveau does not see it or it's really not executed? I would also like to thank you for trying to make Open Source 3D driver for nVidia cards! I've been waiting so long for it... BTW Can't you move your CVS server somewhere else? Anonymous access on sf.net does not work (actually, it works but files are outdated). I use daily packages but it's not the same :/ Regards, Dawid -- ^_* --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel