This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 8ecb1c9
authored
[macOS] Remove OpenGL rendering backend (#37448)
In flutter/buildroot#648 (rolled to the engine in #37380)
the minimum macOS SDK was bumped from 10.13 to 10.14. As of macOS 10.14,
Metal is available for all users. This eliminates the macOS OpenGL
rendering support code.
Note that this only removes the GL-specific code in the embedder. A
followup patch will land refactorings to clean up the remaining code,
for example, cases where a parent interface exists only because we had
both a GL and a Metal implementation. This is being does in two patches
in order to keep review clear and simple and to simplify rebases of any
outstanding patches that also touches this code.
Issue: flutter/flutter#1144451 parent 214b841 commit 8ecb1c9
File tree
33 files changed
+18
-1255
lines changed- ci/licenses_golden
- shell/platform/darwin/macos
- framework/Source
33 files changed
+18
-1255
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2589 | 2589 | | |
2590 | 2590 | | |
2591 | 2591 | | |
2592 | | - | |
2593 | | - | |
2594 | 2592 | | |
2595 | 2593 | | |
2596 | 2594 | | |
| |||
2607 | 2605 | | |
2608 | 2606 | | |
2609 | 2607 | | |
2610 | | - | |
2611 | | - | |
2612 | 2608 | | |
2613 | 2609 | | |
2614 | | - | |
2615 | | - | |
2616 | | - | |
2617 | | - | |
2618 | | - | |
2619 | | - | |
2620 | 2610 | | |
2621 | 2611 | | |
2622 | 2612 | | |
| |||
2638 | 2628 | | |
2639 | 2629 | | |
2640 | 2630 | | |
2641 | | - | |
2642 | | - | |
2643 | | - | |
2644 | 2631 | | |
2645 | 2632 | | |
2646 | 2633 | | |
2647 | 2634 | | |
2648 | 2635 | | |
2649 | 2636 | | |
2650 | 2637 | | |
2651 | | - | |
2652 | | - | |
2653 | 2638 | | |
2654 | 2639 | | |
2655 | 2640 | | |
| |||
2677 | 2662 | | |
2678 | 2663 | | |
2679 | 2664 | | |
2680 | | - | |
2681 | | - | |
2682 | 2665 | | |
2683 | 2666 | | |
2684 | 2667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
| |||
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
74 | | - | |
75 | | - | |
76 | 72 | | |
77 | 73 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 74 | | |
83 | 75 | | |
84 | 76 | | |
| |||
96 | 88 | | |
97 | 89 | | |
98 | 90 | | |
99 | | - | |
100 | | - | |
101 | 91 | | |
102 | 92 | | |
103 | 93 | | |
104 | 94 | | |
105 | 95 | | |
106 | | - | |
107 | | - | |
108 | 96 | | |
109 | 97 | | |
110 | 98 | | |
| |||
125 | 113 | | |
126 | 114 | | |
127 | 115 | | |
128 | | - | |
129 | | - | |
130 | 116 | | |
131 | 117 | | |
132 | 118 | | |
| |||
190 | 176 | | |
191 | 177 | | |
192 | 178 | | |
193 | | - | |
194 | | - | |
195 | 179 | | |
196 | 180 | | |
197 | 181 | | |
198 | 182 | | |
199 | 183 | | |
200 | | - | |
201 | 184 | | |
202 | 185 | | |
203 | 186 | | |
| |||
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 16 | | |
34 | 17 | | |
35 | 18 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 10 | | |
23 | 11 | | |
24 | 12 | | |
| |||
Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 4 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | | - | |
20 | 17 | | |
21 | | - | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
| |||
251 | 247 | | |
252 | 248 | | |
253 | 249 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
| 250 | + | |
259 | 251 | | |
260 | 252 | | |
261 | 253 | | |
| |||
436 | 428 | | |
437 | 429 | | |
438 | 430 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
449 | 434 | | |
450 | 435 | | |
451 | 436 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 0 additions & 85 deletions
This file was deleted.
0 commit comments