Skip to content
  • Lina Versace's avatar
    i965: Create mock implementation of GL_OES_EGL_image_external · 7420c9da
    Lina Versace authored
    
    
    In Android IceCreamSandwich, SurfaceFlinger requires GL_OES_image_external
    for basic compositing tasks. Without the extension, SurfaceFlinger fails
    to start.
    
    Despite the incompleteness of the extension's implementation introduced by
    this patch, it is good enough to enable SurfaceFlinger and to unblock the
    people who need to begin testing Mesa on IceCreamSandwich.
    
    To enable the extension, set the environment variable
    MESA_EXTENSION_OVERRIDE="+GL_OES_EGL_image_external". Ideally, Android
    should set this in init.rc.
    
    WARNING: This implementation of GL_OES_EGL_image_external is not complete.
    Some of it is even incorrect. When we begin to really implement
    GL_OES_EGL_image_external, much of the patch will need reverting.
    
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
    Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
    7420c9da