Commit c0b6cac
committed
Don't be as eager to merge small slices and override state.
- Only merge slices less than a pixel wide or with a gap of
less than 2px.
- If a slices is 3 times larger than what it's merged with,
it's state dominates the merge priority, thus a tiny running
slices doesn't turn it's large runnable neighbor into running.1 parent 636e1e9 commit c0b6cac
File tree
1 file changed
+15
-4
lines changed- gapic/src/main/com/google/gapid/perfetto/views
1 file changed
+15
-4
lines changedLines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
115 | 122 | | |
116 | | - | |
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
| |||
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
126 | 138 | | |
127 | 139 | | |
128 | | - | |
129 | 140 | | |
130 | 141 | | |
131 | 142 | | |
| |||
0 commit comments