• Zhigang Gong's avatar
    glamor: Change glamor_egl_init API. · ae38bd7c
    Zhigang Gong authored
    Slightly change the API glamor_egl_init,
    as this initialization is to initialize the display not
    the screen, we should call it in xxx_preinit rather
    than xxxScreenInit(). we change the input parameter as
    below, as in preInit, the screen may not be allocated
    at all. And in glamor_egl_init, it will not call
    glamor_init. Driver should call glamor_init at
    screen_init stage.
    Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
glamor.h 2.1 KB