On Wed, 14 Jul 2004 15:54:29 +0200
[EMAIL PROTECTED] wrote:

> Hello all !
> 
> I'm using the savage driver for a ProSavage PN133 from the
> 06 July 2004 snapshot. I have some troubles with the glScissor
> function. I don't know if it's a driver problem but the same
> code works ok under intel i865G (Extreme 2).
> 
> The next code usually sets a painting window.
> 
>     // Set the clipping rect.
>     glScissor( 0, 0, 10, 10 );
> 
>     // Clipping enabled.
>     glEnable( GL_SCISSOR_TEST );
> 
> Now if i check with 'glGetError()' i get no error, if i read
> the scissor box with 'glGetIntegerv( GL_SCISSOR_BOX, ...)' i
> get the previously set values. With 'glIsEnabled( GL_SCISSOR_TEST )'
> i get a true value.
> 
> Finally i have all the graphics painted on the display, from inside and
> outside the window!
> 
> Then, is it a known behaviour? What can i do?

It's not exactly a known problem. I havn't had problems with scissors
yet, probably because it's not widely used in games and other stuff I
tested. I suspect that scissors interact badly with the window cliprect.
It's still a big mess in the driver. If you feel like driver hacking
take a look at savagestate.c. That's where the scissors are computed.

> 
> Thanks,
> Jorge

Regards,
  Felix

| Felix K�hling <[EMAIL PROTECTED]>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to