Commit 9a2ca41
committed
gl-renderer: Workaround for opaque region issue
In weston, clients can set an opaque region which defines an
area where a black background will be drawn behind a surface.
This is a special case for RGBA textures with bad alpha data.
Wobbly uses an algorithm to define vertices that makes it
difficult to follow this hack. For now, just use the solid
shader if the opaque region is the same as the blend region
and the normal shader otherwise.1 parent 5d965dc commit 9a2ca41
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
439 | 451 | | |
440 | 452 | | |
441 | 453 | | |
| |||
0 commit comments