Commit 8c843aa
authored
[Impeller] libImpeller: Add support for Metal and Vulkan rendering. (flutter#161547)
* Adds context creation and WSI routines for Metal and Vulkan.
* Enables all tests for the Metal, Vulkan, and OpenGLES backends.
* Separate standalone examples for Metal, Vulkan, and OpenGLES have been
created. These will be packaged with the SDK.
* Disallows the use of OpenGL ES on macOS.
* All new public methods are documented.
* The SDK version number has been bumped.
* Some incorrect nullability annotations were patched.
* Tests harness is overhauled to reuse the same underlying context as
the playgrounds.
* The C++ public header has been updated.
Fixes flutter#159512
Ports flutter/engine#569061 parent c5a1444 commit 8c843aa
File tree
47 files changed
+1764
-178
lines changed- engine/src/flutter
- ci/licenses_golden
- impeller
- playground
- backend/vulkan
- renderer/backend/vulkan
- swapchain/khr
- toolkit/interop
- backend
- gles
- metal
- vulkan
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+1764
-178
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42277 | 42277 | | |
42278 | 42278 | | |
42279 | 42279 | | |
| 42280 | + | |
| 42281 | + | |
| 42282 | + | |
| 42283 | + | |
| 42284 | + | |
| 42285 | + | |
| 42286 | + | |
| 42287 | + | |
| 42288 | + | |
| 42289 | + | |
| 42290 | + | |
| 42291 | + | |
| 42292 | + | |
| 42293 | + | |
| 42294 | + | |
| 42295 | + | |
42280 | 42296 | | |
42281 | 42297 | | |
42282 | 42298 | | |
| |||
42287 | 42303 | | |
42288 | 42304 | | |
42289 | 42305 | | |
42290 | | - | |
| 42306 | + | |
| 42307 | + | |
| 42308 | + | |
42291 | 42309 | | |
42292 | 42310 | | |
42293 | 42311 | | |
| |||
45229 | 45247 | | |
45230 | 45248 | | |
45231 | 45249 | | |
| 45250 | + | |
| 45251 | + | |
| 45252 | + | |
| 45253 | + | |
| 45254 | + | |
| 45255 | + | |
| 45256 | + | |
| 45257 | + | |
| 45258 | + | |
| 45259 | + | |
| 45260 | + | |
| 45261 | + | |
| 45262 | + | |
| 45263 | + | |
| 45264 | + | |
| 45265 | + | |
45232 | 45266 | | |
45233 | 45267 | | |
45234 | 45268 | | |
| |||
45239 | 45273 | | |
45240 | 45274 | | |
45241 | 45275 | | |
45242 | | - | |
| 45276 | + | |
| 45277 | + | |
| 45278 | + | |
45243 | 45279 | | |
45244 | 45280 | | |
45245 | 45281 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
| |||
237 | 236 | | |
238 | 237 | | |
239 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
240 | 248 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
524 | 529 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | | - | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
282 | 314 | | |
283 | 315 | | |
284 | 316 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
0 commit comments