Merge lp:~jsjgruber/nux/lp1167018 into lp:nux
Status: | Work in progress |
---|---|
Proposed branch: | lp:~jsjgruber/nux/lp1167018 |
Merge into: | lp:nux |
Diff against target: |
122 lines (+104/-0) 3 files modified
debian/changelog (+24/-0) debian/patches/02-radeon-ls-blur.patch (+79/-0) debian/patches/series (+1/-0) |
To merge this branch: | bzr merge lp:~jsjgruber/nux/lp1167018 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity Team | Pending | ||
Review via email: mp+169476@code.launchpad.net |
Description of the change
Proposal to fix lp: #1167018.
In the Linear Sampling Blur routines:
1. Clamp the sampling in the shader to the texture. This removes
the strange and ugly pattern.
2. To produce the blur reduce the number of shader passes to those
possible by using the linear sampling to sample each texel just
once.
Unmerged revisions
- 795. By John S. Gruber
-
* debian/
patches/ 02-radeon- le-blur. patch:
[John S. Gruber
* Since the linear sample mechanism gets data of neighbouring pixels with
each sample, use this fact to reduce the number of samples obtained
from the texture. This allows higher sigmas to be used than
otherwise. In particular it allows sigma = 3.0 to be used for blurs for
some Radeon GPU's. The offsets generated for a sigma of 3.0 are 0.00,
+/- 1.45, +/- 3.40, +/- 5.35, +/ -7.30, covering plus and minus pixels
0, 1-2, 3-4, 5-6, and 6-8.
Fixes the return value to give the total number
of weights and offsets rather than that number minus 1, leaving
enough room in the shader vectors for all values.
[John S. Gruber]
* Perform clamping in the Linear Sampling Gaussian shaders as it doesn't seem
to be done by the Radeon RS690. Closes LP: #1167018.
This has been built for testing in ppa:jsjgruber/ ppatwo.
To test (on the affected Radeon GPU):
1. Install the associated package.
2. Use ccsm to turn on active or static blur.
3. Press the "Super" or Alt button or bring up the Logout dialog box. Any
of these should bring up a blur of the underlying screen on which to
interact.