• hush's avatar
    Make sure FBO is correct for both kModeProcess and kModeDraw · 6e71d4fa
    hush authored
    This is achieved by setting the correct FBO before each kModeDraw and
    hardware renderer won't reset it at the end of the draw so that
    kModeProcess between kModeDraws also has the correct FBO.
    
    This CL is to solve a bug where kModeProcess could run some GL commands
    that binds the wrong FBO, and the following kModeDraw is messed up.
    
    BUG=527113
    
    Review URL: https://codereview.chromium.org/1335033004
    
    Cr-Commit-Position: refs/heads/master@{#348766}
    6e71d4fa
shared_renderer_state.cc 11.7 KB