• tiago.vignatti's avatar
    gpu_perftests: Use zero size gl surface for offscreen rendering · 274eb320
    tiago.vignatti authored
    In GLX, most of the drivers can cope with both PBuffer and Surfaceless modes
    for offscreen rendering. In EGL though, Intel driver only works with
    Surfaceless.
    
    This CL changes all hardware platforms to use Surfaceless by forcing a zero
    size GL surface initialization. Ozone-GBM wasn't previously working because of
    that but now works fine.
    
    BUG=423481
    TEST=gpu_perftests on GBM
    
    Review URL: https://codereview.chromium.org/1086703007
    
    Cr-Commit-Position: refs/heads/master@{#325514}
    274eb320
texture_upload_perftest.cc 20 KB