>>-----Original Message-----
>>From: Brian Paul [mailto:[email protected]]
>>Sent: 2009年9月16日 22:34
>>To: Zou, Nanhai
>>Cc: mesa3d-dev
>>Subject: Re: Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena
>>render issue,
>>
>>Nan hai Zou wrote:
>>> Module: Mesa
>>> Branch: mesa_7_6_branch
>>> Commit: 76e836a41ad47237f80195c5dacb8bc57a7f2b69
>>> URL:
>>http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e836a41ad47237f80195c5d
>>acb8bc57a7f2b69
>>>
>>> Author: Zou Nan hai <[email protected]>
>>> Date:   Wed Sep 16 13:25:46 2009 +0800
>>>
>>> i965: do a flush in clear, fix openarena render issue,
>>>       fd.o bug# 23857
>>>
>>> ---
>>>
>>>  src/mesa/drivers/dri/intel/intel_clear.c |    1 +
>>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/src/mesa/drivers/dri/intel/intel_clear.c
>>b/src/mesa/drivers/dri/intel/intel_clear.c
>>> index bce2372..9efe6a2 100644
>>> --- a/src/mesa/drivers/dri/intel/intel_clear.c
>>> +++ b/src/mesa/drivers/dri/intel/intel_clear.c
>>> @@ -170,6 +170,7 @@ intelClear(GLcontext *ctx, GLbitfield mask)
>>>      }
>>>      DBG("\n");
>>>        }
>>> +      intelFlush(&intel->ctx);
>>>        _mesa_meta_clear(&intel->ctx, tri_mask);
>>>     }
>>
>>In general, adding flush() calls is not the correct way to fix bugs
>>(and can impact performance).  This flush is probably hiding the true
>>cause of the bug.  Unfortunately, I don't know what that would be.
>>

I don't know exactly the reason.
It seems that some rendering is delayed to the next frame.
So I add flush here to make them visible in the current frame.

Thanks
Zou Nan hai
>>-Brian
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to