This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit fc06f98
Clamp GL_TEXTURE_MAX_LEVEL to 1 on Android.
This seems to avoid a bug when sampling from GL_TEXTURE_EXTERNAL_OES
textures.
Remove code to avoid sampler objects on when using GLSL ES2 on GL ES3.
This was a speculative workaround that did not help.
Bug: flutter/flutter#23900
Bug: flutter/flutter#24402
Bug: flutter/flutter#24391
Change-Id: Id14080131e49e632949a3bdc2b15f6e3ce97bf93
Reviewed-on: https://skia-review.googlesource.com/c/172978
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>1 parent df246b9 commit fc06f98
3 files changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
2740 | 2741 | | |
2741 | 2742 | | |
2742 | 2743 | | |
2743 | | - | |
2744 | | - | |
2745 | | - | |
2746 | | - | |
2747 | | - | |
2748 | | - | |
2749 | | - | |
2750 | | - | |
2751 | | - | |
2752 | | - | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
2753 | 2752 | | |
2754 | 2753 | | |
2755 | 2754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
393 | 397 | | |
394 | 398 | | |
395 | 399 | | |
| |||
526 | 530 | | |
527 | 531 | | |
528 | 532 | | |
| 533 | + | |
529 | 534 | | |
530 | 535 | | |
531 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2902 | 2902 | | |
2903 | 2903 | | |
2904 | 2904 | | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
2905 | 2908 | | |
2906 | 2909 | | |
2907 | 2910 | | |
| |||
0 commit comments