Merge lp://qastaging/~vanvugt/compiz/fix-1021104 into lp://qastaging/compiz/0.9.8

Proposed by Daniel van Vugt
Status: Superseded
Proposed branch: lp://qastaging/~vanvugt/compiz/fix-1021104
Merge into: lp://qastaging/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://qastaging/~vanvugt/compiz/fix-1021104
Reviewer Review Type Date Requested Status
Sam Spilsbury Approve
Review via email: mp+115281@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2012-07-18.

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.
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

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).

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually that might be redundant. On COMPOSITE_SCREEN_DAMAGE_ALL_MASK, tmpRegion should match the screen already.

3289. By Daniel van Vugt

More elegant (and gles2-friendly) tmpRegion logic.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches