Incorrect shadows for non-rectangular windows

Bug #1662433 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
New
Undecided
Unassigned
Mir
Triaged
Medium
Unassigned
mir (Ubuntu)
Triaged
Medium
Unassigned
unity8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

There is too much (inappropriate) shadow rendered for non-rectangular surfaces.

Test case:
  $ mir_demo_client_egltriangle -b0 -- --desktop_file_hint=unity8

Expected:
  Either a shaped shadow or none at all.

Observed:
  In Unity8 there is a constant shadow over the background.
  In mir_proving_server there is a line of shadow around the invisible border.
  Both are wrong.

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

Actually I don't think we have a good solution for this yet.

When it was last discussed (Den Haag?) and some times before I suggested we should just do shadow updates when the input area changes (or some other client-initiated call). What we shouldn't do is try to generate a new shaped shadow on every frame, unless there's reason to believe the shape has changed.

summary: - Too much shadow for shaped surfaces
+ Incorrect shadows for non-rectangular windows
Changed in mir:
status: New → Triaged
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.