[Mesa-dev] Difference in buffer between OSmesa and X11

Brian Paul brianp at vmware.com
Thu Nov 11 09:14:00 PST 2010


On 11/10/2010 09:08 PM, firos ismail wrote:
>
>
> On Wed, Nov 10, 2010 at 7:40 PM, Brian Paul <brianp at vmware.com
> <mailto:brianp at vmware.com>> wrote:
>
>     On 11/09/2010 09:03 PM, firos ismail wrote:
>
>         Hi all,
>
>                  When comparing the buffers created by X11 and OSMesa i
>         found
>         that the functions that put values to the buffers are different and
>         their logic is different both take different origins to put
>         values. Is
>         this normal or is there any changes that should be done ?
>
>
>     I don't really understand what you're saying/asking.  Can you be
>     more specific about what code you're looking at?
>
>     -Brian
>
> Sorry for the question ,I am a newbie. I will try to be specific
> I am trying to build mesa for powerpc without any operating system. I
> use OSMesa for the rendering part in PowerPC.
> I compare the results with linux which uses X11 driver inside the mesa.
> So when i was comparing the final results i found that
> the functions that put values to the buffer in the X11 and OSMesa are
> different. Their logic itself is different .

Well, they're different drivers to the code is different.  The final 
images that are produced should pretty much be identical though.


> I was trying to draw a line for testing purpose. After the line draw
> function , they put the values to the buffer at different places.
> Am i doing incorrect or is it that way?

Unless the rendering is incorrect, this sounds fine.

If you think you've found a bug, can you provide a test program?

-Brian


More information about the mesa-dev mailing list