Merge lp:~vanvugt/compiz/fix-1021104 into lp:compiz/0.9.8
Proposed by
Daniel van Vugt
on 2012-07-18
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Daniel van Vugt on 2012-07-20 | ||||
| Approved revision: | 3289 | ||||
| Merged at revision: | 3288 | ||||
| Proposed branch: | lp:~vanvugt/compiz/fix-1021104 | ||||
| Merge into: | lp:compiz/0.9.8 | ||||
| Diff against target: |
62 lines (+18/-2) 2 files modified
plugins/opengl/src/privates.h (+1/-0) plugins/opengl/src/screen.cpp (+17/-2) |
||||
| To merge this branch: | bzr merge lp:~vanvugt/compiz/fix-1021104 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sam Spilsbury | 2012-07-18 | Approve on 2012-07-18 | |
| Compiz Maintainers | 2012-07-18 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2012-07-17.
Commit Message
Avoid severe artifacts and flickering when using LLVMpipe (LP: #1021104)
Description of the Change
Avoid severe artifacts and flickering when using LLVMpipe (LP: #1021104)
To post a comment you must log in.
| Daniel van Vugt (vanvugt) wrote : | # |
Actually that might be redundant. On COMPOSITE_
| Sam Spilsbury (smspillaz) wrote : | # |
Would still like to see tests, but they can come later as this is kinda important.
review:
Approve


57 + if (mask & COMPOSITE_ SCREEN_ DAMAGE_ ALL_MASK)
58 + tmpRegion = screen->region ();
59 +
60 BoxPtr pBox = const_cast <Region> (tmpRegion.handle ())->rects;
61 int nBox = const_cast <Region> (tmpRegion.handle ())->numRects;
62 int y;
I feel like this is in a bit of a weird place - I initially thought we could add a callback for into GLScreen to query this, but that could be even more awkward.
I'd like to see some tests for this behaviour if possible.
Otherwise, looks fine (even if I don't personally like driver detection based workarounds).