Skip to content

External textures are not working on Android emulators #38700

@amirh

Description

@amirh

This regressed in the last week, I'm bisecting.

D/skia    (12710): Shader compilation error                             
D/skia    (12710): ------------------------                             
D/skia    (12710):    1 #version 300 es                                 
D/skia    (12710):    2                                                 
D/skia    (12710):    3 #extension GL_OES_EGL_image_external_essl3 : require
D/skia    (12710):    4 precision mediump float;                        
D/skia    (12710):    5 precision mediump sampler2D;                    
D/skia    (12710):    6 precision mediump samplerExternalOES;           
D/skia    (12710):    7 out mediump vec4 sk_FragColor;                  
D/skia    (12710):    8 uniform samplerExternalOES uTextureSampler_0_Stage0;
D/skia    (12710):    9 in highp vec2 vlocalCoord_Stage0;               
D/skia    (12710):   10 void main() {                                   
D/skia    (12710):   11     mediump vec4 outputColor_Stage0;            
D/skia    (12710):   12     {                                           
D/skia    (12710):   13         outputColor_Stage0 = vec4(1.0);         
Syncing files to device Android SDK built for x86...                    
D/skia    (12710):   14         highp vec2 texCoord;            
D/skia    (12710):   15         texCoord = vlocalCoord_Stage0;                                                     
D/skia    (12710):   16         outputColor_Stage0 = texture(uTextureSampler_0_Stage0, texCoord);                  
D/skia    (12710):   17     }                                                                                      
D/skia    (12710):   18     {                                                                                      
D/skia    (12710):   19         sk_FragColor = outputColor_Stage0;                                                 
D/skia    (12710):   20     }                                                                                      
D/skia    (12710):   21 }                                                                                          
D/skia    (12710):   22                                                                                            
D/skia    (12710): Errors:                                                                                         
D/skia    (12710): ERROR: 0:6: 'samplerExternalOES' : unsupported type                                             

Metadata

Metadata

Assignees

Labels

c: regressionIt was better in the past than it is nowdependency: skiaSkia team may need to help usengineflutter/engine related. See also e: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions