List Info

Thread: New: glPolygonOffset not change pixel's depth component value




New: glPolygonOffset not change pixel's depth component value
country flaguser name
United States
2008-03-25 02:46:43
htt
p://bugs.freedesktop.org/show_bug.cgi?id=15194

           Summary: glPolygonOffset not change pixel's depth
component value
           Product: Mesa
           Version: CVS
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: haihao.xiangintel.com
        ReportedBy: nian.wuintel.com
                CC: dri-devellists.sourceforge.net


Created an attachment (id=15441)
 --> (h
ttp://bugs.freedesktop.org/attachment.cgi?id=15441)
test case

The attached test case enables POLYGON_OFFSET_LINE, and
calls
 glPolygonOffset(0.0, 3000.0);

When run with i915 and i965 driver, all of the edge pixels'
depth value is 0.
If run with soft rendering, the edge pixels' depth value is 
0.045777.


-- 
Configure bugmail: h
ttp://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


glPolygonOffset has no effect on glPolygonMode(GL_LINE)
country flaguser name
United States
2008-03-27 17:46:09
htt
p://bugs.freedesktop.org/show_bug.cgi?id=15194


Eric Anholt <ericanholt.net> changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
            Summary|glPolygonOffset not change 
|glPolygonOffset has no
                   |pixel's depth component     |effect on
                   |value                      
|glPolygonMode(GL_LINE)




--- Comment #1 from Eric Anholt <ericanholt.net>  2008-03-27 15:46:08 PST ---
I played with this a bit, and noted that making apply_offset
do arbitrary
changes to the vertex data had no effect, so we're probably
writing to the
wrong place or just not reaching that part of the loop.


-- 
Configure bugmail: h
ttp://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------
-------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216
239;13503038;w?http://sf.net/marketplace
--
_______________________________________________
Dri-devel mailing list
Dri-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


glPolygonOffset has no effect on glPolygonMode(GL_LINE)
country flaguser name
United States
2008-03-27 20:04:09
htt
p://bugs.freedesktop.org/show_bug.cgi?id=15194





--- Comment #2 from haihao <haihao.xiangintel.com>  2008-03-27 18:04:09 PST ---
depth offset is only applied to TRIANGLE object in WM state.
The CLIP thread
tries to do that for glPolygonMode(GL_LINE). Unfortunately
it doesn't take
effect.


-- 
Configure bugmail: h
ttp://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------
-------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216
239;13503038;w?http://sf.net/marketplace
--
_______________________________________________
Dri-devel mailing list
Dri-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )