Hi all,

Radeon and R200 drivers report GL_MAX_VIEWPORT_DIMS=<4096, 4096>, but I
think that hardware can maximally suport <2048, 2048>. Anyway I don't
think current drivers don't even support <1, 1> if window will be placed
further from top left corner than 2048 in any direction.

So, I was trying to fix this problem by changing offset used by
accelerator to point to top left corner of the viewport. I have somehow
working implementation for r200 but I'm missing few things.

After lock is grabbed in r200GetLock i need to emit RB3D_COLOROFFSET
when window is moved. And it has to be done  before any geometry is sent
to hardware. Emitting viewport data would also be good.

RB3D_COLOROFFSET is rounded to 16 bytes, so I can't set it exactly to
point to top left corner of viewport. This is already handled, but
viewport dimensions will slightly decrease. Is there any way to overcome
this?

Any suggestion what programs use to test such modification. I suspect
that following things may be broken: red/draw pixels etc, poligon
stipple, scissor.

BTW: Does RB3D, SE, RE, PP in register names have some meaning. If so,
can someone enlighten me? :)

Best,
-- 
Jacek Rosik <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to