DemoRenderer: GL_BLEND is really always enabled even when not required (also causes RGBX discolouration in mir_proving_server)
Bug #1423462 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Daniel van Vugt | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
DemoRenderer: GL_BLEND is really always enabled, even when not required.
This is because DemoRenderer turns it on for shadows etc during tessellation. And that ends up applying to the whole glDrawArrays(), which is all primitives.
Related branches
lp://qastaging/~vanvugt/mir/fix-1423462
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
- Daniel van Vugt: Abstain
- Andreas Pokorny (community): Approve
- Alexandros Frantzis (community): Approve
-
Diff: 191 lines (+103/-15)5 files modifiedplayground/demo-shell/demo_renderer.cpp (+0/-4)
src/renderers/gl/renderer.cpp (+48/-11)
tests/include/mir/test/doubles/mock_gl.h (+1/-0)
tests/mir_test_doubles/mock_gl.cpp (+7/-0)
tests/unit-tests/renderers/gl/test_gl_renderer.cpp (+47/-0)
tags: | added: wrong-colours-on-screen |
Changed in mir: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in mir: | |
milestone: | 0.17.0 → 0.18.0 |
Changed in mir: | |
status: | Triaged → In Progress |
Changed in mir (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Trevinho reports RGBX surfaces are getting blended incorrectly. I think that would be this bug.