• danakj@chromium.org's avatar
    Allow tests to stub out GL draw calls. · 70c908ca
    danakj@chromium.org authored
    This allows us to use real GL bindings but without drawing when we
    don't care about pixel output, allowing for faster execution. In
    particular this will allow us to use OSMesa instead of a completely
    fake GL implementation in the compositor for browser tests.
    
    We add a new kDisableGLDrawingForTests command line flag that can
    be set to prevent the GL draw calls from doing any work. We will be
    able to set this flag in the browser test environment for any tests
    that don't require real pixel output.
    
    R=piman, sievers
    BUG=270918
    
    Review URL: https://codereview.chromium.org/132473009
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244405 0039d316-1c4b-4281-b951-d872f2087c98
    70c908ca
gl_bindings.h 11 KB