static int display_presize(void *handle, void *device, int width, int height,
        int raster, unsigned int format)
{
    /* Assume everything is OK.
     * It would be better to return e_rangecheck if we can't
     * support the format.
     */
    return 0;
}
static int display_presize(void *handle, void *device, int width, int height,
        int raster, unsigned int format)
{
     
    return 0;
}