Last Comment Bug 594091 - [gl] clear out render area at start of every renderlayer
: [gl] clear out render area at start of every renderlayer
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: unspecified
: All All
: -- normal (vote)
: ---
Assigned To: Vladimir Vukicevic [:vlad] [:vladv]
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-07 11:29 PDT by Vladimir Vukicevic [:vlad] [:vladv]
Modified: 2011-12-09 15:30 PST (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
do the clear (618 bytes, patch)
2010-09-07 11:29 PDT, Vladimir Vukicevic [:vlad] [:vladv]
jmuizelaar: review+
Details | Diff | Review

Description Vladimir Vukicevic [:vlad] [:vladv] 2010-09-07 11:29:19 PDT
Created attachment 472698 [details] [diff] [review]
do the clear

This caused stuff to "build up", that is to have things like antialiased areas to get bolder and bolder.  We need to clear this out, just like we do in the d3d9 backend.

This could probably use a test, but I'm not sure how to construct one -- way to reproduce is to have a colored div with opacity: 0.2 with opacity changing to 0.4 on hover.  Moving the mouse over it and off it should swap between the two opacities, though without this patch it just gets darker and darker.

This fixes a large number of visual artifacts with gl layers.
Comment 1 Joe Drew (not getting mail) 2011-12-09 15:30:30 PST
This was committed a while back. http://hg.mozilla.org/mozilla-central/rev/c1346180e12a

Note You need to log in before you can comment on or make changes to this bug.