Re: [Bug 11283] blender menus don't show up with r300 driver from git

2007-06-21 Thread Adam K Kirchhoff
On Wednesday 20 June 2007 18:07:52 Brian Paul wrote:
> Adam K Kirchhoff wrote:
> > On Wednesday 20 June 2007 13:02:47 Brian Paul wrote:
> >> Eric Anholt wrote:
> >>> On Tue, 2007-06-19 at 12:20 -0400, Adam K Kirchhoff wrote:
>  On Sat, 2007-06-16 at 09:44 -0700, [EMAIL PROTECTED]
> 
>  wrote:
> > http://bugs.freedesktop.org/show_bug.cgi?id=11283
> >
> >
> >
> >
> >
> > --- Comment #4 from [EMAIL PROTECTED]  2007-06-16 09:44 PST
> > ---
> >
> > Finished with git-bisect:
> >
> > 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe is first bad commit
> > commit 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe
> > Author: Brian <[EMAIL PROTECTED]>
> > Date:   Sun May 20 12:27:39 2007 -0600
> >
> > Overhaul/simplify SWvertex and SWspan attribute handling.
> >
> > Instead of separate fog/specular/texcoord/varying code, just
> > treat all of them as generic attributes.  Simplifies the
> > point/line/triangle functions.
> >
> > :04 04 9f70804d38a62512f185453df294c7e1df8e44e0
> >
> > 3ef1f5e6a5ae338ef5ccce99bc62cfbaf7f8987c M  src
> 
>  Brian,
> 
>  Can you shed some light onto what this commit did to blender? :-)
> >>>
> >>> I was just looking into this commit.  It broke the software drawpixels
> >>> path with the drawpix demo, at least.
> >>
> >> Yeah, try my latest commits and see what happens with Blender (and
> >> drawpix).
> >>
> >> -Brian
> >
> > Sorry, but blender is still broken :-(
>
> Does anyone know how blender draws its menus (glDrawPixels, glBitmap,
> textured polygons, etc)?
>
> -Brian

171dcdfa27dda30916a7f9bfed89577feee5d350 fixes the menus in blender.

ed5ed6fe2f64f45eb3a43f9c57037d9e9b7fa5ea fixed another bug that I saw with 
blender (which I assumed was the same bug that messed up the menus) where the 
lines in blender were screwed up :-)

Adam

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Bug 11283] blender menus don't show up with r300 driver from git

2007-06-20 Thread Brian Paul
Adam K Kirchhoff wrote:
> On Wednesday 20 June 2007 13:02:47 Brian Paul wrote:
>> Eric Anholt wrote:
>>> On Tue, 2007-06-19 at 12:20 -0400, Adam K Kirchhoff wrote:
 On Sat, 2007-06-16 at 09:44 -0700, [EMAIL PROTECTED]

 wrote:
> http://bugs.freedesktop.org/show_bug.cgi?id=11283
>
>
>
>
>
> --- Comment #4 from [EMAIL PROTECTED]  2007-06-16 09:44 PST
> ---
>
> Finished with git-bisect:
>
> 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe is first bad commit
> commit 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe
> Author: Brian <[EMAIL PROTECTED]>
> Date:   Sun May 20 12:27:39 2007 -0600
>
> Overhaul/simplify SWvertex and SWspan attribute handling.
>
> Instead of separate fog/specular/texcoord/varying code, just treat
> all of them as generic attributes.  Simplifies the point/line/triangle
> functions.
>
> :04 04 9f70804d38a62512f185453df294c7e1df8e44e0
>
> 3ef1f5e6a5ae338ef5ccce99bc62cfbaf7f8987c M  src
 Brian,

 Can you shed some light onto what this commit did to blender? :-)
>>> I was just looking into this commit.  It broke the software drawpixels
>>> path with the drawpix demo, at least.
>> Yeah, try my latest commits and see what happens with Blender (and
>> drawpix).
>>
>> -Brian
> 
> Sorry, but blender is still broken :-(

Does anyone know how blender draws its menus (glDrawPixels, glBitmap, 
textured polygons, etc)?

-Brian


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Bug 11283] blender menus don't show up with r300 driver from git

2007-06-20 Thread Adam K Kirchhoff
On Wednesday 20 June 2007 13:02:47 Brian Paul wrote:
> Eric Anholt wrote:
> > On Tue, 2007-06-19 at 12:20 -0400, Adam K Kirchhoff wrote:
> >> On Sat, 2007-06-16 at 09:44 -0700, [EMAIL PROTECTED]
> >>
> >> wrote:
> >>> http://bugs.freedesktop.org/show_bug.cgi?id=11283
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --- Comment #4 from [EMAIL PROTECTED]  2007-06-16 09:44 PST
> >>> ---
> >>>
> >>> Finished with git-bisect:
> >>>
> >>> 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe is first bad commit
> >>> commit 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe
> >>> Author: Brian <[EMAIL PROTECTED]>
> >>> Date:   Sun May 20 12:27:39 2007 -0600
> >>>
> >>> Overhaul/simplify SWvertex and SWspan attribute handling.
> >>>
> >>> Instead of separate fog/specular/texcoord/varying code, just treat
> >>> all of them as generic attributes.  Simplifies the point/line/triangle
> >>> functions.
> >>>
> >>> :04 04 9f70804d38a62512f185453df294c7e1df8e44e0
> >>>
> >>> 3ef1f5e6a5ae338ef5ccce99bc62cfbaf7f8987c M  src
> >>
> >> Brian,
> >>
> >> Can you shed some light onto what this commit did to blender? :-)
> >
> > I was just looking into this commit.  It broke the software drawpixels
> > path with the drawpix demo, at least.
>
> Yeah, try my latest commits and see what happens with Blender (and
> drawpix).
>
> -Brian

Sorry, but blender is still broken :-(

Adam


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Bug 11283] blender menus don't show up with r300 driver from git

2007-06-20 Thread Brian Paul
Eric Anholt wrote:
> On Tue, 2007-06-19 at 12:20 -0400, Adam K Kirchhoff wrote:
>> On Sat, 2007-06-16 at 09:44 -0700, [EMAIL PROTECTED]
>> wrote:
>>> http://bugs.freedesktop.org/show_bug.cgi?id=11283
>>>
>>>
>>>
>>>
>>>
>>> --- Comment #4 from [EMAIL PROTECTED]  2007-06-16 09:44 PST ---
>>>
>>> Finished with git-bisect:
>>>
>>> 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe is first bad commit
>>> commit 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe
>>> Author: Brian <[EMAIL PROTECTED]>
>>> Date:   Sun May 20 12:27:39 2007 -0600
>>>
>>> Overhaul/simplify SWvertex and SWspan attribute handling.
>>>
>>> Instead of separate fog/specular/texcoord/varying code, just treat all 
>>> of
>>> them as generic attributes.  Simplifies the point/line/triangle 
>>> functions.
>>>
>>> :04 04 9f70804d38a62512f185453df294c7e1df8e44e0
>>> 3ef1f5e6a5ae338ef5ccce99bc62cfbaf7f8987c M  src
>>>
>>>
>> Brian,
>>
>> Can you shed some light onto what this commit did to blender? :-)
> 
> I was just looking into this commit.  It broke the software drawpixels
> path with the drawpix demo, at least.

Yeah, try my latest commits and see what happens with Blender (and drawpix).

-Brian


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Bug 11283] blender menus don't show up with r300 driver from git

2007-06-20 Thread Eric Anholt
On Tue, 2007-06-19 at 12:20 -0400, Adam K Kirchhoff wrote:
> On Sat, 2007-06-16 at 09:44 -0700, [EMAIL PROTECTED]
> wrote:
> > http://bugs.freedesktop.org/show_bug.cgi?id=11283
> > 
> > 
> > 
> > 
> > 
> > --- Comment #4 from [EMAIL PROTECTED]  2007-06-16 09:44 PST ---
> > 
> > Finished with git-bisect:
> > 
> > 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe is first bad commit
> > commit 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe
> > Author: Brian <[EMAIL PROTECTED]>
> > Date:   Sun May 20 12:27:39 2007 -0600
> > 
> > Overhaul/simplify SWvertex and SWspan attribute handling.
> > 
> > Instead of separate fog/specular/texcoord/varying code, just treat all 
> > of
> > them as generic attributes.  Simplifies the point/line/triangle 
> > functions.
> > 
> > :04 04 9f70804d38a62512f185453df294c7e1df8e44e0
> > 3ef1f5e6a5ae338ef5ccce99bc62cfbaf7f8987c M  src
> > 
> > 
> 
> Brian,
> 
> Can you shed some light onto what this commit did to blender? :-)

I was just looking into this commit.  It broke the software drawpixels
path with the drawpix demo, at least.

-- 
Eric Anholt [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Bug 11283] blender menus don't show up with r300 driver from git

2007-06-19 Thread Brian Paul
Adam K Kirchhoff wrote:
> On Sat, 2007-06-16 at 09:44 -0700, [EMAIL PROTECTED]
> wrote:
>> http://bugs.freedesktop.org/show_bug.cgi?id=11283
>>
>>
>>
>>
>>
>> --- Comment #4 from [EMAIL PROTECTED]  2007-06-16 09:44 PST ---
>>
>> Finished with git-bisect:
>>
>> 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe is first bad commit
>> commit 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe
>> Author: Brian <[EMAIL PROTECTED]>
>> Date:   Sun May 20 12:27:39 2007 -0600
>>
>> Overhaul/simplify SWvertex and SWspan attribute handling.
>>
>> Instead of separate fog/specular/texcoord/varying code, just treat all of
>> them as generic attributes.  Simplifies the point/line/triangle 
>> functions.
>>
>> :04 04 9f70804d38a62512f185453df294c7e1df8e44e0
>> 3ef1f5e6a5ae338ef5ccce99bc62cfbaf7f8987c M  src
>>
>>
> 
> Brian,
> 
> Can you shed some light onto what this commit did to blender? :-)

My guess is when we're hitting the fallback path, the SWvertex->color 
values aren't getting populated.

In most of the DRI drivers, there's a XXX_translate_vertex() function 
that converts HW vertices to SWvertex format.  I don't see that in the 
R300 driver though.  I'm not sure how fallbacks work in that driver.

-Brian

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Bug 11283] blender menus don't show up with r300 driver from git

2007-06-19 Thread Adam K Kirchhoff
On Sat, 2007-06-16 at 09:44 -0700, [EMAIL PROTECTED]
wrote:
> http://bugs.freedesktop.org/show_bug.cgi?id=11283
> 
> 
> 
> 
> 
> --- Comment #4 from [EMAIL PROTECTED]  2007-06-16 09:44 PST ---
> 
> Finished with git-bisect:
> 
> 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe is first bad commit
> commit 9e8a961dd7d7b717a9fb4ecdea1c1b60ea355efe
> Author: Brian <[EMAIL PROTECTED]>
> Date:   Sun May 20 12:27:39 2007 -0600
> 
> Overhaul/simplify SWvertex and SWspan attribute handling.
> 
> Instead of separate fog/specular/texcoord/varying code, just treat all of
> them as generic attributes.  Simplifies the point/line/triangle functions.
> 
> :04 04 9f70804d38a62512f185453df294c7e1df8e44e0
> 3ef1f5e6a5ae338ef5ccce99bc62cfbaf7f8987c M  src
> 
> 

Brian,

Can you shed some light onto what this commit did to blender? :-)

Adam


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel