[Impeller] reland: fix porterduff shader and handle optimized out texture...
[Impeller] reland: fix porterduff shader and handle optimized out texture binding in GLES backend. (#161326) Reland and forward fix for current tree breakage. GLES may optimize out the shader binding in a way that behaves differently from Metal/Vulkan. Don't treat this as an error. This happens because certain combinations of porter duff constants result in a 0 * texture lookup.
Showing
- engine/src/flutter/impeller/entity/contents/atlas_contents.cc 4 additions, 11 deletions...ne/src/flutter/impeller/entity/contents/atlas_contents.cc
- engine/src/flutter/impeller/entity/contents/content_context.cc 55 additions, 2 deletions...e/src/flutter/impeller/entity/contents/content_context.cc
- engine/src/flutter/impeller/entity/contents/content_context.h 135 additions, 4 deletions...ne/src/flutter/impeller/entity/contents/content_context.h
- engine/src/flutter/impeller/entity/contents/filters/blend_filter_contents.cc 1 addition, 9 deletions...impeller/entity/contents/filters/blend_filter_contents.cc
- engine/src/flutter/impeller/entity/contents/vertices_contents.cc 4 additions, 11 deletions...src/flutter/impeller/entity/contents/vertices_contents.cc
- engine/src/flutter/impeller/entity/shaders/blending/porter_duff_blend.frag 10 additions, 10 deletions...r/impeller/entity/shaders/blending/porter_duff_blend.frag
- engine/src/flutter/impeller/renderer/backend/gles/buffer_bindings_gles.cc 2 additions, 1 deletion...er/impeller/renderer/backend/gles/buffer_bindings_gles.cc
- engine/src/flutter/impeller/tools/malioc.json 6 additions, 6 deletionsengine/src/flutter/impeller/tools/malioc.json
Please register or sign in to comment