On 2002.04.30 09:36 Peter Andersson wrote:
>>  To describe my problem with the open gl rendering every other vertical 
>> "pixel row" is jagged. It looks similar to the fields in a frozen video 
>> frame if you know what i mean, only these fields are horiziotal. 
>> Perhaps the screenshot will speak more clearly.
>> 
>> Nice effect! ;-)
>> 
>> It's probably the textures that must be byte swapped too.
> 
> Do you mean the "texture mapping drivers" in DRI or in the program 
> (prboom)? If i run the program with indirect rendering the textures work 
> ok. I had the same problems when running quake.
> 
> Peter
> 

I meant in the drivers. This is still not very clear - yesterday we 
discussed this in the IRC meeting -, because the colors are ok. Looking 
careful to the picture is seems that we have to word swap and not byte 
swap. Perhaps because within a pixel, the color disposition isn't changed 
across little/big endian architectures.

Another thing that was suggested was to put memory barriers to avoid 
processor memory cache when accessing the memory-maped IO registers, which 
could be causing the noticed behaviour without DMA.

I'll come back to you again when these things are commited to CVS.

José Fonseca

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to