Bug 14617 - Not draw texture in some situtation
Summary: Not draw texture in some situtation
Status: VERIFIED DUPLICATE of bug 14656
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 14654
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-21 23:43 UTC by WuNian
Modified: 2009-08-24 12:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (3.83 KB, text/plain)
2008-02-21 23:43 UTC, WuNian
Details
fixed test case (4.21 KB, text/x-csrc)
2008-02-22 08:17 UTC, Brian Paul
Details
test case (4.16 KB, text/plain)
2008-02-28 21:03 UTC, WuNian
Details

Description WuNian 2008-02-21 23:43:56 UTC
Created attachment 14498 [details]
test case

Attached test case draws a quad at first, then enable texture and redraw the quad, but it does not draw the texture.
Comment 1 Brian Paul 2008-02-22 08:17:14 UTC
Created attachment 14504 [details]
fixed test case

The test program is in error.

The texture min/mag filters aren't set (the draw_first() function is never called).

Fixed program is attached.
Comment 2 WuNian 2008-02-24 18:46:37 UTC
>The texture min/mag filters aren't set (the draw_first() function is never
>called).

Thanks for your fix.
For the draw_first() function, it is not useful. I forgot removing it.
Comment 3 WuNian 2008-02-28 21:01:48 UTC
Comment on attachment 14498 [details]
test case

need to call first_draw() in test case, and the case has error(comment #1)
Comment 4 WuNian 2008-02-28 21:03:13 UTC
Created attachment 14682 [details]
test case

The case calls first_draw(), otherwise it can not reproduce this bug.
Comment 5 haihao 2008-03-04 17:54:41 UTC
14617 and 14656 are the same issue: render with a texture, then map/unmap the teximage, then render again. 
but 14617 is hard to reproduce.

*** This bug has been marked as a duplicate of bug 14656 ***
Comment 6 WuNian 2008-03-06 17:17:27 UTC
verified.
Comment 7 Adam Jackson 2009-08-24 12:29:28 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.