On Thu, 2004-05-27 at 15:00, Mike Mestnik wrote:
> --- Michel Dnzer <[EMAIL PROTECTED]> wrote:
> > On Wed, 2004-05-26 at 12:34, Mike Mestnik wrote: 
> > > Attached is a screen shoot of the effect of adding 1024 to the
> > > ColorOffset.  
> > 
> > It's hard for me to recognize anything; can you describe your
> > observations?
> > 
> The data was shifted to the right, making it offcenter.  I will need to
> find a way of undoing/compinsating-for this inorder to make changing this
> offset usefull.

I guess you need to compensate the GL viewport (I guess you may have
talked about that in earlier posts? I somehow thought you were talking
about the X server viewports).


> > > I still have to find where rmesa->state.color.drawOffset comes from
> > and 
> > > what effect the first 4 bits(define RADEON_COLOROFFSET_MASK
> > >      0xfffffff0) are for
> > 
> > The 128 bit alignment.
> > 
> The value is in 8bit bytes then? not pixels.  What kind of conversion will
> I have todo, 24bpp = 4 bytes right?

screen->cpp contains the number of bytes per pixel.


-- 
Earthling Michel DÃnzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to