xwayland/eglstream: Log when GL_OES_EGL_image is missing
That will dramatically affect performance, might as well log when we cannot use GL_OES_EGL_image with the NVIDIA closed-source driver. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
This commit is contained in:
		
							parent
							
								
									fae58e9b03
								
							
						
					
					
						commit
						34a58d7714
					
				| 
						 | 
					@ -1200,6 +1200,8 @@ xwl_glamor_eglstream_init_egl(struct xwl_screen *xwl_screen)
 | 
				
			||||||
            xwl_screen->glvnd_vendor = "nvidia";
 | 
					            xwl_screen->glvnd_vendor = "nvidia";
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
            ErrorF("DRI3 initialization failed. Performance will be affected.\n");
 | 
					            ErrorF("DRI3 initialization failed. Performance will be affected.\n");
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					        ErrorF("Driver lacks GL_OES_EGL_image, performance will be affected.\n");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return TRUE;
 | 
					    return TRUE;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue